ZeroGEX Forecast API

The Forecast API from ZeroGEX, for forecast.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /api/forecast/available-dates Get Available Dates #
GET /api/forecast/{forecast_date} Get Forecast For Date #
GET /api/forecast Get Latest Forecast #
GET /api/forecast/history/recent Get Recent History #
GET /api/forecast/stats/rolling Get Rolling Stats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zerogex-io:zerogex-io-forecast-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zerogex-io-forecast-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZeroGEX Forecast API
  description: 'Real-time options analytics API.


    **Two versions are served.**


    * **v2 (recommended)** — `/api/v2/*`. Every endpoint returns `{"data": ..., "freshness": {...}}`, where the `freshness` block reports response evaluation time, the underlying data''s source timestamp, the market session, the expected update cadence, and a rolled-up `freshness_status` — so endpoint health and data age are separate, machine-readable facts on every response.

    * **v1 (stable)** — `/api/*` and `/api/v1/levels/*`. Unchanged and supported; `data` in a v2 response is byte-for-byte the v1 body.


    See "API versions & the freshness envelope" in API_Guide.md for the field contract and the per-endpoint cadence table.'
  version: 2.0.0
tags:
- name: Forecast
paths:
  /api/forecast/available-dates:
    get:
      tags:
      - Forecast
      summary: Get Available Dates
      description: 'Distinct forecast dates for the /forecast landing page''s date picker.


        Mirrors the /api/replay/sessions contract: newest-first list with per-date

        metadata (regime, verdict pills) so cards can render without a second

        fetch. Returns ``{symbol, count, dates: []}`` — empty ``dates`` when the

        writer has never fired for that symbol.'
      operationId: get_available_dates_api_forecast_available_dates_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 365
          minimum: 1
          default: 60
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/forecast/{forecast_date}:
    get:
      tags:
      - Forecast
      summary: Get Forecast For Date
      description: 'One symbol/date forecast — morning snapshot + (when written) receipt.


        Returns 404 when no row exists for the date (writer hasn''t run yet, or

        the date pre-dates the feature launch). Receipt fields are ``null`` when

        the morning row exists but the 16:05 ET receipt cron hasn''t fired yet.'
      operationId: get_forecast_for_date_api_forecast__forecast_date__get
      security:
      - HTTPBearer: []
      parameters:
      - name: forecast_date
        in: path
        required: true
        schema:
          type: string
          title: Forecast Date
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/forecast:
    get:
      tags:
      - Forecast
      summary: Get Latest Forecast
      description: 'Latest committed forecast for the symbol (today, or the most recent

        prior trading day if today''s writer hasn''t fired yet).'
      operationId: get_latest_forecast_api_forecast_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/forecast/history/recent:
    get:
      tags:
      - Forecast
      summary: Get Recent History
      description: 'Compact history feed — one row per recent forecast with just the

        verdict columns. Powers the rolling 30-day hit-rate strip.'
      operationId: get_recent_history_api_forecast_history_recent_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 180
          minimum: 1
          default: 30
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/forecast/stats/rolling:
    get:
      tags:
      - Forecast
      summary: Get Rolling Stats
      description: 'Rolling N-day hit rates by claim type — feeds the OG card footer

        strip and the page''s transparency panel.'
      operationId: get_rolling_stats_api_forecast_stats_rolling_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      - name: window
        in: query
        required: false
        schema:
          type: integer
          maximum: 180
          minimum: 5
          default: 30
          title: Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: API-Key