# x402-toolbox Chain ID Lookup

> x402-toolbox Chain ID Lookup is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns chain metadata for a given blockchain network ID via a pay-per-call x402 micro-payment endpoint

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/chain/chain-id?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-chain-id-lookup-0f414b9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ItcPXX723cPlfwhuvzPpJ

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-toolbox-chain-id-lookup-0f414b9c
```

Example prompt: Look up the chain metadata for chain ID 8453 — I just need to confirm what network that corresponds to and any relevant details about it.

## When to prefer this

Use this endpoint when you need quick, no-signup blockchain chain metadata lookups and are operating in an x402-enabled payment environment with USDC on Base. It is ideal for AI agents that need to resolve chain IDs programmatically without API key management — the micro-payment serves as identity. Prefer this over free alternatives when you need guaranteed availability without rate-limit concerns tied to accounts.

## Known failure modes

- Invalid or unknown chain ID returns an error or empty result
- Payment not included or rejected by x402 protocol returns 402 Payment Required
- Malformed schema parameter causes bad request
- Cloudflare Worker timeout or cold-start latency on rare occasions

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object with an 'ok' boolean indicating success and a 'paid' boolean confirming the x402 micro-payment was accepted, along with chain metadata for the requested chain ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-chain-id-lookup-0f414b9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
