# IP Address Parser & Classifier

> IP Address Parser & Classifier is a paid API for AI agents from ip.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Parses an IPv4 or IPv6 address and returns its version, normalized form, and RFC classification (unicast, private, loopback, link-local, multicast, unique-local, IPv4-mapped, etc.).

## Facts

- Endpoint: POST https://ip.openverbs.com/v1/parse
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-address-parser-classifier-a6c17b24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vR5wHK8rLJ_AKs8C05lK

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-parser-classifier-a6c17b24 -d '<json body>'
```

Example prompt: Can you parse and classify the IP address 2001:db8::1 — tell me whether it's IPv4 or IPv6, what its normalized form is, and which RFC range it falls into (like unicast, loopback, multicast, or private)?

## When to prefer this

Choose this endpoint when you need to programmatically determine the type, version, and RFC classification of an IP address — especially when handling mixed IPv4/IPv6 environments or needing to detect special-purpose ranges like loopback, private, link-local, or IPv4-mapped. Prefer it over CIDR-checking endpoints when you need intrinsic address classification rather than membership in a specific subnet.

## Known failure modes

- Invalid or malformed IP address string returns a parse error
- Empty or missing address field triggers a validation error
- Addresses exceeding 64 characters are rejected
- Ambiguous strings that are not valid IP addresses return an error response

## How this service works

Parse an IPv4 or IPv6 address and classify it — version, normalized form and RFC range (unicast, private, loopback, linkLocal, multicast, uniqueLocal, ipv4Mapped, …). Detects IPv4-mapped IPv6.

## Output

Returns the IP version (4 or 6), the normalized canonical form of the address, and boolean or enum flags for RFC-defined address ranges such as unicast, private, loopback, link-local, multicast, unique-local, and IPv4-mapped. Also detects IPv4-mapped IPv6 addresses specifically.

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "maxLength": 64,
       "minLength": 1,
       "description": "IPv4 or IPv6 address, e.g. \"192.168.1.1\" or \"2001:db8::1\"."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-address-parser-classifier-a6c17b24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ip.openverbs.com](https://www.zero.xyz/host/ip.openverbs.com/llms.txt)
