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

WhenResultHTTPTimePrice
2 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
6 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
11 h agoAmount "0.004" is not in atomic token units402267 ms$0.004
15 h agoAmount "0.004" is not in atomic token units40293 ms$0.004
19 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
23 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
27 h agoAmount "0.004" is not in atomic token units40268 ms$0.004
31 h agoAmount "0.004" is not in atomic token units40290 ms$0.004
34 h agoAmount "0.004" is not in atomic token units40276 ms$0.004
39 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
43 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40285 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402104 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40287 ms$0.004