MacroSignal API Documentation

You need an API key to use the API (Get an API Key),


Quick start

Authenticate using your API key in the Authorization header:

curl -H "Authorization: Bearer <YOUR_KEY>" https://api.macrosignal.com/v1/events/next

API endpoints

GET /v1/events

List events. Query params: country, window_days (default 7).

curl -H "Authorization: Bearer <YOUR_KEY>" \
  "https://api.macrosignal.com/v1/events?country=US&window_days=7"

Sample snippet of the response payload. Two releases from the seven-day window are shown, and events_count matches this snippet:

{
  "cached": false,
  "country": "US",
  "window_days": 7,
  "generated_at": "2026-11-03T23:04:21.402452+00:00",
  "events_count": 2,
  "events": [
    {
      "event_definition_id": "lmi:logistics_managers_index",
      "event_definition_name": "LMI Logistics Managers Index",
      "event_instance_id": "lmi:logistics_managers_index:2026-10-01",
      "event_instance_name": "LMI Logistics Managers Index",
      "country": "US",
      "category": "supply_chain",
      "importance": "medium",
      "event_release": "2026-11-03T11:00:00+00:00",
      "timezone": "America/New_York",
      "reference": "monthly_diffusion_index",
      "reference_date": "2026-10-01",
      "previous_value": 70.2,
      "actual_value": 70.7,
      "source": "Logistics Managers' Index",
      "status": "released"
    },
    {
      "event_definition_id": "bls:nonfarm_payrolls",
      "event_definition_name": "Nonfarm Payrolls",
      "event_instance_id": "bls:nonfarm_payrolls:2026-10-01",
      "event_instance_name": "Nonfarm Payrolls",
      "country": "US",
      "currency": "USD",
      "category": "labor",
      "importance": "high",
      "event_release": "2026-11-06T13:30:00+00:00",
      "timezone": "America/New_York",
      "reference": "Employment Situation",
      "reference_date": "2026-10-01",
      "previous_value": 29.0,
      "actual_value": null,
      "source": "Bureau of Labor Statistics release calendar",
      "status": "scheduled"
    }
  ]
}

Errors

StatusMeaning
200 OKEvents returned successfully.
400 Bad RequestMalformed request — for example, a non-integer window_days or otherwise invalid query parameters.
403 ForbiddenNo API key was provided in the Authorization: Bearer header (the response message is “Missing API key.”), the key is unknown or revoked, or the free plan has no credits remaining. Upgrade your plan to continue.
429 Too Many RequestsRate limit exceeded for your plan. The response includes a Retry-After header and retry_after_seconds field indicating when to retry.
503 Service UnavailableAuthentication backend is temporarily unreachable. Retry after a short backoff.

GET /v1/events/next

next_event is the earliest scheduled event of any importance. minutes_until_next_high_impact_event is the minutes until the next high-importance release, which may be a later event. Query param: country (optional).

curl -H "Authorization: Bearer <YOUR_KEY>" \
  "https://api.macrosignal.com/v1/events/next?country=US"

Sample response:

{
  "country": "US",
  "events_count": 2,
  "minutes_until_next_high_impact_event": 3745,
  "next_event": {
    "event_definition_id": "mba:30_year_mortgage_rate",
    "event_definition_name": "MBA 30-Year Mortgage Rate",
    "event_instance_id": "mba:30_year_mortgage_rate:2026-10-30",
    "event_instance_name": "MBA 30-Year Mortgage Rate",
    "country": "US",
    "category": "housing",
    "importance": "medium",
    "event_release": "2026-11-04T12:00:00+00:00",
    "timezone": "America/New_York",
    "reference": "mba_weekly_mortgage_series",
    "reference_date": "2026-10-30",
    "previous_value": 7.37,
    "actual_value": null,
    "source": "Mortgage Bankers Association Weekly Applications Survey",
    "status": "scheduled"
  },
  "next_events": [
    {
      "event_definition_id": "mba:30_year_mortgage_rate",
      "event_definition_name": "MBA 30-Year Mortgage Rate",
      "event_instance_id": "mba:30_year_mortgage_rate:2026-10-30",
      "event_instance_name": "MBA 30-Year Mortgage Rate",
      "country": "US",
      "category": "housing",
      "importance": "medium",
      "event_release": "2026-11-04T12:00:00+00:00",
      "timezone": "America/New_York",
      "reference": "mba_weekly_mortgage_series",
      "reference_date": "2026-10-30",
      "previous_value": 7.37,
      "actual_value": null,
      "source": "Mortgage Bankers Association Weekly Applications Survey",
      "status": "scheduled"
    },
    {
      "event_definition_id": "mba:mortgage_applications",
      "event_definition_name": "MBA Mortgage Applications",
      "event_instance_id": "mba:mortgage_applications:2026-10-30",
      "event_instance_name": "MBA Mortgage Applications",
      "country": "US",
      "category": "housing",
      "importance": "medium",
      "event_release": "2026-11-04T12:00:00+00:00",
      "timezone": "America/New_York",
      "reference": "mba_weekly_mortgage_series",
      "reference_date": "2026-10-30",
      "previous_value": 3.4,
      "actual_value": null,
      "source": "Mortgage Bankers Association Weekly Applications Survey",
      "status": "scheduled"
    }
  ]
}

Errors

StatusMeaning
200 OKEarliest scheduled event returned successfully.
400 Bad RequestMalformed request — for example, an invalid country value or otherwise malformed query parameters.
403 ForbiddenNo API key was provided in the Authorization: Bearer header (the response message is “Missing API key.”), the key is unknown or revoked, or the free plan has no credits remaining. Upgrade your plan to continue.
429 Too Many RequestsRate limit exceeded for your plan. The response includes a Retry-After header and retry_after_seconds field indicating when to retry.
503 Service UnavailableAuthentication backend is temporarily unreachable. Retry after a short backoff.

GET /v1/events/impact_today

Returns events whose release date is today in UTC.

curl -H "Authorization: Bearer <YOUR_KEY>" \
  "https://api.macrosignal.com/v1/events/impact_today?country=US"

Sample snippet of the response payload:

{
  "country": "US",
  "events": [
    {
      "event_definition_id": "lmi:logistics_managers_index",
      "event_definition_name": "LMI Logistics Managers Index",
      "event_instance_id": "lmi:logistics_managers_index:2026-10-01",
      "event_instance_name": "LMI Logistics Managers Index",
      "country": "US",
      "category": "supply_chain",
      "importance": "medium",
      "event_release": "2026-11-03T11:00:00+00:00",
      "timezone": "America/New_York",
      "reference": "monthly_diffusion_index",
      "reference_date": "2026-10-01",
      "previous_value": 70.2,
      "actual_value": 70.7,
      "source": "Logistics Managers' Index",
      "status": "released"
    },
    {
      "event_definition_id": "bls:jolts_quits_rate",
      "event_definition_name": "JOLTs Quits Rate",
      "event_instance_id": "bls:jolts_quits_rate:2026-09-01",
      "event_instance_name": "JOLTs Quits Rate 2026M09",
      "country": "US",
      "currency": "USD",
      "category": "labor",
      "importance": "medium",
      "event_release": "2026-11-03T15:00:00+00:00",
      "timezone": "America/New_York",
      "reference": "2026M09",
      "reference_date": "2026-09-01",
      "previous_value": 1.9,
      "actual_value": 2.1,
      "source": "Bureau of Labor Statistics",
      "status": "released"
    }
  ]
}

Errors

StatusMeaning
200 OKToday's releases returned successfully.
400 Bad RequestMalformed request — for example, an invalid country value or otherwise malformed query parameters.
403 ForbiddenNo API key was provided in the Authorization: Bearer header (the response message is “Missing API key.”), the key is unknown or revoked, or the free plan has no credits remaining. Upgrade your plan to continue.
429 Too Many RequestsRate limit exceeded for your plan. The response includes a Retry-After header and retry_after_seconds field indicating when to retry.
503 Service UnavailableAuthentication backend is temporarily unreachable. Retry after a short backoff.

OpenAPI spec

The machine-readable OpenAPI spec (YAML) is available here: openapi.yaml