# Delx Commerce CIDR Contains Check

> Delx Commerce CIDR Contains Check 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).

Checks whether a given IP address falls within a specified CIDR block/subnet range

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/cidr-contains?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-cidr-contains-check-fd65f402
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U54NbleiQU-CeBXRV2-jK

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-cidr-contains-check-fd65f402 -d '<json body>'
```

Example prompt: Check whether the IP address 203.0.113.45 is contained within the CIDR block 203.0.113.0/24.

## When to prefer this

Use this endpoint when you need a quick, pay-per-use CIDR containment check with no signup or subscription required, paid via USDC on Base or Solana. Ideal for AI agents that need on-demand IP range validation without managing API keys or monthly plans. Prefer this over self-hosted solutions when you want verifiable, metered delivery at $0.001 per call.

## Known failure modes

- Invalid IP address format — malformed input causes rejection
- Invalid CIDR notation — incorrect subnet mask or prefix length
- Missing required body fields — request fails if IP or CIDR is omitted
- Payment failure — x402 USDC payment not processed correctly, returns 402
- Network timeout — service unavailable, returns 5xx error

## How this service works

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

## Output

A JSON response indicating whether the given IP address is contained within the specified CIDR block, returning a boolean or equivalent membership status result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-cidr-contains-check-fd65f402/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)
