75trust / 100

Defi Stablecoins

by Saylor Innovations Data Desk in Onchain & crypto

x402 APIPassing, checked 48 min ago

Stablecoin supply and peg - circulating supply, price, peg deviation, 1d/7d/30d change and top chains for USDT, USDC and 300+ stablecoins

GET
https://saylorinnovations.com/api/defi/stablecoins
Price
$0.01
per call in USDC
Uptime
100%
last 30 days
Response time
363 ms
491 ms slowest 5%
Last check
Passed
48 min ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/defi/stablecoins

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://saylorinnovations.com/api/defi/stablecoins?limit=5&q=usd

Parameters

ParameterTypeRequiredDescription
limitstringNooptional 1-50, default 10
qstringNooptional name or symbol text, e.g. usdc, dai, ethena

Example response

The provider's example. We can't check it without paying.

Example response, 171 lines
{
  "matched": 209,
  "query": "usd",
  "source": "DefiLlama stablecoins",
  "stablecoins": [
    {
      "chains": 157,
      "change_1d_pct": -0.36,
      "change_30d_pct": -2.11,
      "change_7d_pct": -1.77,
      "circulating": 72866575558,
      "name": "USD Coin",
      "peg_deviation_pct": -0.027,
      "peg_mechanism": "fiat-backed",
      "peg_type": "peggedUSD",
      "price_usd": 0.99973,
      "symbol": "USDC",
      "top_chains": [
        {
          "chain": "Ethereum",
          "circulating": 44954686775
        },
        {
          "chain": "Hyperliquid L1",
          "circulating": 7143862635
        },
        {
          "chain": "Solana",
          "circulating": 6786413040
        },
        {
          "chain": "Base",
          "circulating": 4465073689
        },
        {
          "chain": "Arbitrum",
          "circulating": 2273831577
        }
      ]
    },
    {
      "chains": 31,
      "change_1d_pct": -0.42,
      "change_30d_pct": 2.87,
      "change_7d_pct": -3.39,
      "circulating": 4740343558,
      "name": "Ethena USDe",
      "peg_deviation_pct": -0.082,
      "peg_mechanism": "crypto-backed",
      "peg_type": "peggedUSD",
      "price_usd": 0.99918,
      "symbol": "USDe",
      "top_chains": [
        {
          "chain": "Ethereum",
          "circulating": 2451459320
        },
        {
          "chain": "Plasma",
          "circulating": 577976214
        },
        {
          "chain": "Solana",
          "circulating": 468772798
        },
        {
          "chain": "Base",
          "circulating": 391679259
        },
        {
          "chain": "Robinhood Chain",
          "circulating": 372070101
        }
      ]
    },
    {
      "chains": 8,
      "change_1d_pct": -0.25,
      "change_30d_pct": -1.09,
      "change_7d_pct": -3.94,
      "circulating": 4265392312,
      "name": "World Liberty Financial USD",
      "peg_deviation_pct": -0.076,
      "peg_mechanism": "fiat-backed",
      "peg_type": "peggedUSD",
      "price_usd": 0.99924,
      "symbol": "USD1",
      "top_chains": [
        {
          "chain": "Ethereum",
          "circulating": 1502154090
        },
        {
          "chain": "Solana",
          "circulating": 1414058233
        },
        {
          "chain": "BSC",
          "circulating": 1300840240
        },
        {
          "chain": "Aptos",
          "circulating": 19684808
        },
        {
          "chain": "Abcore",
          "circulating": 18563552
        }
      ]
    },
    {
      "chains": 19,
      "change_1d_pct": -0.22,
      "change_30d_pct": 3.84,
      "change_7d_pct": -0.68,
      "circulating": 2874911188,
      "name": "PayPal USD",
      "peg_deviation_pct": -0.03,
      "peg_mechanism": "fiat-backed",
      "peg_type": "peggedUSD",
      "price_usd": 0.9997,
      "symbol": "PYUSD",
      "top_chains": [
        {
          "chain": "Ethereum",
          "circulating": 1745048575
        },
        {
          "chain": "Solana",
          "circulating": 687402420
        },
        {
          "chain": "Arbitrum",
          "circulating": 360352582
        },
        {
          "chain": "Flow",
          "circulating": 69496829
        },
        {
          "chain": "Polygon",
          "circulating": 10389610
        }
      ]
    },
    {
      "chains": 2,
      "change_1d_pct": -0.95,
      "change_30d_pct": 0.03,
      "change_7d_pct": -3.2,
      "circulating": 2423906821,
      "name": "Ripple USD",
      "peg_deviation_pct": 0.015,
      "peg_mechanism": "fiat-backed",
      "peg_type": "peggedUSD",
      "price_usd": 1.00015,
      "symbol": "RLUSD",
      "top_chains": [
        {
          "chain": "Ethereum",
          "circulating": 1312965497
        },
        {
          "chain": "XRPL",
          "circulating": 1110941324
        }
      ]
    }
  ],
  "total_circulating_shown": 87171129437
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/defi/stablecoins?limit=5&q=usd'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/defi/stablecoins?limit=5&q=usd' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fdefi%2Fstablecoins
const res = await pay("https://saylorinnovations.com/api/defi/stablecoins?limit=5&q=usd");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/defi/stablecoins?limit=5&q=usd")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
48 min agoPassed402491 ms$0.01
6 h agoPassed402293 ms$0.01
10 h agoPassed402363 ms$0.01