api.teardrop.dev
Teardrop get_protocol_tvl: Get Total Value Locked for one or many DeFi protocols from DeFiLlama: current USD TVL, 7/30-day change, fees and revenue when reported, per-chain breakdown, and optional daily historical series. Batch multiple protocols via protocols=[...] - batch responses return one compact economic summary per protocol; single-protocol calls add chain and historical detail. Supports 3
- Price per call
- $0.005
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://api.teardrop.dev/tools/mcp#get_protocol_tvl", { method: "GET" });
console.log(await res.json());https://api.teardrop.dev/tools/mcp#get_protocol_tvl