IP Geolocation & ASN
Self-hosted DB-IP Lite country and ASN databases, refreshed monthly: lookups are answered from our own servers, so the IPs you send are never forwarded to a third party. hosting=true means the address belongs to a major cloud or hosting network (a sign of servers, VPNs or proxies).
- endpoints
- 4
- from
- $0.0005 / call
- free tier
- yes
IP lookup
Country, continent, EU membership, network block, ASN, organisation and hosting flag for one IP.
- price
- $0.001 / call
- free tier
- free allowance
- MCP tool
- ip-geolocation__lookup
- method
- GET
GET https://fourzerotwo.si/v1/ip-geolocation/lookup
| Param | Type | Description |
|---|---|---|
| ip | string | IPv4 or IPv6 address |
# unpaid: returns 402 with the price curl -i "https://fourzerotwo.si/v1/ip-geolocation/lookup?ip=81.2.69.142" # free tier: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/ip-geolocation/lookup?ip=81.2.69.142"
IP to country
Country and continent for one IP.
- price
- $0.0005 / call
- free tier
- free allowance
- MCP tool
- ip-geolocation__country
- method
- GET
GET https://fourzerotwo.si/v1/ip-geolocation/country
| Param | Type | Description |
|---|---|---|
| ip | string | IPv4 or IPv6 address |
# unpaid: returns 402 with the price curl -i "https://fourzerotwo.si/v1/ip-geolocation/country?ip=81.2.69.142" # free tier: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/ip-geolocation/country?ip=81.2.69.142"
IP to network owner
ASN, organisation and hosting flag for one IP.
- price
- $0.0005 / call
- free tier
- free allowance
- MCP tool
- ip-geolocation__asn
- method
- GET
GET https://fourzerotwo.si/v1/ip-geolocation/asn
| Param | Type | Description |
|---|---|---|
| ip | string | IPv4 or IPv6 address |
# unpaid: returns 402 with the price curl -i "https://fourzerotwo.si/v1/ip-geolocation/asn?ip=81.2.69.142" # free tier: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/ip-geolocation/asn?ip=81.2.69.142"
Batch lookup
Full lookup for up to 100 IPs in one call.
- price
- $0.02 / call
- free tier
- 3 free / day
- MCP tool
- ip-geolocation__batch
- method
- GET
GET https://fourzerotwo.si/v1/ip-geolocation/batch
| Param | Type | Description |
|---|---|---|
| ips | string | Comma-separated IPs (max 100) |
# unpaid: returns 402 with the price curl -i "https://fourzerotwo.si/v1/ip-geolocation/batch?ips=8.8.8.8%2C1.1.1.1%2C2a00%3A1450%3A4009%3A81a%3A%3A200e" # free tier: send a free key from https://fourzerotwo.si/free curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/ip-geolocation/batch?ips=8.8.8.8%2C1.1.1.1%2C2a00%3A1450%3A4009%3A81a%3A%3A200e"
IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0.