# Agent402 UK — CAIP-19 Asset ID Validator

> Agent402 UK — CAIP-19 Asset ID Validator 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-13).

Validates and parses a CAIP-19 asset identifier, returning the CAIP-2 chain reference, asset namespace, and validity flag

## Facts

- Endpoint: POST https://agent402.co.uk/v1/chain/caip19
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-uk-caip-19-asset-id-validator-23673912
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_izjcjG-RYyxCyQebTc0lJ

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-uk-caip-19-asset-id-validator-23673912 -d '<json body>'
```

Example prompt: Can you validate this CAIP-19 asset ID for me — 'eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913' — and tell me if it's valid and what chain and namespace it maps to?

## When to prefer this

Use this endpoint when an agent needs to deterministically validate or parse a CAIP-19 asset identifier before executing a blockchain operation, payout, or DeFi workflow — avoiding wasting LLM tokens on a lookup that is pure string parsing. Ideal for pre-flight checks in payment pipelines, asset routing logic, or any workflow that must confirm a token's chain and namespace cheaply and reliably. No API key needed; pay $0.001 USDC per call via x402 on Base.

## Known failure modes

- Malformed CAIP-19 string returns valid:false with no caip2 or asset_namespace
- Unrecognized chain or namespace may return valid:false
- Missing 'id' field in request body causes a 400 error
- Payment failure via x402 returns a 402 Payment Required response

## 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 with three fields: 'valid' (boolean indicating whether the CAIP-19 ID is well-formed and recognized), 'caip2' (the CAIP-2 chain reference extracted from the ID, e.g. 'eip155:8453'), and 'asset_namespace' (the asset type such as 'erc20'). Costs $0.001 USDC per call, paid via x402 on Base. No API key required.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string",
   "description": "CAIP-19 asset id"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "caip2": "eip155:8453",
  "valid": true,
  "asset_namespace": "erc20"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-caip-19-asset-id-validator-23673912/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)
