# Delx Commerce CAIP-2 Parser

> Delx Commerce CAIP-2 Parser is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Parses a CAIP-2 chain identifier string into its namespace and reference components

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/caip2-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-caip-2-parser-ba51e0dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xagNb6S4hQqPemW7PyKbR

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 delx-commerce-caip-2-parser-ba51e0dd -d '<json body>'
```

Example prompt: Can you parse the CAIP-2 identifier 'eip155:8453' and tell me its namespace and reference components?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call utility to programmatically parse and validate CAIP-2 chain identifiers without setting up authentication or subscriptions. Ideal for agents handling multi-chain workflows that need to decompose chain IDs on the fly.

## Known failure modes

- Invalid or malformed CAIP-2 string returns an error or ok:false
- Missing caip2 field in request body causes a 400 error
- Unsupported namespace formats may not parse correctly
- Network or payment failure via x402 protocol prevents processing

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with ok status, the original caip2 string, a schema identifier, the extracted namespace (e.g. 'eip155'), and the extracted reference (e.g. '8453').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "caip2": {
   "type": "string",
   "description": "Input field: caip2."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "caip2": "eip155:8453",
  "schema": "delx/util-caip2-parse/v1",
  "namespace": "eip155",
  "reference": "8453"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-caip-2-parser-ba51e0dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
