# IP Address Validator

> IP Address Validator 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).

Validates whether a string is a valid IPv4 or IPv6 address, returning the IP version, normalized form, and classification (public, private, loopback, link-local, multicast, etc.)

## Facts

- Endpoint: GET https://intel.rallylive.ca/ip/validate
- 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/ip-address-validator-8016647d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oycnJNhI-BYMOODKqmCO2

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-validator-8016647d
```

Example prompt: Can you check whether '2001:db8::1' is a valid IP address, and if so tell me whether it's IPv4 or IPv6, what its normalized form is, and whether it's a public, private, or special-purpose address?

## When to prefer this

Choose this endpoint when you need a quick, reliable, per-request IP address validation with classification — especially in pipelines that process user-submitted data, log files, or API inputs where distinguishing public vs. private vs. loopback vs. multicast IPs matters. Prefer it over regex-based validation when normalized output and semantic classification are needed alongside format checking.

## Known failure modes

- Missing or empty input string returns validation error
- Non-IP strings (e.g. hostnames, URLs) correctly flagged as invalid
- Malformed IPv6 addresses with ambiguous notation may be rejected
- Network timeout returning HTTP 402 or 5xx if service is unavailable
- Incorrect query parameter name yields bad request response

## How this service works

IP address validator: tells you whether a string is a valid IPv4 or IPv6 address, which version, the normalized form and its classification (public, private, loopback, link-local, multicast...). Input validation for forms, logs and APIs. $0.01 per check.

## Output

Returns whether the input string is a valid IP address, the IP version (IPv4 or IPv6), the normalized canonical form of the address, and its classification such as public, private, loopback, link-local, or multicast.

## 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/ip-address-validator-8016647d/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)
