MyIPRadar
EN ES

API

/api/ip

Returns your IP, version, geolocation and request headers as JSON. No auth. Rate limited.

Example

curl https://myipradar.com/api/ip

Response

{
  "ip": "203.0.113.9",
  "version": 4,
  "geo": {
    "city": "Bogotá",
    "region": "Bogota D.C.",
    "country": "Colombia",
    "countryCode": "CO",
    "timezone": "America/Bogota",
    "latitude": 4.6,
    "longitude": -74.08,
    "asn": 3816,
    "org": "COLOMBIA TELECOMUNICACIONES S.A. ESP BIC"
  },
  "headers": {
    "user-agent": "curl/8.7.1",
    "accept": "*/*"
  }
}

Fields

  • ip — Your public IP address, or null if it could not be determined.
  • version — IP version: 4 or 6.
  • geo — Approximate geolocation, ISP and network (ASN) from a local GeoLite2 lookup; fields are null when unknown.
  • headers — A safe subset of the request headers you sent, echoed back.

Limits & terms

No authentication and no cost. Rate limited per IP: bursts up to 60 requests, refilling one per second — enough for any reasonable integration. Responses are never cached (no-store). Only information about the caller is returned; there is no lookup of arbitrary IPs.

Browser CORS is restricted to this site's own origins — call the API from your backend, scripts or tools instead.