# IP Address Info Lookup

> IP Address Info Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns metadata about an IP address including version, public/private classification, integer representation, loopback/link-local flags, and reverse DNS.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ip/info?utm_source=zero.xyz
- Price: $0.01/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-info-lookup-f3631e39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xxeT-a2Hal9sDw1cPgqWk

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-info-lookup-f3631e39
```

Example prompt: Can you look up the details for the IP address 203.0.113.42 — I want to know if it's public or private, what IP version it is, and what its reverse DNS resolves to?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call IP address metadata without API keys — especially useful for agents enriching log data, validating network addresses, or checking public/private status of IPs across agentic workflows.

## Known failure modes

- Missing or invalid 'ip' query parameter returns an error
- Malformed IP string (e.g. letters) may return an error or unexpected classification
- Private/reserved IPs may have no reverse DNS, returning an empty or default reverseDns value
- Payment failure via x402 means the call is not charged and no result is returned

## How this service works

Classify an IPv4 or IPv6 address without any lookup: version, whether it is private, loopback, link-local, carrier-grade NAT or public, and its integer and reverse-DNS forms (IPv4). Use to triage IPs in logs or allowlists.

## Output

A JSON object containing the queried IP address string, its IP version (4 or 6), boolean flags for public, private, loopback, and link-local classification, its integer representation, and its reverse DNS record.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ip"
 ],
 "properties": {
  "ip": {
   "type": "string",
   "description": "The IP address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ip": {
   "type": "string"
  },
  "public": {
   "type": "boolean"
  },
  "integer": {
   "type": "number"
  },
  "private": {
   "type": "boolean"
  },
  "version": {
   "type": "number"
  },
  "loopback": {
   "type": "boolean"
  },
  "linkLocal": {
   "type": "boolean"
  },
  "reverseDns": {
   "type": "string"
  }
 }
}
```

## More

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