81trust / 100
Stablecoin Supply
by stableintel-supply in Onchain & crypto
x402 APIPassing, checked 45 min ago
Supply facet for a stablecoin: total circulating supply plus the per-chain breakdown from DefiLlama, cross-checked against an INDEPENDENT on-chain ERC-20 totalSupply read of the curated contract, with a divergence flag when the two disagree beyond a tolerance. Cited to both the open-data source and public on-chain state.
GET https://api.agentstools.dev/stablecoin/supply
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 28 ms typical, 28 ms slowest 5%
- Last check
- 45 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/stablecoin/supply?symbol=DAI"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.agentstools.dev%2Fstablecoin%2Fsupply
const res = await pay("https://api.agentstools.dev/stablecoin/supply?symbol=DAI");
console.log(await res.json());Example input
{
"symbol": "DAI"
}Example output
{
"attribution": [
"Source: DefiLlama Stablecoins (open data)"
],
"divergence_flag": false,
"llama_id": "5",
"name": "Dai",
"onchain_verification": {
"available": true,
"chain": "Ethereum",
"divergence_flag": false,
"onchain_total_supply": 4200000001
},
"supply": {
"chain_count": 12,
"circulating_total": 5300000000,
"per_chain": {
"Ethereum": 4200000000
}
},
"symbol": "DAI"
}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 |
|---|---|---|---|---|
| 45 min ago | Passed | 402 | 28 ms | $0.008 |
| 6 h ago | Passed | 402 | 29 ms | $0.008 |