82trust / 100

Tvl

by AgentFeed in Onchain & crypto

x402 APIPassing, checked 2 h ago

TVL for any DeFi protocol with 1d and 7d change, or a top-15 chains ranking. Use when you need to answer: How much TVL does this protocol have? DefiLlama-backed; a protocol family is aggregated across its deployments and the change is TVL-weighted.

GET https://x402.ochinimus.app/api/tvl

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
190 ms typical, 190 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/tvl?target=jito"
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%2Fx402.ochinimus.app%2Fapi%2Ftvl
const res = await pay("https://x402.ochinimus.app/api/tvl?target=jito");
console.log(await res.json());

Example input

{
  "target": "jito"
}

Example output

{
  "data": {
    "category": "Liquid Staking",
    "chains": [
      "Solana"
    ],
    "change_1d_pct": 3.86,
    "change_7d_pct": 10.66,
    "components": [
      {
        "change_1d_pct": 3.83,
        "name": "Jito Liquid Staking",
        "slug": "jito-liquid-staking",
        "tvl_usd": 1252493242
      },
      {
        "change_1d_pct": 5.86,
        "name": "Jito Restaking",
        "slug": "jito-restaking",
        "tvl_usd": 20444850
      }
    ],
    "deployments": 2,
    "note": "aggregate of 2 deployment(s); change is TVL-weighted. Query a component slug for one deployment.",
    "protocol": "Jito",
    "scope": "protocol_family",
    "slug": "jito",
    "source": "defillama",
    "tvl_usd": 1272938092
  },
  "paid": true,
  "tool": "get_tvl"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402211 ms$0.005
5 h agoPassed402190 ms$0.005
10 h agoPassed40276 ms$0.005