# Aayat AI – Blockchain DeFi Rankings by TVL or Stablecoins

> Aayat AI – Blockchain DeFi Rankings by TVL or Stablecoins is a paid API for AI agents from aayatai.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Returns up to 50 blockchains ranked by total value locked (TVL) in DeFi or by circulating USD stablecoins, including both dollar figures and each chain's native gas-fee currency symbol, sourced from DefiLlama.

## Facts

- Endpoint: GET https://aayatai.com/chain/rank?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-blockchain-defi-rankings-by-tvl-or-stablecoins-28c55d6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_or0WURXxEVPuVC3N7j0nM

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 aayat-ai-blockchain-defi-rankings-by-tvl-or-stablecoins-28c55d6e
```

Example prompt: Show me the top 20 blockchains ranked by total value locked in DeFi, with full details including their TVL figures and gas token symbols.

## When to prefer this

Choose this endpoint when you need a cross-chain ranking overview of DeFi activity or stablecoin distribution across multiple blockchains at once. It is ideal for comparative analysis, market share reporting, or identifying which ecosystems dominate DeFi. For deep statistics on a single blockchain, use the companion chain-stats endpoint instead. Prefer this over manual DefiLlama scraping since it is pay-per-call with no API key required.

## Known failure modes

- Invalid 'by' parameter value (not 'tvl' or 'stablecoins') returns a validation error
- Limit out of range (below 1 or above 50) returns a validation error
- DefiLlama data source temporarily unavailable may return a 503 or stale data
- Payment not included or insufficient USDC triggers a 402 Payment Required response

## How this service works

Blockchains ranked by total value locked in DeFi or by US-dollar stablecoins circulating on them, with both figures and each chain's gas-fee currency symbol (e.g. ETH, SOL). Up to 50 chains. DefiLlama data; for one chain in depth use chain-stats.

## Output

A JSON array of up to 50 blockchain entries ranked by the chosen criterion (TVL or stablecoins), each including the chain name, TVL in USD, stablecoin circulating supply in USD, and the native gas-fee currency symbol (e.g. ETH, SOL, BNB). Also includes metadata: the ranking criterion used, total number of chains tracked, and source attribution (DefiLlama). In 'brief' mode, only key fields are returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "by": {
       "enum": [
        "tvl",
        "stablecoins"
       ],
       "type": "string",
       "default": "tvl",
       "description": "Rank by value locked or by stablecoins on the chain."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1,
       "description": "How many rows (1-50)."
      },
      "detail": {
       "enum": [
        "full",
        "brief"
       ],
       "type": "string",
       "default": "full",
       "description": "brief = key fields only (same price)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "by",
      "chains",
      "source"
     ],
     "properties": {
      "by": {
       "type": "string"
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "chains": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "source": {
       "type": "string"
      },
      "totalTracked": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-blockchain-defi-rankings-by-tvl-or-stablecoins-28c55d6e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
