# FastX402 IP Info Lookup

> FastX402 IP Info Lookup is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-27).

Looks up metadata for an IPv4 or IPv6 address, returning its range type, normalized form, version, and mapping details.

## Facts

- Endpoint: GET https://fastx402.tools/ip-info?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-ip-info-lookup-09eba743
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XGOE5to4DZ0h0uoFYDLWf

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 fastx402-ip-info-lookup-09eba743
```

Example prompt: Can you look up info on the IP address 203.0.113.42 — tell me what range it falls into and whether it's IPv4 or IPv6?

## When to prefer this

Use this endpoint when you need lightweight, no-account IP address metadata — specifically range classification (private/public/reserved), version detection, and normalization — without requiring API key setup. Ideal for agents performing quick IP checks in security, logging, or network validation workflows at minimal cost ($0.001/call).

## Known failure modes

- Missing or invalid 'ip' query parameter returns an error
- Malformed IP strings that aren't valid IPv4 or IPv6 may return an error or unexpected range
- Payment failure via x402 protocol results in 402 response and no data returned

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

Returns a JSON object containing the original input IP, its normalized form, IP version (4 or 6), address range classification (e.g. 'private', 'public', 'loopback'), and the ipv4_mapped field (null for native IPv4, populated for IPv4-mapped IPv6 addresses).

## 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",
     "properties": {
      "input": {
       "type": "string"
      },
      "range": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "version": {
       "type": "integer"
      },
      "normalized": {
       "type": "string"
      },
      "ipv4_mapped": {
       "type": "null"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input": "192.168.1.10",
  "range": "private",
  "address": "192.168.1.10",
  "version": 4,
  "normalized": "192.168.1.10",
  "ipv4_mapped": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-ip-info-lookup-09eba743/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
