# IP Address Lookup

> IP Address Lookup is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Returns ownership, network, geolocation, and reverse DNS data for any IPv4/IPv6 address or hostname.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/web/ip?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-address-lookup-bab39af8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RgSfLxCbZLkyD44BR-FOQ

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-address-lookup-bab39af8
```

Example prompt: Can you look up who owns the IP address 104.21.45.22 — I need the ASN, network holder, country, city, and reverse DNS?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call IP enrichment with comprehensive network metadata (ASN, prefix, RIR, geo, rDNS) in a single call, without committing to a subscription. Ideal for fraud checks, log enrichment pipelines, or one-off host identification tasks where you need more than just geolocation — especially when ASN and network ownership data are required.

## Known failure modes

- Invalid or malformed IP address returns an error
- Private/reserved IP ranges (e.g. 192.168.x.x) may return no geolocation data
- Hostname that cannot be resolved returns DNS failure
- Payment failure or insufficient USDC balance blocks the request
- Rate limiting may occur under high request volume

## How this service works

Who owns an IP address (or a hostname's IP): ASN, network holder, announced prefix, regional registry, country, approximate city and coordinates, reverse DNS. Use for fraud checks, log analysis or finding a site's host.

## Output

Returns structured data including: ASN number and name, network holder/organization, announced IP prefix, regional internet registry (RIR), country, approximate city and lat/lon coordinates, and reverse DNS (PTR record) for the queried IP or the resolved IP of a hostname.

## 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/IPv6 address or hostname"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-address-lookup-bab39af8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
