# Delx Commerce Chain ID Lookup

> Delx Commerce Chain ID Lookup is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Resolves a blockchain chain ID or network slug to its canonical network metadata using a static lookup table

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/chain-id-lookup?utm_source=zero.xyz
- Price: $0.003/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-chain-id-lookup-2e11c80c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mKHnsgcRarJSOBFBu5WzT

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-chain-id-lookup-2e11c80c -d '<json body>'
```

Example prompt: What network name and details correspond to chain ID 8453? Just look it up in the static chain ID table.

## When to prefer this

Use this endpoint when you need a fast, cheap, no-signup resolution of a blockchain chain ID to a human-readable network name (or vice versa) and don't need live RPC state. Prefer it over querying an RPC node directly when you only need the name-to-ID mapping. Ideal for agents performing pre-flight validation before on-chain transactions or routing logic that depends on knowing which network a chain ID refers to.

## Known failure modes

- Unknown chain ID or slug returns found: false with no network data
- Malformed or non-numeric chain_id string may yield no match
- Static table may not include newly launched chains or testnets
- No RPC or live chain tip data is ever returned — only static mapping

## 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 indicating whether the chain ID was found, the canonical network name (e.g. 'base'), the numeric chain ID string, a flag indicating whether live RPC data is included (always false — static table only), the table size, a schema identifier, and an advisory note that this is a static lookup not live chain state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain_id": {
   "type": "string",
   "description": "Numeric chain id string (e.g. 8453) or known network slug."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": true,
  "schema": "delx/util-chain-id-lookup/v1",
  "network": "base",
  "advisory": "Static table only; not chain tip or RPC state.",
  "chain_id": "8453",
  "live_rpc": false,
  "table_size": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-chain-id-lookup-2e11c80c/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)
