fourzerotwo
← IP Geolocation & ASN
network by fourzerotwo

IP lookup

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

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

Use it from an AI agent (MCP)

Add the server once, then ask for this data in plain English. The agent finds the endpoint with search_apis and runs it with call_api.

{
  "mcpServers": {
    "fourzerotwo": { "type": "http", "url": "https://fourzerotwo.si/mcp" }
  }
}
# the call the agent makes
call_api {"tool": "ip-geolocation__lookup", "arguments": {"ip":"81.2.69.142"}}

More from IP Geolocation & ASN

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