$0.0008 USDC per call on Base · No signup · No API key · x402 v2
DeFi token intelligence: TVL, yields, and protocol data. Deep metrics for DeFi tokens and protocols: TVL, APY, pool composition, and 24h flows. Built for agents running DeFi strategies.
Data source: DeFiLlama + onchain data
No account. No API key. Every endpoint speaks x402 v2:
402 Payment Required with the priceeip155:8453)X-PAYMENT header → 200 with JSONcurl -X POST "https://inferencehub.taild7e69a.ts.net/defi/api/defi" \
-H "Content-Type: application/json" \
-d '{ "token": "AERO", "chain": "base" }'
| Param | Type | Description |
|---|---|---|
token | string (body JSON) | Token address or symbol |
chain | string (body JSON, optional) | default base |
Request
{
"token": "AERO",
"chain": "base"
}
Response
{
"token": "AERO",
"tvl_usd": 89000000,
"apy_pct": 24.5,
"pools": 12,
"flows_24h_usd": 2300000
}
x402 v2 · exact scheme · USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base (eip155:8453).
Facilitators: Coinbase CDP and PayAI (no API key needed for either).
Which protocols are covered?
Major Base and Ethereum DeFi protocols: Aerodrome, Uniswap, Aave, Curve, and 50+.
How fresh is TVL data?
Updated hourly.
Can I get historical APY?
Current snapshot only in this endpoint.
Do I need an API key?
No. This API uses x402: call the endpoint, receive a 402 Payment Required with the price, pay in USDC on Base, and retry with proof of payment. No signup, no API key, no account.
Which facilitators are supported?
Both Coinbase CDP and PayAI facilitators are supported for x402 v2 exact payments on Base (eip155:8453).
What if my payment is too low?
The facilitator verifies the on-chain amount against the price. If underpaid, you get 402 again; pay the full amount and retry.
Part of the x402 API Collection — 37 pay-per-call endpoints, $0.0008–$1.50/call. Full catalog: https://inferencehub.taild7e69a.ts.net/.well-known/x402
Trust: every settlement is published in our public receipts log — verifiable on-chain, no wash trading.