# x402stock.xyz US M2 Money Supply

> x402stock.xyz US M2 Money Supply is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the current US M2 money stock (monthly, seasonally adjusted, in billions of dollars) with latest value, prior month, month-over-month and year-over-year changes, and recent history — sourced from FRED.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/money-supply
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-xyz-us-m2-money-supply-957eec5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pcDfsj419nqZNJN1m-l4M

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402stock-xyz-us-m2-money-supply-957eec5a
```

Example prompt: What's the latest US M2 money supply reading — give me the current value, how it changed from last month, and the year-over-year growth rate?

## When to prefer this

Use this endpoint when you need the current official US M2 money supply figure with computed deltas (MoM, YoY) in a single call, without needing a FRED API key. Ideal for macro dashboards, inflation context, or risk-asset analysis workflows. Prefer over direct FRED API access when you want pre-computed change metrics and a pay-per-call model with no subscription.

## Known failure modes

- Payment failure — x402 USDC payment not processed, returns 402 Payment Required
- FRED data temporarily unavailable — upstream source outage may return 503 or error payload
- No data returned if FRED has not yet published the latest monthly release
- Malformed request — unsupported HTTP method returns 405

## How this service works

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.

## Output

Returns a JSON object with: the FRED series ID and title, unit (billions of dollars), frequency (monthly), as_of date, latest month's value and date, prior month's value and date, dollar change, percent change month-over-month, year-over-year percent change, and an array of recent historical data points (date + value pairs).

## Example request

```json
{
 "properties": "current"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-xyz-us-m2-money-supply-957eec5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
