# IPIntel.ai Reverse DNS Lookup

> IPIntel.ai Reverse DNS Lookup is a paid API for AI agents from tools.ipintel.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Performs a reverse DNS lookup (PTR record resolution) for a given IP address, returning the associated hostname if one exists.

## Facts

- Endpoint: POST https://tools.ipintel.ai/reverse-dns
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipintel-ai-reverse-dns-lookup-9db4640a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0vPaZUuuzs7Zd9yN6dDVl

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 ipintel-ai-reverse-dns-lookup-9db4640a -d '<json body>'
```

Example prompt: What hostname does 8.8.8.8 resolve to in reverse DNS — does it have a PTR record set?

## When to prefer this

Use this endpoint when you need to resolve an IP address back to a hostname (PTR record) for network diagnostics, security auditing, spam filtering, or verifying that a server's reverse DNS matches its forward DNS. Prefer it over general DNS lookup endpoints when the input is an IP and the desired output is its associated hostname.

## Known failure modes

- IP has no PTR record — returns has_ptr: false with an empty or null ptr field
- Invalid IP address format — likely returns an error or ok: false
- Network timeout reaching DNS resolver — service unavailable error
- Payment failure via x402 — 402 Payment Required response before any DNS lookup occurs

## How this service works

Reverse DNS Lookup API. Look up PTR records for an IP address and receive reverse DNS hostname data in structured JSON. Useful for agents, developers, IP enrichment, network diagnostics, infrastructure investigation, abuse analysis, and security workflows. Paid per call via x402.

## Output

Returns the IP address queried, a boolean ok status, the PTR record (hostname) if one exists, a has_ptr boolean indicating whether a PTR record was found, the service name 'reverse_dns', and an ISO 8601 timestamp of the lookup.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "description": "IPv4 or IPv6 address to reverse-resolve"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ip": {
       "type": "string"
      },
      "ok": {
       "type": "boolean"
      },
      "ptr": {
       "type": "string"
      },
      "has_ptr": {
       "type": "boolean"
      },
      "service": {
       "type": "string"
      },
      "timestamp": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "8.8.8.8",
  "ok": true,
  "ptr": "dns.google",
  "has_ptr": true,
  "service": "reverse_dns",
  "timestamp": "2026-06-22T18:15:01+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipintel-ai-reverse-dns-lookup-9db4640a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.ipintel.ai](https://www.zero.xyz/host/tools.ipintel.ai/llms.txt)
