IP lookup: owner, network range and country (RDAP)

$0.01 per call · failed calls are never charged · no account or API key needed

Look up who holds an IPv4 or IPv6 address in the regional internet registries' public RDAP records (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC): the holding organisation, network name and range, allocation type, registration country, abuse contact and registry. Use to see which company or ISP a log or firewall address belongs to. Registration country, not city geolocation. Private and reserved addresses are refused with 400, uncharged.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

Public IPv4 or IPv6 address

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
ip (required)stringPublic IPv4 or IPv6 address

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/ip/lookup?ip=8.8.8.8"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/ip/lookup?ip=8.8.8.8&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "ip": "8.8.8.8",
  "version": 4,
  "registry": "ARIN",
  "network": {
    "name": "GOGL",
    "handle": "NET-8-8-8-0-2",
    "start": "8.8.8.0",
    "end": "8.8.8.255",
    "type": "DIRECT ALLOCATION"
  },
  "holder": {
    "name": "Google LLC",
    "handle": "GOGL",
    "kind": "org",
    "country": "US"
  },
  "country": "US",
  "abuseEmail": "network-abuse@google.com",
  "registered": "2023-12-28T17:24:33-05:00",
  "lastChanged": "2023-12-28T17:24:56-05:00",
  "source": "RDAP via rdap.org"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is ip_lookup, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools