# SwapHunt Upcoming Macro Events Calendar

> SwapHunt Upcoming Macro Events Calendar is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns a forward calendar of upcoming macro economic events (FOMC, CPI, NFP, etc.) with date, country, and impact level, filterable by days ahead, country, and high-impact only.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/events/macro
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-upcoming-macro-events-calendar-d93c38da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G_UnSu6rI2f8dRRCriOFY

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 swaphunt-upcoming-macro-events-calendar-d93c38da
```

Example prompt: Show me all high-impact US macro events coming up in the next 14 days so I can plan around scheduled volatility.

## When to prefer this

Use this endpoint when you need a forward-looking economic calendar to avoid or plan around scheduled macro volatility events. It is distinct from the /macro/history endpoint which provides past actuals vs estimates. Prefer this over generic news APIs when you need structured, machine-readable event data with impact ratings and country filters.

## Known failure modes

- Invalid country code returns empty results or 400 error
- Days parameter out of supported range may return error or be capped
- No events in the requested window returns empty list
- Service unavailable returns 5xx error
- Payment not processed returns 402 Payment Required

## How this service works

Upcoming macro events (FOMC, CPI, NFP, etc.) with date, country and impact level, filterable to high-impact only. Use to avoid trading into scheduled volatility or to plan around it. Forward calendar; for past actuals use /macro/history.

## Output

A list of upcoming macro economic events including event name (e.g. FOMC, CPI, NFP), scheduled date, country code, and impact level. Results are sorted chronologically and can be filtered to high-impact events only and/or a specific country.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer",
       "default": 7,
       "description": "Days ahead"
      },
      "country": {
       "type": "string",
       "description": "Country filter (e.g. US)"
      },
      "high_impact_only": {
       "type": "boolean",
       "default": false,
       "description": "Only high-impact events"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-upcoming-macro-events-calendar-d93c38da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
