81trust / 100
Market Tvl
by dt0ur.online in Onchain & crypto
x402 APIPassing, checked 3 h ago
DeFi total value locked (TVL): look up one protocol (e.g. aave-v3, uniswap-v3) for TVL, per-chain breakdown and 1d/7d change, or rank the top protocols overall, on a chain (Base, Ethereum, Solana...) or in a category (Lending, Dexs, Liquid Staking...).
POST https://dt0ur.online/api/market/tvl
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 199 ms typical, 199 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://dt0ur.online/api/market/tvl" \
-H "content-type: application/json" \
-d '{"protocol":"aave-v3"}'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%2Fdt0ur.online%2Fapi%2Fmarket%2Ftvl
const res = await pay("https://dt0ur.online/api/market/tvl", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"protocol":"aave-v3"}),
});
console.log(await res.json());Example input
{
"protocol": "aave-v3"
}Example output
{
"found": true,
"protocol": {
"category": "Lending",
"chain_tvls": {
"Arbitrum": 545002459,
"Avalanche": 348055577,
"Base": 563970085,
"Ethereum": 15713449009,
"Plasma": 472658349
},
"chains": [
"Ethereum",
"Base",
"Arbitrum",
"Plasma",
"Avalanche",
"..."
],
"change_1d_pct": -0.672,
"change_7d_pct": 10.377,
"mcap_usd": null,
"name": "Aave V3",
"slug": "aave-v3",
"tvl_usd": 18622224645,
"url": "https://aave.com"
},
"source": "defillama"
}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 | Passed | 402 | 211 ms | $0.01 |
| 8 h ago | Passed | 402 | 199 ms | $0.01 |