82trust / 100

Money Supply

by x402stock.xyz in Markets & finance

x402 APIPassing, checked 4 h ago

US M2 money stock, monthly, in billions of dollars (seasonally adjusted), with the latest value, prior month, month-over-month and year-over-year change, and recent history. No ticker needed. A liquidity gauge watched for inflation and risk-asset context. Sourced from the St. Louis Fed (FRED). From x402stock, a pay-per-call market & economic data API. Pay per request in USDC via x402, no API key.

GET https://x402stock.xyz/api/v1/money-supply

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/money-supply"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402stock.xyz%2Fapi%2Fv1%2Fmoney-supply
const res = await pay("https://x402stock.xyz/api/v1/money-supply");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of": "2026-04-01T00:00:00.000Z",
  "change": 56.6,
  "change_percent": 0.26,
  "frequency": "monthly",
  "history": [
    {
      "date": "2026-04-01",
      "value": 22012.3
    }
  ],
  "latest": {
    "date": "2026-04-01",
    "value": 22012.3
  },
  "prior": {
    "date": "2026-03-01",
    "value": 21955.7
  },
  "series_id": "M2SL",
  "source": "fred",
  "title": "M2 Money Stock",
  "unit": "billions_of_usd",
  "yoy_percent": 3.9
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402200 ms$0.01