# Delx IPv4 Octets

> Delx IPv4 Octets is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Parses an IPv4 address string into its four octets and returns a validity flag with the parsed components

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/ipv4-octets
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-ipv4-octets-0c2397e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KqZElYbPnSJHpLaLHWUcN

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 delx-ipv4-octets-0c2397e5 -d '<json body>'
```

Example prompt: Can you parse the IPv4 address 192.168.0.255 into its four octets and tell me if it's valid?

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, local parse of an IPv4 address with no external network calls, no API key setup, and guaranteed no data retention. Ideal for agents that need to validate or decompose IP literals cheaply at $0.001 USDC per call. Prefer over rolling your own regex when correctness and a structured octet output are both needed in a single step.

## Known failure modes

- Malformed or non-IPv4 input (e.g. IPv6, hostname, empty string) returns valid:false with no octets
- Extra whitespace or leading zeros may affect parsing — caller should normalize input
- Network errors or service unavailability return HTTP 5xx with no result
- Payment failure via x402 returns 402 Payment Required and no result is produced

## How this service works

Parse IPv4 into octets. Call when you validate IP literals held by agents. Returns valid flag and octets for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a JSON object containing a boolean valid flag indicating whether the input is a well-formed IPv4 address, and an array or set of four integer octet values (0–255 each) parsed from the address string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ip": {
   "type": "string",
   "description": "Input field: ip."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "10.0.0.1",
  "valid": true,
  "octets": [
   10,
   0,
   0,
   1
  ],
  "schema": "delx/util-ipv4-octets/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-ipv4-octets-0c2397e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
