# Delx Commerce — IPv4 Octet Parser

> Delx Commerce — IPv4 Octet Parser is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Parses an IPv4 address string into its four individual octets and validates its format.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/ipv4-octets?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-ipv4-octet-parser-1b403498
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4F3Z24YMGM59TgqOzXgMw

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-commerce-ipv4-octet-parser-1b403498 -d '<json body>'
```

Example prompt: Can you parse the IPv4 address 192.168.10.55 into its individual octets and confirm it's valid?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use utility to validate and decompose IPv4 addresses without standing up your own parsing logic or managing API keys. Ideal for agent pipelines that occasionally need IP parsing without a subscription commitment.

## Known failure modes

- Invalid IPv4 format (e.g. letters, out-of-range values) may return valid:false with no octets
- Missing 'ip' field in request body likely returns a 400 error
- IPv6 addresses are not supported and will fail validation
- Payment failure via x402 protocol results in a 402 response before processing

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the original IP string, a boolean indicating whether it is a valid IPv4 address, and an array of four integers representing the individual octets (e.g. [10, 0, 0, 1]).

## 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-commerce-ipv4-octet-parser-1b403498/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
