DefiLlama Stablecoins Circulation & Peg Prices
Retrieve stablecoin circulating supply, peg price, mechanism (fiat-backed, crypto-backed, algorithmic), and 24h supply changes across top stablecoins.
curl -sG "https://api.agentapigate.ai/v1/crypto/defillama/stablecoins" \ --data-urlencode "limit=20" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# DefiLlama Stablecoins Circulation & Peg Prices (`crypto.defillama.stablecoins`) **total_stablecoins**: 300 · **count**: 20 ## stablecoins - [1] id: 1, name: Tether, symbol: USDT, peg_type: peggedUSD, peg_mechanism: fiat-backed - [2] id: 2, name: USD Coin, symbol: USDC, peg_type: peggedUSD, peg_mechanism: fiat-backed - [3] id: 146, name: Ethena USDe, symbol: USDe, peg_type: peggedUSD, peg_mechanism: crypto-backed - [4] id: 5, name: Dai, symbol: DAI, peg_type: peggedUSD, peg_mechanism: crypto-backed - [5] id: 209, name: Sky Dollar, symbol: USDS, peg_type: peggedUSD, peg_mechanism: crypto-backed - [6] id: 250, name: Ripple USD, symbol: RLUSD, peg_type: peggedUSD, peg_mechanism: fiat-backed - [7] id: 262, name: World Liberty Financial USD, symbol: USD1, peg_type: peggedUSD, peg_mechanism: fiat-backed - [8] id: 286, name: Global Dollar, symbol: USDG, peg_type: peggedUSD, peg_mechanism: fiat-backed - [9] id: 120, name: PayPal USD, symbol: PYUSD, peg_type: peggedUSD, peg_mechanism: fiat-backed - [10] id: 336, name: United Stables, symbol: U, peg_type: peggedUSD, peg_mechanism: crypto-backed - [11] id: 246, name: Falcon USD, symbol: USDf, peg_type: peggedUSD, peg_mechanism: crypto-backed - [12] id: 14, name: USDD, symbol: USDD, peg_type: peggedUSD, peg_mechanism: crypto-backed - [13] id: 443, name: Open USD, symbol: OUSD, peg_type: peggedUSD, peg_mechanism: fiat-backed - [14] id: 347, name: USDGO, symbol: USDGO, peg_type: peggedUSD, peg_mechanism: fiat-backed - [15] id: 214, name: USDX Money USDX, symbol: USDX, peg_type: peggedUSD, peg_mechanism: crypto-backed
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:crypto.defillama.stablecoins · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | optional | — | Optional stablecoin name or symbol filter (e.g. "USDT", "USDC", "DAI") |
| limit | number | optional | 20 | Max stablecoins returned (1-50) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | crypto_defillama_stablecoins | OAuth 2.1 Hub & /mcp/finance |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 35 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1910t → 433t (-77%) | Partner credit: eligible |
More DefiLlama (api.llama.fi) Data APIs
Query Total Value Locked (TVL), 1d/7d TVL change, chains, and categories across 4,000+ DeFi protocols.
Retrieve Total Value Locked (TVL) ranked across Layer-1 and Layer-2 blockchains from DefiLlama with token symbols and chain IDs.
Filter ranked DeFi yield pools across chains and protocols by APY, TVL, asset symbol, and stablecoin status using a compact server-side index.
Retrieve ranked 24h, 7d, and 30d protocol fee revenue across DEXs, lending markets, L1/L2 chains, and DeFi applications.
Retrieve decentralized exchange (DEX) 24h, 7d, and 30d trading volumes from DefiLlama with optional chain and protocol filtering.
Fetch current USD prices, decimals, symbols, and confidence scores for up to 25 native chain:address tokens via DefiLlama Coins API.
Frequently Asked Questions
How do I call DefiLlama Stablecoins Circulation & Peg Prices (crypto.defillama.stablecoins) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/crypto/defillama/stablecoins with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool crypto_defillama_stablecoins on https://mcp.agentapigate.ai/mcp.
What does crypto.defillama.stablecoins cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on crypto.defillama.stablecoins?
Passing ?format=md transforms the response into normalized Markdown (~433 tokens vs ~1910 raw tokens, saving 77% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only finance endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["crypto.defillama.stablecoins"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.