# Einstein AI DEX Capital Concentration Analyzer

> Einstein AI DEX Capital Concentration Analyzer is a paid API for AI agents from api.relai.fi, paid per call via x402, $1.000000/call, status unknown (last checked 2026-09-13).

Analyzes capital concentration across DEX protocols on multiple blockchains, returning data on how liquidity and trading volume are distributed.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1769629274857/x402/bitquery/dexcapital
- Price: $1.000000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/einstein-ai-dex-capital-concentration-analyzer-8ff4d837
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RfqA_vpxEBeMT17I6jaNo

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 einstein-ai-dex-capital-concentration-analyzer-8ff4d837 -d '<json body>'
```

Example prompt: Show me the capital concentration across DEX protocols on Arbitrum for the last 24 hours, top 20 results.

## When to prefer this

Use this endpoint when you need to understand how capital is distributed across DEX protocols on a specific blockchain — ideal for DeFi research, competitive protocol analysis, or identifying dominant liquidity venues. Prefer this over general on-chain analytics when you specifically want cross-protocol capital concentration ranked by protocol, not individual pool or token data.

## Known failure modes

- Unsupported chain value returns validation error
- Invalid timeperiod enum value returns error
- Limit exceeding 500 may be rejected or capped
- Payment of $1 USDC not completed results in 402 response
- BitQuery upstream API outage causes timeout or 5xx error
- Empty result set if chain has no DEX activity in the given time period

## How this service works

Analyze capital concentration across different DEX protocols. Supported chains: bsc, base, ethereum, arbitrum, polygon, optimism, zksync. Default chain: base. Required params: none (chain/limit/timeperiod are optional and defaulted).

## Output

Returns ranked data on capital concentration across DEX protocols for the specified chain and time period, including metrics on how liquidity and trading volume are distributed among protocols (up to the specified limit of results).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "bsc",
    "arbitrum",
    "polygon",
    "optimism",
    "solana"
   ],
   "type": "string",
   "description": "Blockchain to query (e.g., base, ethereum, bsc, solana)"
  },
  "limit": {
   "type": "string",
   "description": "Maximum number of results to return (default: 10, max: 500)"
  },
  "timeperiod": {
   "enum": [
    "1h",
    "4h",
    "24h",
    "7d",
    "30d"
   ],
   "type": "string",
   "description": "Time period for analysis (e.g., 1h, 24h, 7d, 30d)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/einstein-ai-dex-capital-concentration-analyzer-8ff4d837/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
