# AgentKit Chain Info Lookup

> AgentKit Chain Info Lookup is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns canonical metadata for a blockchain network given a chain identifier, including CAIP-2 ID, explorer URL, native token, and testnet status.

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/chain?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-chain-info-lookup-5ec4f687
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rELb9FfKs0ITvbm0byxiL

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 agentkit-chain-info-lookup-5ec4f687 -d '<json body>'
```

Example prompt: What are the canonical identifiers for the Base network — things like its CAIP-2 ID, native token symbol, block explorer URL, and whether it's a testnet?

## When to prefer this

Choose this endpoint when an agent needs to resolve a human-readable chain name or alias into structured, canonical blockchain metadata (CAIP-2, explorer URL, native token) — especially useful when building multi-chain tools, configuring wallets, or validating chain context before executing transactions. Prefer over manual lookups or hardcoded chain configs when accuracy and freshness matter.

## Known failure modes

- Unknown chain identifier returns an error or empty result
- Invalid or misspelled chain name not matched to any known network
- Network timeout or service unavailability
- Unsupported chain not in the service's chain registry

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object with the chain's canonical name, CAIP-2 identifier (namespace + reference), short name, block explorer URL, native token symbol and decimals, and a boolean indicating whether it is a testnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "budget": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "caip2": "eip155:8453",
  "chain": 8453
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-chain-info-lookup-5ec4f687/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
