# IP Ownership & Geolocation Lookup

> IP Ownership & Geolocation Lookup is a paid API for AI agents from agentpay-lookup.agentpay-apis.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns ownership, ASN, and network registration details for a given IPv4 or IPv6 address.

## Facts

- Endpoint: GET https://agentpay-lookup.agentpay-apis.workers.dev/lookup/v1/ip?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-ownership-geolocation-lookup-cbfa4f3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XxD3TapwmaEnlb1fN_GtF

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-ownership-geolocation-lookup-cbfa4f3c
```

Example prompt: Who owns the IP address 8.8.8.8 — what organization and ASN is it registered to?

## When to prefer this

Use this endpoint when you need to identify the owner, ISP, ASN, or network registration of a specific IP address. Prefer this over DNS or domain lookups when the input is an IP address rather than a hostname. Ideal for security enrichment, traffic analysis, and network investigation workflows.

## Known failure modes

- Invalid or malformed IP address returns a 4xx validation error
- Private/reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no ownership data
- RDAP registry unavailable for certain legacy IP blocks may result in partial data
- Rate limiting or payment failure returns 402 Payment Required

## How this service works

DNS, WHOIS/RDAP, IP ownership and one-call domain reports.

## Output

A JSON object containing IP ownership details such as the registered organization, ISP, ASN number and name, network CIDR block, country, and RDAP/WHOIS registration data for the queried IPv4 or IPv6 address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "description": "IPv4 or IPv6 address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-ownership-geolocation-lookup-cbfa4f3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay-lookup.agentpay-apis.workers.dev](https://www.zero.xyz/host/agentpay-lookup.agentpay-apis.workers.dev/llms.txt)
