81trust / 100

Market Yields

by dt0ur.online in Markets & finance

x402 APIPassing, checked 3 h ago

Find the best DeFi yields across 500+ protocols and all major chains: filter by token (USDC, ETH...), chain, protocol, stablecoin-only and minimum TVL; returns APY (base + reward), 30-day mean APY, 7-day change, TVL, impermanent-loss risk and outlook. Sort by APY or TVL.

POST https://dt0ur.online/api/market/yields

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://dt0ur.online/api/market/yields" \
  -H "content-type: application/json" \
  -d '{"chain":"Base","limit":1,"sort":"tvl","stablecoin_only":true,"token":"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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdt0ur.online%2Fapi%2Fmarket%2Fyields
const res = await pay("https://dt0ur.online/api/market/yields", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"Base","limit":1,"sort":"tvl","stablecoin_only":true,"token":"USDC"}),
});
console.log(await res.json());

Example input

{
  "chain": "Base",
  "limit": 1,
  "sort": "tvl",
  "stablecoin_only": true,
  "token": "USDC"
}

Example output

{
  "filters": {
    "chain": "base",
    "min_tvl_usd": 1000000,
    "project": null,
    "sort": "tvl",
    "stablecoin_only": true,
    "token": "USDC"
  },
  "matched": 28,
  "pools": [
    {
      "apy": 4.176,
      "apy_base": 4.176,
      "apy_change_7d": -0.677,
      "apy_mean_30d": 4.92,
      "apy_reward": null,
      "chain": "Base",
      "exposure": "single",
      "il_risk": "no",
      "outlook": "Down",
      "pool_id": "82469f6f-951d-4578-b47e-fb4df326f059",
      "project": "centrifuge-protocol",
      "stablecoin": true,
      "symbol": "USDC",
      "tvl_usd": 42643888
    }
  ],
  "source": "defillama"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402224 ms$0.01