# CIDR Overlap Checker

> CIDR Overlap Checker is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Checks whether two CIDR network blocks overlap with each other, returning a boolean result.

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/network/cidr-overlap?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cidr-overlap-checker-54327e0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kcVR9CLn-sMfLwIpdxH8g

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 cidr-overlap-checker-54327e0c -d '<json body>'
```

Example prompt: Do 192.168.1.0/24 and 192.168.1.128/25 overlap? I need to know before I set up these two subnets.

## When to prefer this

Choose this endpoint when you need a lightweight, single-call computation to determine IP address space conflicts between exactly two CIDR blocks. Ideal for infrastructure automation, network provisioning validation, or security rule checks where a simple true/false overlap result is sufficient and speed matters.

## Known failure modes

- Invalid CIDR notation for either input (malformed string, e.g. missing prefix length) may return an error
- CIDR string exceeding 18 characters will be rejected by schema validation
- Missing required fields 'a' or 'b' will result in a bad request error
- Payment failure or insufficient USDC balance will block execution under x402 protocol

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with a single boolean field 'overlaps' indicating whether the two provided CIDR blocks share any IP address space.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "string",
   "maxLength": 18,
   "description": "First CIDR."
  },
  "b": {
   "type": "string",
   "maxLength": 18,
   "description": "Second CIDR."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cidr-overlap-checker-54327e0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
