82trust / 100
Protocol
by DeFi Protocol TVL API in Onchain & crypto
x402 APIPassing, checked 28 min ago
Total value locked (USD) for one DeFi protocol by DefiLlama slug or name (e.g. "aave-v3", "lido", "uniswap-v3"): current TVL, per-chain TVL breakdown, 1h/1d/7d TVL change, category, chains, token symbol and market cap. Optional `chain` also returns that chain's TVL for the protocol. Unknown names return `found:false` with slug `suggestions`.
POST https://crypto.openverbs.com/v1/protocol
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 168 ms typical, 168 ms slowest 5%
- Last check
- 28 min ago
- Next check
- in 5 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://crypto.openverbs.com/v1/protocol" \
-H "content-type: application/json" \
-d '{"chain":"example","protocol":"example"}'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%2Fcrypto.openverbs.com%2Fv1%2Fprotocol
const res = await pay("https://crypto.openverbs.com/v1/protocol", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"example","protocol":"example"}),
});
console.log(await res.json());Example input
{
"chain": "example",
"protocol": "example"
}Example output
{
"chain": null,
"found": true,
"protocol": {
"category": "Lending",
"chainTvlUsd": null,
"chainTvls": [
{
"chain": "Ethereum",
"tvlUsd": 15000000000
}
],
"chains": [
"Ethereum",
"Base",
"Arbitrum"
],
"change1dPct": -1.21,
"change1hPct": -0.32,
"change7dPct": -1.3,
"mcapUsd": null,
"name": "AAVE V3",
"slug": "aave-v3",
"symbol": "AAVE",
"tvlUsd": 17360471163.45,
"url": "https://aave.com"
},
"source": "defillama",
"stale": false,
"suggestions": []
}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 |
|---|---|---|---|---|
| 28 min ago | Passed | 402 | 660 ms | $0.001 |
| 6 h ago | Passed | 402 | 168 ms | $0.001 |