B

Booaip · Stablecoins

by Booaip

GETBase

$0.01

per call · USD Coin on Base

Stablecoin circulating supply, price and peg deviation (DefiLlama). Body: { symbol? }.

Endpoint

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

2

Calls / 30d

1

Unique payers / 30d

Aug 28

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

Example response

{
  "circulatingUsd": 100000000000,
  "found": true,
  "pegDeviationPct": 0.01,
  "symbol": "USDT"
}

Payment details

Pay to0xcd6b6d99b7751ff30b68fa1365488eb73fa7cefa
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Booaip & similar services