# Agent402 CAIP-10 Account ID Parser

> Agent402 CAIP-10 Account ID Parser is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Parses and validates CAIP-10 account identifiers (namespace:reference:address) into their structured components for cross-chain identity resolution

## Facts

- Endpoint: GET https://agent402.co.uk/v1/chain/caip10
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-caip-10-account-id-parser-422bb6fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xh-4WUDStXT1iP869MESW

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 agent402-caip-10-account-id-parser-422bb6fa
```

Example prompt: Can you parse this CAIP-10 account ID for me — 'eip155:8453:0x9EF9f4360122051a4d9a36e3e2b0f48e9b1af89c' — and tell me what chain and address it refers to, and whether it's valid?

## When to prefer this

Use this endpoint when an agent needs to programmatically decompose or validate a CAIP-10 cross-chain account identifier mid-task — particularly when routing transactions, verifying wallet identity across chains, or normalizing user-submitted account IDs in multichain DeFi or Web3 workflows. Prefer this over manual string parsing for guaranteed standards compliance.

## Known failure modes

- Malformed CAIP-10 string (missing segments) returns valid:false
- Unsupported namespace or chain reference may return validation error
- Missing required 'id' query parameter returns 400 error
- Completely invalid input string may fail to parse any components

## How this service works

Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.

## Output

Returns a JSON object containing the parsed CAIP-2 chain ID (e.g. 'eip155:8453'), the wallet address, and a boolean validity flag indicating whether the input is a well-formed CAIP-10 identifier.

## 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": "CAIP-10 account id"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "caip2": "eip155:8453",
  "valid": true,
  "address": "0x9EF9…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-caip-10-account-id-parser-422bb6fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.co.uk](https://www.zero.xyz/host/agent402.co.uk/llms.txt)
