16trust / 100
Chain Tvl History
by Vextorium in Onchain & crypto
x402 APIFailing, checked 2 h ago
TVL history of a blockchain: current value, all-time high and its date, distance from ATH, 30d and 1y change, plus a sampled series. Shows where a chain sits in the cycle. Live from DefiLlama.
POST https://api.vextorium.com/v1/chain-tvl-history
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 2 h ago: Amount "0.004" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/chain-tvl-history" \
-H "content-type: application/json" \
-d '{"chain":"Ethereum","days":365}'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.vextorium.com%2Fv1%2Fchain-tvl-history
const res = await pay("https://api.vextorium.com/v1/chain-tvl-history", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"Ethereum","days":365}),
});
console.log(await res.json());Example input
{
"chain": "Ethereum",
"days": 365
}Example output
{
"chain": "Ethereum",
"change_1y_pct": -40.24,
"change_30d_pct": 8.32,
"current_tvl_usd": 52830721315,
"historical_max_usd": 107458598469,
"max_date": "2021-11-09",
"note": "Chain TVL history. The distance from the peak shows where it is in the cycle. Source: DefiLlama.",
"series": [
{
"date": "2025-10-01",
"tvl_usd": 87979353983
},
{
"date": "2025-10-31",
"tvl_usd": 84255331431
}
],
"since_max_pct": -50.84
}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 |
|---|---|---|---|---|
| 2 h ago | Amount "0.004" is not in atomic token units | 402 | 75 ms | $0.004 |
| 6 h ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 11 h ago | Amount "0.004" is not in atomic token units | 402 | 267 ms | $0.004 |
| 15 h ago | Amount "0.004" is not in atomic token units | 402 | 93 ms | $0.004 |
| 19 h ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |
| 23 h ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |
| 27 h ago | Amount "0.004" is not in atomic token units | 402 | 68 ms | $0.004 |
| 31 h ago | Amount "0.004" is not in atomic token units | 402 | 90 ms | $0.004 |
| 34 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 39 h ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |
| 43 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 104 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 87 ms | $0.004 |