IPDatum REST API
Sub-millisecond JSON lookups over HTTPS. Free to use: 1,000 requests/day with no API key, or generate a free API key below for 50,000 requests/day (no credit card, no attribution required).
Endpoints
| Method & Path | Description |
|---|---|
GET https://api.ipdatum.com/v1/ip | Inspect the caller's own IPv4 or IPv6 address |
GET https://api.ipdatum.com/v1/ip/{address} | Inspect any IPv4 or IPv6 address |
POST https://api.ipdatum.com/v1/submit | Programmatically submit a location correction or RFC 8805 geofeed URL |
GET https://api.ipdatum.com/v1/health | Edge health check |
Quickstart Examples
# Anonymous (1,000 req/day) curl -s https://api.ipdatum.com/v1/ip/8.8.8.8 # With free API key (50,000 req/day) curl -s -H "Authorization: Bearer YOUR_API_KEY" https://api.ipdatum.com/v1/ip/88.198.47.21
Response Schema
| Field | Type | Description |
|---|---|---|
ip, ip_version, bogon | string, 4|6, bool | Normalized IP, version, and private/reserved bogon indicator |
location.city, region, country, area | string | null | City, ISO region, ISO-2 country, and macro-region (NA/EU/APAC/LATAM/AFRICA/ME) |
location.latitude, longitude | number | null | WGS84 decimal coordinates |
location.confidence_level | string | Calibrated granularity: city, region, country, bogon, or unknown |
location.accuracy_radius_km | number | null | Estimated accuracy radius in kilometers |
network.asn, org, org_type, network_type | number/string | Autonomous System Number, organization name, org class, and network type |
security.* | 12 booleans | is_cloud, is_datacenter, is_vpn, is_proxy, is_tor, is_relay, is_abuser, is_mobile, is_satellite, is_anycast, is_ixp, is_bogon |