81trust / 100

Proxy Defi Tvl

by DeFi TVL and DEX Volume in Onchain & crypto

x402 APIPassing, checked 3 h ago

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.

POST https://agentsvc.io/api/v1/proxy/defi-tvl

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
30 ms typical, 33 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/defi-tvl" \
  -H "content-type: application/json" \
  -d '{"mode":"protocol","protocol":"aave"}'
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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fdefi-tvl
const res = await pay("https://agentsvc.io/api/v1/proxy/defi-tvl", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"mode":"protocol","protocol":"aave"}),
});
console.log(await res.json());

Example input

{
  "mode": "protocol",
  "protocol": "aave"
}

Example output

{
  "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
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40233 ms$0.002
6 h agoPassed40230 ms$0.002
9 h agoPassed40233 ms$0.002
14 h agoPassed40226 ms$0.002