C

Crypto Data Agent · Yields

by Crypto Data Agent

GETBaseSolana

$0.002

per call · USD Coin on Base

Top DeFi yield pools with APY/TVL, filterable by chain (DefiLlama).

Endpoint

GET https://x402-crypto-data.vercel.app/api/yields

5

Calls / 30d

4

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-crypto-data.vercel.app/api/yields", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-crypto-data.vercel.app/api/yields?chain=Base&limit=5&minTvlUsd=1000000&sortBy=apy&stablecoinOnly=true" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "result": [
    {
      "apy": 4,
      "apyBase": 4,
      "apyReward": null,
      "chain": "Base",
      "ilRisk": "no",
      "pool": "...",
      "project": "morpho-blue",
      "stablecoin": true,
      "symbol": "USDC",
      "tvlUsd": 442443630
    }
  ]
}

Payment details

Pay to0x23c920649f148bd253583f140f540797b312db35
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from Crypto Data Agent & similar services