# Delx Commerce ABI Type Indexer

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

Accepts an array of Solidity ABI type strings and returns a frequency index showing how many times each type appears

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/abi-type-index?utm_source=zero.xyz
- Price: $0.003/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-abi-type-indexer-71db3403
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PrOwo8H8kEhpvrU7Nuj0k

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-abi-type-indexer-71db3403 -d '<json body>'
```

Example prompt: Can you index these ABI types and tell me how many times each one appears: address, uint256, address, bytes?

## When to prefer this

Use this endpoint when you need a quick frequency index of Solidity ABI type strings — for example, to audit type diversity, understand parameter composition, or preprocess types before encoding. It does not encode values or make on-chain calls, so choose it purely for counting and summarization tasks.

## Known failure modes

- Empty or missing 'types' array returns an empty index
- Invalid or non-standard ABI type strings may be indexed as-is without validation errors
- Payment failure via x402 returns HTTP 402 and no result
- Malformed JSON body returns a 4xx error

## 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 an 'index' array where each entry lists a type string and its occurrence count, plus 'type_count' (total entries), 'unique_types' (count of distinct types), and a schema identifier. Explicitly notes this is an index only and does not perform encoding or eth_call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "types": {
   "type": "array",
   "description": "ABI type strings to index (e.g. address, uint256)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "index": [
   {
    "type": "address",
    "count": 2
   },
   {
    "type": "uint256",
    "count": 1
   },
   {
    "type": "bytes",
    "count": 1
   }
  ],
  "schema": "delx/util-abi-type-index/v1",
  "advisory": "Index only; does not encode or eth_call.",
  "type_count": 4,
  "unique_types": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-abi-type-indexer-71db3403/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)
