IP Geolocation & Network Intel API
Published by @mdforge
· Verified Publisher
99.99% uptime
~4ms avg
AI Score 94/100
Sub-5ms IPv4 & IPv6 geolocation: country, region, city, timezone, EU flag, coordinates, private-IP check, and batch lookup.
Live Interactive Playground
https://api.indieapis.com/v1/ip-intelligence/lookup
Resolve country, region, city, timezone, EU status, coordinates, and optional reverse DNS (PTR).
Live JSON Response
Click "Run Live Test" to query live data
{
"ok": true,
"data": {
"ip": "8.8.8.8",
"valid": true,
"ip_version": 4,
"is_private": false,
"country_code": "US",
"country_name": "United States",
"timezone": "America/Chicago",
"eu": false,
"latitude": 37.751,
"longitude": -97.822
}
}
Overview & Documentation
Fast, self-hosted IP geolocation powered by local memory-mapped GeoIP databases for sub-5ms response times and zero upstream flakiness.
Built for production web apps & security logs:
- Returns country ISO + English name, region, city, IANA timezone, EU membership flag, lat/lon coordinates, and private/bogon IP detection.
- Optional reverse DNS (
?ptr=true) for server/bot forensics. POST /batchresolves up to 50 IPs in a single API call.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
Complete Endpoint Reference (2 Endpoints)
Base URL: https://api.indieapis.com/v1/ip-intelligence · Scoped MCP: https://indieapis.com/mcp/ip-intelligence
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /lookup |
ip*, ptr
|
Resolve country, region, city, timezone, EU status, coordinates, and optional reverse DNS (PTR). |
| POST | /batch |
ips*
|
Geolocate up to 50 IPv4/IPv6 addresses in a single request. |