80trust / 100

Stablecoin Intel

by FiatDock in Onchain & crypto

x402 APIPassing, checked 2 h ago

Stablecoin intelligence — circulating supply, $1.00 peg deviation and per-chain breakdown (incl. Base) for USDC and other stablecoins (DefiLlama). Pay-per-call via x402.

POST https://fiatdock.com/v1/stablecoin/intel

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
59 ms typical, 59 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://fiatdock.com/v1/stablecoin/intel" \
  -H "content-type: application/json" \
  -d '{"asset":"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%2Ffiatdock.com%2Fv1%2Fstablecoin%2Fintel
const res = await pay("https://fiatdock.com/v1/stablecoin/intel", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asset":"USDC"}),
});
console.log(await res.json());

Example input

{
  "asset": "USDC"
}

Example output

{
  "asset": "USDC",
  "name": "USD Coin",
  "note": "pegDeviationPct is the absolute % deviation from $1.00 (NOT basis points). Answers >=400 (and settles nothing) when the upstream data is unavailable, so you are never charged for a missing answer.",
  "onBase": {
    "circulatingUsd": 4200000000,
    "shareOfTotalPct": 5.61
  },
  "pegDeviationPct": 0.01,
  "pegMechanism": "fiat-backed",
  "pegStatus": "on-peg",
  "price": 1.0001,
  "totalCirculatingUsd": 74900000000
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402151 ms$0.002
5 h agoPassed40240 ms$0.002
10 h agoPassed40259 ms$0.002