# AgentShield EVM Chain Lookup

> AgentShield EVM Chain Lookup is a paid API for AI agents from agentshield.live, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Returns the network name and native symbol for a given EVM chain ID

## Facts

- Endpoint: GET https://agentshield.live/chain?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-evm-chain-lookup-a8323ae1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZpJVDzHwrynIhk1Pe7U9b

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 agentshield-evm-chain-lookup-a8323ae1
```

Example prompt: What is the network name and native token symbol for EVM chain ID 8453?

## When to prefer this

Use this endpoint when you have a numeric EVM chain ID and need to resolve it to a human-readable network name or native token symbol. Prefer this over general blockchain APIs when you only need lightweight chain metadata without gas prices, RPC endpoints, or token lists. It is ideal for labeling, display, and validation tasks inside an agent workflow that processes EVM transactions or events.

## Known failure modes

- Unknown chain ID returns 404 with no data
- Non-numeric or malformed chain ID may cause a 400 error
- Chain ID for a recently launched or obscure network may not be in the database, returning 'known: false' or 404
- Gas price information is not returned — only name and symbol

## How this service works

Call when an agent has an EVM chain id and needs the network name and native symbol. Not a gas price.

## Output

A JSON object containing the chain's human-readable name (e.g. 'Base'), its native token symbol (e.g. 'ETH'), the echoed chain_id, and a 'known' boolean indicating whether the chain ID was recognized. Returns 404 for unknown chain IDs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Numeric chain id."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Base",
  "known": true,
  "chain_id": 8453,
  "native_symbol": "ETH"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-evm-chain-lookup-a8323ae1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
