16trust / 100
Stablecoin Peg
by Vextorium in Onchain & crypto
x402 APIFailing, checked 41 min ago
Peg health of a stablecoin (USDT, USDC, DAI, USDe...): current price, deviation from $1, whether it is on peg, circulating supply and pegging mechanism. Detects depegs early. Live from DefiLlama.
POST https://api.vextorium.com/v1/stablecoin-peg
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 41 min ago: Amount "0.004" is not in atomic token units
- Next check
- in 14 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/stablecoin-peg" \
-H "content-type: application/json" \
-d '{"symbol":"USDC"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fstablecoin-peg
const res = await pay("https://api.vextorium.com/v1/stablecoin-peg", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"symbol":"USDC"}),
});
console.log(await res.json());Example input
{
"symbol": "USDC"
}Example output
{
"circulating_usd": 74494705309,
"deviation_pct": -0.016,
"in_parity": true,
"name": "USD Coin",
"note": "Deviation >0.5% from the target value = possible depeg. Source: DefiLlama.",
"price_usd": 0.9998370382144401,
"symbol": "USDC",
"type": "USD"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 41 min ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 5 h ago | Amount "0.004" is not in atomic token units | 402 | 82 ms | $0.004 |
| 9 h ago | Amount "0.004" is not in atomic token units | 402 | 253 ms | $0.004 |
| 14 h ago | Amount "0.004" is not in atomic token units | 402 | 92 ms | $0.004 |
| 18 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 22 h ago | Amount "0.004" is not in atomic token units | 402 | 84 ms | $0.004 |
| 26 h ago | Amount "0.004" is not in atomic token units | 402 | 73 ms | $0.004 |
| 30 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 34 h ago | Amount "0.004" is not in atomic token units | 402 | 95 ms | $0.004 |
| 38 h ago | Amount "0.004" is not in atomic token units | 402 | 80 ms | $0.004 |
| 42 h ago | Amount "0.004" is not in atomic token units | 402 | 81 ms | $0.004 |
| 46 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 116 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |