86trust / 100
Defi Protocol Tvl
by api.x402node.dev in Onchain & crypto
x402 APIPassing, checked 3 h ago
Total value locked for any DeFi protocol with per-chain breakdown and 7-day change - shows a protocol's size, momentum and which chains it is concentrated on, for agents assessing protocol health and capital flows. protocol tvl, defi tvl, total value locked, protocol size, tvl by chain, protocol momentum, defi protocol stats Accepts payment on Base or Solana — either network works.
GET https://api.x402node.dev/defi/protocol-tvl
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 182 ms typical, 501 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 GET "https://api.x402node.dev/defi/protocol-tvl?protocol=string"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%2Fapi.x402node.dev%2Fdefi%2Fprotocol-tvl
const res = await pay("https://api.x402node.dev/defi/protocol-tvl?protocol=string");
console.log(await res.json());Example input
{
"protocol": "string"
}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 | 182 ms | $0.008 |
| 6 h ago | Passed | 402 | 501 ms | $0.008 |
| 10 h ago | Passed | 402 | 165 ms | $0.008 |
| 15 h ago | Passed | 402 | 848 ms | $0.008 |