# IP Lookup (RDAP + Reverse DNS)

> IP Lookup (RDAP + Reverse DNS) is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Looks up IPv4 or IPv6 address registration data via RDAP and reverse DNS, returning network, CIDR, country, owner, abuse contact, and PTR record.

## Facts

- Endpoint: GET https://api.gadgethumans.com/ip-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-lookup-rdap-reverse-dns-06630762
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WJpMdSYDB5ZGJF6EVay-x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ip-lookup-rdap-reverse-dns-06630762
```

Example prompt: Can you look up who owns the IP address 185.220.101.45 — I want to know the organization, country, abuse contact, and whether it's a datacenter or residential block?

## When to prefer this

Use this endpoint when you need authoritative registry-level ownership and registration data for an IP address, including abuse contacts and PTR records sourced from RDAP — not just geolocation approximations. Prefer it over MaxMind-style geo-only lookups when you need organization identity, CIDR block, or abuse reporting details for security investigations, spam mitigation, or access control decisions.

## Known failure modes

- Invalid IP format returns an error — must be a well-formed IPv4 or IPv6 address
- Private or reserved IP ranges (e.g. 192.168.x.x, 127.0.0.1) may return no RDAP data
- Some IP blocks may have incomplete or missing RDAP records if the registry has sparse data
- PTR record may be absent if no reverse DNS entry is configured for the IP
- Rate limiting or payment failure may block the request at $0.01 USDC per call

## How this service works

IP address lookup for IPv4 and IPv6, read from the registry over RDAP plus reverse DNS: the allocated network and CIDR block, network name, country, registration type, owning organisation, abuse contact, allocation date and PTR record. Use when you need to know who an IP belongs to, which country it is registered in, or whether an address is a datacenter rather than a residential line.

## Output

Returns a structured object with the allocated network CIDR block, network name, registered country, registration type (e.g. ISP, datacenter, residential), owning organisation name, abuse contact email or handle, allocation date, and PTR (reverse DNS) record for the queried IPv4 or IPv6 address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "description": "IPv4 or IPv6 address, e.g. 8.8.8.8"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-lookup-rdap-reverse-dns-06630762/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
