ipapi
communityFree IP address geolocation API providing country, city, timezone, currency, and ISP data.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://ipapi.co/{ip}/json/Get IP geolocation
Parameters
ipIP addressoptional— empty for self (stringReturns
ip, city, region, country_name, postal, latitude, longitude, timezone, org, asn, currency, languages, country_calling_codeGET
https://ipapi.co/{ip}/{field}/Get specific field for an IP
Parameters
ipIP address (stringrequiredfieldcity|country|timezone|org|currency (stringrequiredReturns
plain text value of the requested fieldGET
https://ipapi.co/json/Get own IP info
Returns
ip, city, region, country_name, latitude, longitude, timezone, org, asn, currency