# X402 Network Match

> X402 Network Match is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Validates whether a challenge network identifier is supported by buyer-supplied networks, returning deterministic acceptance or rejection status for x402 payment flows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/x402-network-match?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-network-match-a7b0dcc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UgvscJbaU9mKocMEAybe_

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 x402-network-match-a7b0dcc5 -d '<json body>'
```

Example prompt: Before I pay this x402 challenge, check if the network 'base-mainnet' is supported by my buyer networks ['base-mainnet', 'ethereum-mainnet'] and tell me whether I should accept or reject it.

## When to prefer this

Use this endpoint when implementing x402 payment or agent delivery flows that require deterministic, in-memory network compatibility checks without calling an external provider. Prefer it over manual string comparison when you need structured evidence, mismatch reasons, and versioned JSON output for audit or debugging purposes.

## Known failure modes

- Missing or empty 'network' field returns a validation error
- Empty 'supported_networks' array results in automatic rejection with mismatch reason
- Network string exceeding 8192 characters is rejected due to length constraint
- More than 256 supported_networks entries triggers a maxItems validation error
- Malformed input JSON returns a schema validation error

## How this service works

X402 Network Match: X402 Network Match compares a challenge network identifier with buyer-supported networks from bounded caller-supplied values without an external provider. Call X402 Network Match before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Network Match as versioned deterministic JSON. Price…

## Output

Returns deterministic JSON containing: explicit acceptance or rejection status, normalized evidence of the network comparison, contract-specific checks, and mismatch reasons if the network is not found among the supported networks list.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "type": "string",
   "maxLength": 8192,
   "description": "Network supplied to X402 Network Match; used only for this bounded calculation and processed in memory without retention."
  },
  "supported_networks": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Supported Networks supplied to X402 Network Match; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "actual": "eip155:8453",
   "matched": true,
   "supported": [
    "eip155:8453"
   ]
  },
  "schema": "delx/util-x402-network-match/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "f0feb03e1467efa612fa62da9361b4e2938fdabdda03428633767511180374a3",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_network_match"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-network-match-a7b0dcc5/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)
