ipchu

Developer API

IP Geolocation API

A free JSON endpoint that returns the caller's IP address, geolocation, ASN, and ISP. No signup, no API key, CORS enabled.

Endpoint

GET https://ipchu.com/api/ip 

Example request

curl https://ipchu.com/api/ip 
fetch('https://ipchu.com/api/ip')
  .then((res) => res.json())
  .then((data) => console.log(data.ip)); 

Example response

This is the live response for your current request:

{
  "ip": "216.73.216.64",
  "ipVersion": "IPv4",
  "city": "Columbus",
  "region": "Ohio",
  "country": "US",
  "postalCode": "43215",
  "latitude": "39.96118",
  "longitude": "-82.99879",
  "timezone": "America/New_York",
  "asn": "AS16509",
  "isp": "Anthropic, PBC",
  "userAgent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
}

Response fields

FieldTypeDescription
ipstringThe caller's public IP address.
ipVersionstring"IPv4", "IPv6", or "Unknown".
citystring?Approximate city, if known.
regionstring?State/province/region.
countrystring?ISO 3166-1 alpha-2 country code, e.g. "US".
postalCodestring?Approximate postal/ZIP code.
latitudestring?Approximate latitude.
longitudestring?Approximate longitude.
timezonestring?IANA timezone, e.g. "America/Los_Angeles".
asnstring?Autonomous system number, e.g. "AS15169".
ispstring?Network operator / organization name.
userAgentstring?The User-Agent header sent by the caller.

Usage notes

Free and best-effort. This API has no uptime SLA and no rate-limit guarantees. It's provided as a convenience — please don't build production infrastructure that depends on it without your own fallback.

See also your full IP overview, look up any IP, or check your ISP.