A

Agentbit · Defi Stablecoins

by Agentbit

POSTBase

$0.002

per call · USD Coin on Base

Stablecoin market data with the number agents paying in USDC actually need: current price and PEG DEVIATION per coin, circulating supply, peg mechanism and chains, ranked by market cap. Filter by symbol or screen for depegs (absolute deviation above a threshold). Open DefiLlama data, refreshed every 10 minutes.

Endpoint

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

1

Calls / 30d

1

Unique payers / 30d

Sep 6

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

Example response

{
  "note": "peg_deviation_percent = (price - 1.00) * 100 for USD-pegged assets.",
  "result_count": 1,
  "stablecoins": [
    {
      "chains": [
        "Ethereum",
        "Base",
        "Solana"
      ],
      "circulating_usd": 72000000000,
      "name": "USD Coin",
      "peg_deviation_percent": -0.02,
      "peg_mechanism": "fiat-backed",
      "peg_type": "peggedUSD",
      "price": 0.9998,
      "symbol": "USDC"
    }
  ],
  "universe_size": 180
}

Payment details

Pay to0x4395c7e383b7e05665aad7f36ed77c01923dd965
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 Agentbit & similar services