DeFi data from DefiLlama in four modes
DeFi data from DefiLlama in four modes. protocol: TVL, 1d/7d change, category, market cap and chain breakdown of a protocol (slug or name, e.g. aave, uniswap, lido). top: largest protocols by TVL, optional category (e.g. Lending, Dexs, Liquid Staking) and cha…
by agentsvc.io · discovered, not yet claimed by its owner · updated 2026-10-11
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
DeFi data from DefiLlama in four modes. protocol: TVL, 1d/7d change, category, market cap and chain breakdown of a protocol (slug or name, e.g. aave, uniswap, lido). top: largest protocols by TVL, optional category (e.g. Lending, Dexs, Liquid Staking) and chain filter. chains: chains ranked by TVL with share. dex_volume: 24h/7d/30d DEX volume and top DEXes, optionally for one chain.
Tags: defi · tvl · dex-volume · defillama · protocols · bazaar · builder-code
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-11
{
"mode": "protocol",
"protocol": "aave"
}{
"data": {
"checked_at": "2026-10-06T14:29:38.091Z",
"found": true,
"mode": "protocol",
"protocols": [
{
"category": "Lending",
"chain_count": 21,
"change_1d_pct": -0.62,
"change_7d_pct": 0.2,
"defillama": "https://defillama.com/protocol/aave-v3",
"mcap_to_tvl": null,
"mcap_usd": null,
"name": "Aave V3",
"slug": "aave-v3",
"symbol": "AAVE",
"top_chains": [
{
"chain": "Ethereum",
"tvl_usd": 15545458426
},
{
"chain": "Base",
"tvl_usd": 574387153
}
],
"tvl_usd": 18447878695,
"url": "https://aave.com"
},
{
"category": "Lending",
"chain_count": 3,
"change_1d_pct": -0.4,
"change_7d_pct": 3.07,
"defillama": "https://defillama.com/protocol/aave-v4",
"mcap_to_tvl": null,
"mcap_usd": null,
"name": "Aave V4",
"slug": "aave-v4",
"symbol": "AAVE",
"top_chains": [
{
"chain": "Ethereum",
"tvl_usd": 461813271
},
{
"chain": "Arc",
"tvl_usd": 183375728
}
],
"tvl_usd": 675107580,
"url": "https://aave.com"
}
],
"query": "aave",
"source": "DefiLlama"
},
"success": true
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/35639.jsonfor the price and payment options. - Pay. Call
GET https://agentsvc.io/api/v1/proxy/defi-tvl. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, Polygon, Arbitrum One, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, Polygon, Arbitrum One
- Demand
- 11 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | 5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg | 300s |
| exact | Polygon eip155:137 | USDC | $0.002 | 0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27 | 300s |
| exact | Arbitrum One eip155:42161 | USDC | $0.002 | 0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"checked_at": {
"type": "string"
},
"found": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"protocols": {
"items": {
"properties": {
"category": {
"type": "string"
},
"chain_count": {
"type": "integer"
},
"change_1d_pct": {
"type": "number"
},
"change_7d_pct": {
"type": "number"
},
"defillama": {
"type": "string"
},
"mcap_to_tvl": {},
"mcap_usd": {},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"symbol": {
"type": "string"
},
"top_chains": {
"items": {
"properties": {
"chain": {
"type": "string"
},
"tvl_usd": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"tvl_usd": {
"type": "integer"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"query": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"data": {
"checked_at": "string",
"found": true,
"mode": "string",
"protocols": [
{
"category": "string",
"chain_count": 0,
"change_1d_pct": 0,
"change_7d_pct": 0,
"defillama": "string",
"mcap_to_tvl": null,
"mcap_usd": null,
"name": "string",
"slug": "string",
"symbol": "string",
"top_chains": [
{
"chain": null,
"tvl_usd": null
}
],
"tvl_usd": 0,
"url": "string"
}
],
"query": "string",
"source": "string"
},
"success": true
},
"type": "string"
}Examples
curl "https://agentsvc.io/api/v1/proxy/defi-tvl"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agentsvc.io/api/v1/proxy/defi-tvl");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agentsvc.io/api/v1/proxy/defi-tvl")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agentsvc.io
- Endpoint
- https://agentsvc.io/api/v1/proxy/defi-tvl
- Machine-readable
/resources/35639.json