{"uid":"cap_KsdT8iWJvVrzsTXd0U6w2","slug":"web3-tools-caip-id-parser-85f674a4","name":"Web3 Tools CAIP ID Parser","description":"Parse CAIP-2 chain ids, CAIP-10 account ids and CAIP-19 asset ids: namespace, reference, known chain name, address check.","url":"https://web3-tools.x402tookit.com/caip-parse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":"eip155:8453, eip155:1:0xAbc..., or eip155:1/erc20:0xA0b8..."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"kind":{"type":["null","string"]},"source":{"type":["null","string"]},"chainId":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"chainName":{"type":["null","string"]},"namespace":{"type":["null","string"]},"reference":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"numericChainId":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Eii2pN0HSIShx9ldZY3LE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and validates CAIP-2 chain IDs, CAIP-10 account IDs, and CAIP-19 asset IDs, returning namespace, reference, known chain name, and address details.","exampleAgentPrompt":"Can you parse the CAIP-10 account ID eip155:1:0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B and tell me the namespace, reference, chain name, and whether the address looks valid?","exampleUseCases":[{"title":"Identify chain from CAIP-2 string","prompt":"I have the CAIP-2 identifier eip155:8453 — can you parse it and tell me what blockchain it refers to, including its common name and numeric chain ID?"},{"title":"Validate ERC-20 token CAIP-19 asset ID","prompt":"Parse this CAIP-19 asset ID for me: eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — I need to know the namespace, chain reference, asset kind, and whether it's a valid identifier."},{"title":"Decode cross-chain account ID in dApp","prompt":"My wallet is showing the account ID eip155:137:0x1234abcd1234abcd1234abcd1234abcd1234abcd — can you break it down into namespace, chain reference, chain name, and address, and tell me if everything checks out?"}],"resultDescription":"Returns a structured object with namespace, reference, chainId, numericChainId, chainName, kind (chain/account/asset), verdict, summary, reasons, and degraded/disclaimer flags. The 'kind' field distinguishes CAIP-2 (chain), CAIP-10 (account), or CAIP-19 (asset) identifiers. The 'verdict' field indicates validity, with 'reasons' listing any issues.","failureModes":["Malformed CAIP ID (missing colons, wrong delimiter) returns a non-passing verdict with reasons","Unknown or unsupported namespace returns null chainName","Unrecognized chain reference returns null numericChainId","Address checksum failures reflected in verdict/reasons","Missing required 'id' query parameter returns an error response"],"whenToPreferThis":"Use this endpoint when you need to programmatically parse or validate any CAIP-2, CAIP-10, or CAIP-19 identifier in a multi-chain context. Prefer it over ad-hoc string splitting when you need reliable namespace/reference extraction, human-readable chain names, or address validity checks — especially in cross-chain dApps, wallets, or agent workflows that handle identifiers from multiple blockchains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:37:42.494Z","isFirstParty":false,"canonicalSlug":"web3-tools-caip-id-parser-85f674a4"}