# IPv6 Expand & Compress Normalizer

> IPv6 Expand & Compress Normalizer is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Expands an IPv6 address to its full 8-group form and compresses it back to RFC 5952 canonical form, with address type classification.

## Facts

- Endpoint: GET https://intel.rallylive.ca/ip/expand
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipv6-expand-compress-normalizer-0aa0c5ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_udj8YCXFWKkdUvVnYedvB

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 ipv6-expand-compress-normalizer-0aa0c5ed
```

Example prompt: Can you normalize the IPv6 address 2001:db8::1 — give me its full expanded 8-group form, the RFC 5952 compressed canonical version, and tell me what type it is?

## When to prefer this

Choose this endpoint when you need to normalize, expand, compress, or classify IPv6 addresses according to RFC 5952 — especially for deduplication, reliable comparison, or type identification. Prefer it over manual string parsing when correctness of canonical form matters or when you need address type classification in a single call.

## Known failure modes

- Invalid IPv6 address string returns an error response
- IPv4 address passed instead of IPv6 may return an error or IPv4-mapped classification
- Malformed input (e.g. extra colons, invalid hex groups) returns a parse error
- Missing required query parameter returns a 400 bad request
- Payment not included or insufficient triggers a 402 Payment Required response

## How this service works

IPv6 normalizer: expand any IPv6 address to its full 8-group form and back to the canonical compressed form (RFC 5952), with type classification (global unicast, link-local, unique local, loopback, multicast, IPv4-mapped). Deduplicate and compare addresses reliably. $0.01 per address.

## Output

Returns the fully expanded 8-group IPv6 address, the RFC 5952 canonical compressed form, and a type classification (e.g. global unicast, link-local, unique local, loopback, multicast, or IPv4-mapped). This allows reliable deduplication and comparison of addresses regardless of how they were originally formatted.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipv6-expand-compress-normalizer-0aa0c5ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
