# booAIP Chains Data Endpoint

> booAIP Chains Data Endpoint is a paid API for AI agents from booaip.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns blockchain chain data including TVL, dominance percentage, and rank for a specified chain

## Facts

- Endpoint: GET https://booaip.vercel.app/api/chains
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/booaip-chains-data-endpoint-5b459b2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_biI3iA2XbNOrx7vW3OkOl

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 booaip-chains-data-endpoint-5b459b2c
```

Example prompt: What is the current TVL, dominance percentage, and ranking for the Base blockchain?

## When to prefer this

Use this endpoint when you need structured, pay-per-call blockchain TVL and dominance data for a specific chain without requiring an API key subscription — ideal for AI agents that need on-demand crypto chain metrics with micropayment via USDC on Base.

## Known failure modes

- Chain name not recognized — found: false returned
- Invalid or missing chain parameter in POST body
- Payment not processed — x402 USDC payment failure on Base
- Service unavailable or Vercel cold start timeout
- Chain exists but data is stale or temporarily unavailable

## How this service works

Chain TVL, rank and dominance (DefiLlama). Body: { chain? }.

## Output

A JSON object containing the chain's rank among all chains, its name, a boolean indicating if it was found, total value locked in USD, and its dominance percentage of total DeFi TVL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain name (e.g. base). Omit for top 10."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rank": 6,
  "chain": "Base",
  "found": true,
  "tvlUsd": 5000000000,
  "dominancePct": 3.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/booaip-chains-data-endpoint-5b459b2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from booaip.vercel.app](https://www.zero.xyz/host/booaip.vercel.app/llms.txt)
