# Trading Data API – Macro Economic Calendar

> Trading Data API – Macro Economic Calendar is a paid API for AI agents from api-production-54bd.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Returns upcoming and recent macroeconomic events (e.g. Fed meetings, CPI releases, NFP) relevant to trading decisions

## Facts

- Endpoint: POST https://api-production-54bd.up.railway.app/v1/macro-calendar
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trading-data-api-macro-economic-calendar-a8a18d3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YxHS1tQ8ioCXcbCHA21q6

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 trading-data-api-macro-economic-calendar-a8a18d3e -d '<json body>'
```

Example prompt: Pull the macro economic calendar for the next week and flag any high-impact events like Fed decisions, CPI, or NFP that could move the markets.

## When to prefer this

Use this endpoint when an agent or trader needs to anticipate market-moving economic data releases, plan entries/exits around volatility, or contextualize price action with scheduled macro events. Prefer over generic news APIs when you need structured, time-stamped economic event data with forecast vs actual values.

## Known failure modes

- No events available for requested date range — empty array returned
- Invalid query parameters — 400 error with message
- Upstream data source unavailable — 503 or timeout
- Payment not processed (x402) — 402 Payment Required if USDC payment not attached

## How this service works

Trading Data API — 23 endpoints for agents: crypto & stock prices/OHLCV, ATR, Fair Value Gaps, ICT liquidity levels, funding/OI, order books, Kalshi prediction markets, DeFi TVL, volatility, macro calendar, and an AI momentum score. Full catalog at /v1/status.

## Output

A list of upcoming macroeconomic events with timestamps, event names (e.g. FOMC, CPI, NFP), expected and previous values, actual values (if released), impact ratings, and the currency/region they affect — useful for timing trades around volatility-inducing news.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trading-data-api-macro-economic-calendar-a8a18d3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-54bd.up.railway.app](https://www.zero.xyz/host/api-production-54bd.up.railway.app/llms.txt)
