B

Booaip · Yields

by Booaip

GETBase

$0.01

per call · USD Coin on Base

Top APY yield pools by token symbol and chain, with risk flags (DefiLlama). Body: { symbol?, chain?, limit?, safeOnly? }.

Endpoint

GET https://booaip.vercel.app/api/yields

3

Calls / 30d

2

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://booaip.vercel.app/api/yields", {
  method: "GET",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chain": "base",
    "limit": 5,
    "safeOnly": true,
    "symbol": "USDC"
  }),
});
const data = await res.json();
cURL
curl -X GET \
  "https://booaip.vercel.app/api/yields" \
  -H "Content-Type: application/json" \
  -d '{"chain":"base","limit":5,"safeOnly":true,"symbol":"USDC"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 5,
  "pools": [
    {
      "apyPct": 4.2,
      "project": "aave-v3",
      "riskFlags": [],
      "suspicious": false,
      "tvlUsd": 1000000
    }
  ],
  "suspiciousInResult": 0
}

Payment details

Pay to0xcd6b6d99b7751ff30b68fa1365488eb73fa7cefa
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Booaip & similar services