x402AgentsToolsHub

Stablecoin Metrics

Live stablecoin health from DefiLlama: current price vs $1 peg, depeg distance, total circulating supply, backing type and the chain breakdown of where the supply lives. The due-diligence read before an agent touches a stablecoin.

🔌 Server-side tool

This tool runs on the server (it fetches third-party URLs directly and cannot run in your browser). Use the paid JSON API below — the worked examples show real server-side results and refresh automatically.

Worked examples

USDC

GET /api/v1/crypto/stablecoin-metrics?symbol=USDC

Result: USDC ≈ $0.9998 (-0.020% vs $1 peg) · $72.72B circulating

USDT

GET /api/v1/crypto/stablecoin-metrics?symbol=USDT

Result: USDT ≈ $0.9991 (-0.093% vs $1 peg) · $183.38B circulating

DAI

GET /api/v1/crypto/stablecoin-metrics?symbol=DAI

Result: DAI ≈ $1.0002 (+0.023% vs $1 peg) · $4.73B circulating

Machine API (x402)

$0.005 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/crypto/stablecoin-metrics?symbol=USDC HTTP/1.1
Host: agentstoolshub.com

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "crypto/stablecoin-metrics",
  "input": {"symbol":"USDC"},
  "result": { "value": 0.9998035690033927, "answer": "USDC ≈ $0.9998 (-0.020% vs $1 peg) · $72.72B circulating" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

The stablecoin health sheet an agent should read before transacting: price vs the $1 peg with the depeg distance in percent, circulating supply, collateral mechanism, and where the supply sits per chain. Data from DefiLlama's stablecoins API, cached ten minutes.

Frequently asked questions

What does 'depeg distance' tell me?

How far the market price sits from exactly $1. Sub-0.1% is normal trading noise; anything beyond ~1% warrants checking the peg mechanism and recent news before accepting the coin at face value.

Which stablecoins are covered?

Everything DefiLlama tracks — 200+ assets from USDC and USDT to smaller algorithmic and synthetic pegs, searchable by symbol.

Related tools