82trust / 100

Defi Yields

by agentbit.app in Onchain & crypto

x402 APIPassing, checked 2 h ago

Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.

POST https://agentbit.app/v1/defi/yields

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
89 ms typical, 89 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 POST "https://agentbit.app/v1/defi/yields" \
  -H "content-type: application/json" \
  -d '{"chain":"base","limit":5,"stablecoins_only":true,"symbol":"USDC"}'
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%2Fagentbit.app%2Fv1%2Fdefi%2Fyields
const res = await pay("https://agentbit.app/v1/defi/yields", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","limit":5,"stablecoins_only":true,"symbol":"USDC"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "limit": 5,
  "stablecoins_only": true,
  "symbol": "USDC"
}

Example output

{
  "disclaimer": "APY figures are as reported and change constantly; high APY usually means high risk. Not financial advice.",
  "pools": [
    {
      "apy": 4.21,
      "apy_base": 4.21,
      "apy_reward": null,
      "chain": "Base",
      "il_risk": "no",
      "pool_id": "aa70268e-4b52-42bf-a116-608b370f9501",
      "project": "aave-v3",
      "stablecoin": true,
      "symbol": "USDC",
      "tvl_usd": 182000000
    }
  ],
  "result_count": 1,
  "universe_size": 6200
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40289 ms$0.002
7 h agoPassed402214 ms$0.002