# Market Indices & Macro Indicators API

> Market Indices & Macro Indicators API is a paid API for AI agents from market.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns real-time major market indices and macro economic indicators including S&P 500, NASDAQ, VIX, 10-Year Treasury yield, WTI Oil, Gold, and USD/EUR exchange rate sourced from FRED.

## Facts

- Endpoint: GET https://market.memoryapi.org/x402/market/indices
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-memoryapi-org-ce3f204c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uAHZc1FrVegcC5DRojcGH

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 market-memoryapi-org-ce3f204c
```

Example prompt: Can you pull up the current macro market snapshot — I want to see the S&P 500, NASDAQ, VIX, 10-year Treasury yield, WTI oil, gold price, and USD/EUR exchange rate all in one place?

## When to prefer this

Use this endpoint when you need a broad macro market snapshot across multiple asset classes (equities, volatility, rates, commodities, FX) in a single call. Prefer this over individual ticker endpoints when you want a high-level economic overview rather than a specific stock quote. Ideal for daily briefings, market summaries, or context-setting before deeper analysis.

## Known failure modes

- FRED data source unavailable — upstream data fetch failure
- Payment required (402) if x402 payment header not included
- Rate limiting if too many calls in a short period
- Stale data if FRED has not updated recently

## How this service works

Major market indices and macro indicators: S&P 500, NASDAQ, VIX, 10-Year Treasury, WTI Oil, Gold, USD/EUR from FRED.

## Output

A structured response containing current values for major market indices and macro indicators: S&P 500, NASDAQ, VIX volatility index, 10-Year US Treasury yield, WTI crude oil price, gold spot price, and USD/EUR exchange rate, sourced from FRED.

## Example request

```json
{}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "as_of": "2025-01-01T00:00:00.000Z",
  "source": "FRED / St. Louis Fed",
  "indices": {
   "vix": {
    "date": "2025-01-02",
    "value": 16.13
   },
   "gold": {
    "date": "2025-01-02",
    "value": 2654.8
   },
   "sp500": {
    "date": "2025-01-02",
    "value": 5893.62
   },
   "nasdaq": {
    "date": "2025-01-02",
    "value": 19310.79
   },
   "oil_wti": {
    "date": "2025-01-02",
    "value": 73.96
   },
   "usd_eur": {
    "date": "2025-01-02",
    "value": 1.0344
   },
   "treasury_10y": {
    "date": "2025-01-02",
    "value": 4.57
   }
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-memoryapi-org-ce3f204c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.memoryapi.org](https://www.zero.xyz/host/market.memoryapi.org/llms.txt)
