81trust / 100

Defi Protocol

by DeFi protocol profile in Onchain & crypto

x402 APIPassing, checked 5 h ago

One DeFi protocol in full: TVL rank, TVL per chain, recent change, market cap to TVL, token, website, audits and parent, with name suggestions when the slug is unknown. Use it when an agent is researching a specific protocol and needs its size, footprint and audit status in one answer.

POST https://agent402.tools/api/defi-protocol

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/defi-protocol" \
  -H "content-type: application/json" \
  -d '{"protocol":"aave-v3"}'
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%2Fagent402.tools%2Fapi%2Fdefi-protocol
const res = await pay("https://agent402.tools/api/defi-protocol", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"protocol":"aave-v3"}),
});
console.log(await res.json());

Example input

{
  "protocol": "aave-v3"
}

Example output

{
  "cached": true,
  "fetchedAt": "2026-08-22T12:00:00.000Z",
  "protocol": {
    "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
    "auditLinks": [
      "https://aave.com/security"
    ],
    "audits": 2,
    "borrowedUsd": 9000000000,
    "category": "Lending",
    "chainCount": 21,
    "chainTvls": [
      {
        "chain": "Ethereum",
        "tvlUsd": 12000000000
      }
    ],
    "chains": [
      "Ethereum",
      "Base"
    ],
    "change1dPct": 0.8,
    "change1hPct": 0.02,
    "change7dPct": 2.4,
    "description": "Earn interest, borrow assets, and build applications",
    "geckoId": null,
    "listedAt": "2022-04-01",
    "logo": "https://icons.llamao.fi/icons/protocols/aave-v3",
    "mcapTvl": 0.188,
    "mcapUsd": 3200000000,
    "name": "Aave V3",
    "parentProtocol": "aave",
    "pool2Usd": null,
    "rank": 3,
    "slug": "aave-v3",
    "stakingUsd": null,
    "symbol": "AAVE",
    "tvlUsd": 17023522168,
    "twitter": "aave",
    "url": "https://aave.com"
  },
  "source": "defillama-protocols"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402183 ms$0.002