fourzerotwo
← Catalog
network by fourzerotwo

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).

cost
Free tier 3 of 4 free, 1 with 3 free calls a day
after that
from $0.0005 / call · card or USDC
endpoints
4

No signup needed over MCP: 100 free calls a day, or 500 with a free key.

IP lookup Free

Country, continent, EU membership, network block, ASN, organisation and hosting flag for one IP.

cost
Free then $0.001 / call
MCP tool
ip-geolocation__lookup
method
GET

Free up to 100 calls a day over MCP (500 with a free key), then $0.001 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/ip-geolocation/lookup

ParamTypeDescription
ip string IPv4 or IPv6 address
# free: 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"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/ip-geolocation/lookup?ip=81.2.69.142"

by fourzerotwo

Report this endpoint

IP to country Free

Country and continent for one IP.

cost
Free then $0.0005 / call
MCP tool
ip-geolocation__country
method
GET

Free up to 100 calls a day over MCP (500 with a free key), then $0.0005 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/ip-geolocation/country

ParamTypeDescription
ip string IPv4 or IPv6 address
# free: 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"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/ip-geolocation/country?ip=81.2.69.142"

by fourzerotwo

Report this endpoint

IP to network owner Free

ASN, organisation and hosting flag for one IP.

cost
Free then $0.0005 / call
MCP tool
ip-geolocation__asn
method
GET

Free up to 100 calls a day over MCP (500 with a free key), then $0.0005 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/ip-geolocation/asn

ParamTypeDescription
ip string IPv4 or IPv6 address
# free: 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"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/ip-geolocation/asn?ip=81.2.69.142"

by fourzerotwo

Report this endpoint

Batch lookup 3 free / day

Full lookup for up to 100 IPs in one call.

cost
3 free / day then $0.02 / call
MCP tool
ip-geolocation__batch
method
GET

3 free calls a day, then $0.02 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/ip-geolocation/batch

ParamTypeDescription
ips string Comma-separated IPs (max 100)
# free: 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"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/ip-geolocation/batch?ips=8.8.8.8%2C1.1.1.1%2C2a00%3A1450%3A4009%3A81a%3A%3A200e"

by fourzerotwo

Report this endpoint

IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0.