# Chain ID to Network Name

> Chain ID to Network Name is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Maps an EVM chain_id integer to a short network name and known-chain flag using deterministic local lookup

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/chain-id-name
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-id-to-network-name-43afa190
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hiycArMamYzm80Q39kSaI

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 chain-id-to-network-name-43afa190 -d '<json body>'
```

Example prompt: What's the short network name for EVM chain ID 137 — is it a known chain?

## When to prefer this

Use this endpoint when you need a quick, zero-latency, no-API-key mapping from a chain_id integer to a human-readable EVM network name without making a live RPC call or fetching the full chainlist. Ideal for labeling configs, annotating logs, or displaying network names in UI without external dependencies. Prefer over chainlist.org API calls when you only need the short name and a known-flag and want deterministic, offline-style results for a fraction of a cent.

## Known failure modes

- Unknown or unrecognized chain_id returns known=false with a null or empty name field
- Invalid input type (non-integer chain_id) may cause a validation error
- Very new or obscure chains not yet in the local mapping will return unknown
- Payment failure via x402 on Base will prevent the call from completing

## How this service works

Map common EVM chain_id integers to short network names. Call when labeling multi-chain configs without embedding a full chainlist fetch. Returns short name and known flag for the chain_id as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a deterministic JSON object containing the short network name (e.g. 'ethereum', 'polygon') and a boolean 'known' flag indicating whether the chain_id is a recognized EVM network in the local lookup table

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain_id": {
   "type": "integer",
   "description": "Input field: chain id."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-chain-id-name/v1",
  "chain_id": 8453,
  "chain_name": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-id-to-network-name-43afa190/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)
