← All 34 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callDeFi/Market DataBase & Polygon x402 v2

GPU-x402 Live Stablecoin Peg Monitor & Supply Flows Oracle

Sub-second DeFiLlama stablecoin peg deviation (bps), depeg alerts, 24h/7d mint-burn flows & cross-chain USDC/USDT liquidity ($0.005 USDC).

Endpoint & Settlement Specs

x402 Endpoint: POST https://agentx402.fyi/x402/defi/stablecoins
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

curl -i -X POST https://agentx402.fyi/x402/defi/stablecoins \
  -H 'Content-Type: application/json' \
  -d '{"symbols": ["USDC", "USDT", "USDe", "DAI", "PYUSD"], "peg_type": "peggedUSD", "limit": 10}'

TypeScript Autonomous Agent (@x402/fetch)

import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/defi/stablecoins", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"symbols": ["USDC", "USDT", "USDe", "DAI", "PYUSD"], "peg_type": "peggedUSD", "limit": 10})
});
console.log(await res.json());

Example JSON Input

{
  "symbols": [
    "USDC",
    "USDT",
    "USDe",
    "DAI",
    "PYUSD"
  ],
  "peg_type": "peggedUSD",
  "limit": 10
}

Example JSON Output

{
  "global_usd_stablecoin_mcap_usd": 240000000000.0,
  "depeg_alert_count": 0,
  "count": 5,
  "stablecoins": [
    {
      "symbol": "USDC",
      "price_usd": 0.9999,
      "peg_deviation_bps": -1.0,
      "peg_status": "PEGGED",
      "circulating_usd": 60000000000.0,
      "net_flow_24h_usd": 125000000.0,
      "change_24h_pct": 0.21
    }
  ],
  "top_chains": [
    {
      "chain": "Ethereum",
      "total_stablecoins_usd": 127000000000.0,
      "share_pct": 52.9
    }
  ]
}