# IPv4 Address Validator

> IPv4 Address Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Checks whether a given string is a valid IPv4 address and returns a boolean result

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-ip-ipv4?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipv4-address-validator-4566add2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_88LYK9kiCzibOEVdlD3xX

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 ipv4-address-validator-4566add2 -d '<json body>'
```

Example prompt: Can you check whether the string '203.0.113.42' is a valid IPv4 address?

## When to prefer this

Use this endpoint when you need a definitive, deterministic IPv4 check without relying on an LLM's pattern-matching, especially in automated pipelines where correctness matters. Prefer the free sandbox endpoint `/v1/sandbox/check-ip-ipv4` first to avoid the $0.007 USDC fee; fall back to this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- Empty or missing value field returns an error
- Value exceeds maxLength of 20000 (unlikely for an IP, but enforced)
- Payment failure if USDC x402 payment not attached and sandbox not used
- Ambiguous or null input schema field may cause unexpected behavior

## How this service works

Call when an agent needs whether a string is an IPv4 address. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/check-ip-ipv4 first.

## Output

Returns a boolean or structured result indicating whether the submitted string conforms to the IPv4 address format (four dot-separated octets each in the range 0–255)

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "8.8.8.8"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipv4-address-validator-4566add2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
