GET /v1/calendar/economics

$0.01hourlytier: utilitycache 3600sEngine A — Probability API

Upcoming economics market resolutions in date order with current blended probabilities — the forward calendar of economics events an agent can position around. Same shape as /v1/calendar, pre-filtered to economics markets.

Parameters

NameInTypeRequiredNotes
daysqueryintegerno (default: 14)
categoryquerystringno — one of "politics", "economics", "weather", "crypto", "sports", "science-tech", "entertainment"

Example

curl "https://x402-factory.com/v1/calendar/economics?days=30"

Example response

{
  "data": {
    "events": [
      {
        "slug": "gdp-q2-2026-positive",
        "question": "Will the Q2 2026 US GDP advance print show positive growth?",
        "resolution_date": "2026-07-30",
        "current_p": 0.7073,
        "category": "economics"
      },
      {
        "slug": "opec-production-cut-2026-08",
        "question": "Will OPEC+ announce a production cut at its August 2026 meeting?",
        "resolution_date": "2026-08-03",
        "current_p": 0.2443,
        "category": "economics"
      },
      {
        "slug": "us-cpi-above-3pct-2026-08",
        "question": "Will July CPI year-over-year come in above 3.0%?",
        "resolution_date": "2026-08-12",
        "current_p": 0.442,
        "category": "economics"
      }
    ]
  },
  "meta": {
    "endpoint": "/v1/calendar/economics",
    "version": "1.0.0",
    "generated_at": "2026-08-18T22:54:16.760Z",
    "freshness": "hourly",
    "sources": [
      "kalshi",
      "polymarket"
    ],
    "request_id": "req_00000000",
    "docs": "https://x402-factory.com/docs/probability.calendar.economics",
    "data_mode": "live"
  }
}

Response schema (data payload)

{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "resolution_date": {
            "type": "string"
          },
          "current_p": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "category": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "question",
          "resolution_date",
          "current_p",
          "category"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "events"
  ],
  "additionalProperties": false
}

The platform wraps every payload in an envelope: { "data": …, "meta": { endpoint, version, generated_at, freshness, sources, request_id, docs, data_mode } }.

Payment (x402)

Unpaid requests receive 402 with payment requirements (accepts). Pay $0.01 in USDC on Base per call via an X-PAYMENT header — see docs.x402.org. With PAYMENT_MODE=disabled (local dev) the endpoint is open.

Errors

StatusCodeMeaning
400INVALID_PARAMSInput failed validation; message lists the offending fields.
404NOT_FOUNDNo matching resource; suggestion may point to a sibling endpoint.
410RESOLVEDMarket/event settled; body includes a resolution summary.
503STALE_DATAUpstream feed down; stale data is never silently served beyond 2× cache TTL.
500INTERNALOur bug. The request_id helps us find it.