# Agent Tools IP Lookup

> Agent Tools IP Lookup is a paid API for AI agents from agent-tools.jbarkules.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Looks up the owner network, allocation range, country, and reverse DNS for a given IPv4 or IPv6 address using RDAP.

## Facts

- Endpoint: GET https://agent-tools.jbarkules.workers.dev/v1/ip/lookup?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-ip-lookup-b43937a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mTaEuffds-_K2VyoCBtBP

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 agent-tools-ip-lookup-b43937a4
```

Example prompt: Can you look up who owns the IP address 203.0.113.42 — I need the network name, country, allocation range, and any reverse DNS records for it?

## When to prefer this

Use this endpoint when you need a lightweight, single-call lookup combining RDAP network ownership data and reverse DNS for an IP address, without needing full geolocation coordinates or ASN routing data. It is ideal for log enrichment, security investigation, or identity verification workflows where country, network owner, and hostname are the key signals needed.

## Known failure modes

- Invalid or malformed IP address returns an error
- Private/reserved IP ranges may return no RDAP data
- Newly allocated IPs may not yet appear in RDAP records
- IPv6 addresses may have limited reverse DNS entries
- Service may be unavailable or rate-limited, returning a non-200 status

## How this service works

IP address owner network, allocation range, country (RDAP) and reverse DNS.

## Output

Returns a JSON object with the IP address, the two-letter country code, the network name/organization (e.g. 'GOGL' for Google), and an array of reverse DNS hostnames associated with the IP.

## 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"
     ],
     "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",
 "example": {
  "ip": "1.1.1.1",
  "type": "ASSIGNED PORTABLE",
  "range": "1.1.1.0 - 1.1.1.255",
  "country": "AU",
  "network": "APNIC-LABS",
  "reverse_dns": [
   "one.one.one.one."
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-ip-lookup-b43937a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools.jbarkules.workers.dev](https://www.zero.xyz/host/agent-tools.jbarkules.workers.dev/llms.txt)
