{"uid":"cap_bPsuSbvI0SHT1qEuMLx75","slug":"foundry-evm-chain-lookup-dd3e1704","name":"Foundry EVM Chain Lookup","description":"EVM chain lookup: chain ID, name, native currency, public RPCs and explorers. Input: a chain ID or name.","url":"https://minty-sprout.onrender.com/v1/chain-id?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"A chain ID or name"}}},"responseSchema":{"type":"json","example":{"chains":[{"rpc":["https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co"],"name":"Base","chain_id":8453,"explorers":["https://basescan.org","https://base.blockscout.com"],"short_name":"base","native_currency":"ETH"}],"source":"chainid.network"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K7269a3_sf6D_cJQGIxQ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns chain metadata (name, native currency, public RPCs, and block explorers) for a given EVM chain ID or name.","exampleAgentPrompt":"What are the public RPC endpoints and block explorers for Base (chain ID 8453)?","exampleUseCases":[{"title":"Configuring a new EVM wallet","prompt":"I'm setting up a wallet for the Arbitrum network — can you find me the public RPC URLs and block explorer links for it?"},{"title":"Building a multi-chain dApp","prompt":"I need the chain ID, native currency, and RPC endpoints for Optimism so I can add it to my dApp's network list."},{"title":"Debugging a transaction on Polygon","prompt":"What block explorers are available for Polygon so I can look up a transaction I made there?"}],"resultDescription":"A JSON object containing an array of matching chains, each with: chain name, chain ID, short name, native currency symbol, a list of public RPC URLs, and a list of block explorer URLs. Source attribution (chainid.network) is also included.","failureModes":["Unknown chain ID or name returns an empty chains array","Malformed or missing input field returns a validation error","Render.com cold start may cause latency on first request","Chain data may be stale if chainid.network upstream is not refreshed"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically resolve EVM chain metadata — especially RPC URLs or explorer links — from a chain ID or human-readable name, without maintaining a local chain registry. Ideal for multi-chain dApp configuration, wallet setup, or transaction debugging workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:41.506Z","isFirstParty":false,"canonicalSlug":"foundry-evm-chain-lookup-dd3e1704"}