Simple HTTP endpoints with JSON responses. IPv4, IPv6 and hostnames are supported.
GET /json/{query}
GET /json/
curl https://ipee.pw/json/1.1.1.1
curl https://ipee.pw/json/
curl -H 'Accept: application/json' https://ipee.pwOmit the query to resolve the requesting IP.
GET /api/v1/lookup/{query}
X-API-Key: ipk_your_key
curl -H 'X-API-Key: ipk_...' \
https://ipee.pw/api/v1/lookup/8.8.8.8POST /api/v1/batch Content-Type: application/json X-API-Key: ipk_your_key ["1.1.1.1", "8.8.8.8", "2606:4700:4700::1111"]
GET /json/1.1.1.1?fields=status,country,countryCode,city,isp,as,asname,proxy,hosting,query
| Field | Description |
|---|---|
| continent / continentCode | Continent name and code |
| country / countryCode | Country name and ISO code |
| region / regionName | Region code and name |
| city / district / zip | Locality and postal information |
| lat / lon | Approximate coordinates |
| timezone / offset / currency | Timezone, UTC seconds offset and currency |
| isp / org | Network provider and organization |
| as / asname | ASN description and AS name |
| mobile / proxy / hosting | Classification flags |
| query | Resolved IP address |