IPDatum REST API
Sub-millisecond JSON lookups over HTTPS. Start immediately with 1,000 requests/day with zero signup — or sign in for an automatic 50,000 requests/day API key, 14-day daily analytics, and up to 150,000 requests/day with a Community Probe.
Signed in as —.
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/ip/batch | Batch lookup up to 100 individual IPv4/IPv6 addresses (JSON array or {"ips":[...]}, counted per IP) |
GET https://api.ipdatum.com/v1/asn/{asn_or_ip} | ASN ownership, network type, country, and RIR RDAP summary |
GET https://api.ipdatum.com/v1/dns?q={ip_or_domain} | Passive PTR reverse DNS or A/AAAA forward DNS enriched with IP intelligence |
GET https://api.ipdatum.com/v1/whois/{ip_or_asn} | Live official RIR RDAP / WHOIS record overlaid with geolocation & security flags |
POST https://api.ipdatum.com/mcp | Remote Streamable HTTP MCP Server for AI agents (Claude, Cursor, Windsurf) |
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 |
Authentication: Optional — keyless calls work immediately (1,000 req/day), or pass Authorization: Bearer YOUR_API_KEY for 50,000 req/day free.
CORS: Enabled (Access-Control-Allow-Origin: *; supports GET, POST, and OPTIONS) for direct browser requests.
Quickstart Examples
# Anonymous (1,000 req/day, no signup required) curl -s https://api.ipdatum.com/v1/ip/8.8.8.8 # With free API key (50,000 req/day + daily analytics) 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 |