66trust / 100
Chain Rank
by Aayat AI in Onchain & crypto
x402 APIFailing, checked 3 h ago
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.
GET https://aayatai.com/chain/rank
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 50.0%
- Response time
- 64 ms typical, 64 ms slowest 5%
- Last check
- 3 h ago: Expected HTTP 402, got 410
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/chain/rank?by=tvl&limit=5"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fchain%2Frank
const res = await pay("https://aayatai.com/chain/rank?by=tvl&limit=5");
console.log(await res.json());Example input
{
"by": "tvl",
"limit": 5
}Example output
{
"by": "tvl",
"chains": [
{
"chain": "Ethereum",
"nativeToken": "ETH",
"rank": 1,
"stablecoinsUsd": 160000000000,
"tvlUsd": 70000000000
},
{
"chain": "Solana",
"nativeToken": "SOL",
"rank": 2,
"stablecoinsUsd": 16118493038,
"tvlUsd": 6567722976
}
],
"source": "DefiLlama",
"totalTracked": 420
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Expected HTTP 402, got 410 | 410 | 46 ms | - |
| 8 h ago | Passed | 402 | 64 ms | $0.002 |