utilpeek: stablecoin peg check (USDC, USDT, DAI, USDe, PYUSD) from on-chain Uniswap pools, in basis points
check_stablecoin_pegCheck whether USDC, USDT, DAI, USDe, or PYUSD holds its dollar peg using on-chain Uniswap V3 prices, with deviation and on/off-peg status.
Instructions
utilpeek: Check stablecoin peg: is USDC, USDT, DAI, USDe or PYUSD holding its dollar peg. For supply by chain use get_stablecoin_supply. Returns whether USDC, USDT, DAI, USDe or PYUSD holds its dollar peg, from Ethereum Uniswap V3 pools: price_usd, deviation_bps, on_peg / watch / off_peg status (50 and 200 bps), the pools and their depth, and the read time. Indicative on-chain prices, not an oracle; non-USDC coins are priced in USDC and USDC by cross-check; pools read at most every 30 s; a failed coin is in errors; all coins failing is a 502 and an unknown coin a 422 (neither charged). Typically 1 to 4 s (one chain read), under 100 ms when cached. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/stablecoin-peg-check-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | No | Stablecoins to check, any of USDC, USDT, DAI, USDe and PYUSD (case does not matter). Omit for all five; an unknown coin is a 422 that lists the supported ones. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age_s | No | ||
| block | No | ||
| chain | No | ||
| coins | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| cached | No | ||
| errors | No | ||
| method | No | ||
| licence | No | ||
| read_at | No | ||
| warnings | No | ||
| timestamp | No | ||
| disclaimer | No | ||
| indicative | No | ||
| quote_asset | No | ||
| thresholds_bps | No |