ZeroGEX Scorecard (v2) API

The Scorecard (v2) API from ZeroGEX, for scorecard (v2).

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 3

GET /api/v2/scorecard/daily Api V2 Scorecard Daily Get #
GET /api/v2/scorecard/signal-record Api V2 Scorecard Signal-Record Get #
GET /api/v2/scorecard/sessions Api V2 Scorecard Sessions Get #

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-scorecard-v2-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-scorecard-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZeroGEX Scorecard (v2) 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: Scorecard (v2)
paths:
  /api/v2/scorecard/daily:
    get:
      tags:
      - Scorecard (v2)
      summary: Api V2 Scorecard Daily Get
      description: 'One trading day''s aggregate of the engine''s output.


        Combines three reads — persisted Action Cards, per-signal flip events

        with realized return at ``horizon_minutes``, and the closing MSI regime —

        into a single payload sized for the public ``/scorecard/{date}`` page

        and the auto-tweet job.


        **Params:**

        - ``date`` — YYYY-MM-DD; defaults to today in America/New_York.

        - ``symbol`` — underlying (default ``SPY``).

        - ``horizon_minutes`` — forward window for ``realized_return`` (5–240, default 60).

        The forward price is bounded to the same regular session: a flip within

        this many minutes of the close counts in ``flips`` but not in ``scored``,

        and contributes nothing to ``avg_directional_return``. Grading it against

        an after-hours print (or, on a Friday, the next Monday''s open) is what

        made ``eod_pressure`` — which can only fire in the last 90 minutes —

        report a meaningless number for every session.


        **Returns:**

        ```json

        {

        "date": "2026-06-29",

        "symbol": "SPY",

        "tz": "America/New_York",

        "horizon_minutes": 60,

        "cards": {

        "total": 12,

        "by_action": [{"action": "SELL_CALL_SPREAD", "count": 4}, ...],

        "first_card_id": 4221,

        "first_card_permalink": "/cards/4221",

        "items": [

        {"id": 4221, "timestamp": "2026-06-29T13:42:00+00:00",

        "pattern": "call_wall_fade", "action": "SELL_CALL_SPREAD",

        "tier": "0DTE", "direction": "bearish", "confidence": 0.68,

        "permalink": "/cards/4221"},

        ...

        ]

        },

        "signals": {

        "events": [{"name": "...", "flips": 3, "wins": 2, "losses": 1,

        "avg_directional_return": 0.0042}, ...],

        "best": {"name": "squeeze_setup", "avg_directional_return": 0.0074, "wins": 2, "losses": 1, "flips": 3},

        "worst": {"name": "vanna_charm_flow", "avg_directional_return": -0.0031, "wins": 1, "losses": 2, "flips": 3}

        },

        "regime": {"timestamp": "...", "composite_score": -0.28, "label": "short gamma"},

        "tweet_text": "SPY · 2026-06-29 — 12 Playbook calls. Best: Squeeze Setup +0.74%. Worst: Vanna Charm Flow −0.31%. Regime: short gamma. https://zerogex.io/scorecard/2026-06-29",

        "is_empty": false

        }

        ```


        ``tweet_text`` is the canonical one-line summary the auto-tweet job

        uses verbatim; computing it server-side keeps wording consistent

        across the OG card, the page header, and the X/Discord tweet.


        Returns ``is_empty: true`` with zeroed sections when no cards were

        emitted and no flip events occurred (typical for non-trading days or

        pre-launch dates).'
      operationId: api_v2_scorecard_daily_get
      security:
      - HTTPBearer: []
      parameters:
      - name: date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Trading day in YYYY-MM-DD; defaults to today (America/New_York).
          title: Date
        description: Trading day in YYYY-MM-DD; defaults to today (America/New_York).
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      - name: horizon_minutes
        in: query
        required: false
        schema:
          type: integer
          maximum: 240
          minimum: 5
          default: 60
          title: Horizon Minutes
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope_Any_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/scorecard/signal-record:
    get:
      tags:
      - Scorecard (v2)
      summary: Api V2 Scorecard Signal-Record Get
      description: 'Per-signal flip record over the last ``sessions`` trading days.


        The daily scorecard is one calendar day, which cannot answer "is this

        signal any good" — the question a subscriber actually asks after a signal

        calls one session correctly. This is the same flip definition and the same

        session-bounded forward return, aggregated over a window.


        **Params:**

        - ``symbol`` — underlying (default ``SPY``).

        - ``sessions`` — trailing weekdays to cover (2–120, default 30).

        - ``horizon_minutes`` — forward window (5–240, default 60).

        - ``signal`` — one signal name; omit for all of them.


        **Returns:** ``signals[]`` with ``flips``, ``scored``, ``wins``,

        ``losses``, ``win_rate`` and ``avg_directional_return`` per name.


        ``scored`` can be lower than ``flips``, and ``win_rate`` is ``null`` when

        nothing was scorable. A signal that only fires near the close

        (``eod_pressure``) can have many flips and few scorable ones; that is the

        honest shape of the measurement, not a defect to paper over.'
      operationId: api_v2_scorecard_signal-record_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          maxLength: 10
          default: SPY
          title: Symbol
      - name: sessions
        in: query
        required: false
        schema:
          type: integer
          maximum: 120
          minimum: 2
          default: 30
          title: Sessions
      - name: horizon_minutes
        in: query
        required: false
        schema:
          type: integer
          maximum: 240
          minimum: 5
          default: 60
          title: Horizon Minutes
      - name: signal
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Single signal name; omit for every Basic + Advanced signal.
          title: Signal
        description: Single signal name; omit for every Basic + Advanced signal.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope_Any_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/scorecard/sessions:
    get:
      tags:
      - Scorecard (v2)
      summary: Api V2 Scorecard Sessions Get
      description: 'Recent trading days that have a scorecard, newest first.


        Backs the /scorecard landing page. Mirrors the ``/api/replay/sessions``

        and ``/api/forecast/available-dates`` contract — ``{symbol, count,

        sessions: []}`` with enough per-date metadata (Playbook call count and the

        labeled closing regime) that a card renders without a fetch per day.


        Empty ``sessions`` means the engine has never written for that symbol, not

        an error.'
      operationId: api_v2_scorecard_sessions_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:
                $ref: '#/components/schemas/Envelope_Any_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Freshness:
      properties:
        evaluated_at:
          type: string
          format: date-time
          title: Evaluated At
          description: 'When the API evaluated this response (server wall clock, UTC). Endpoint-health signal: advances on every request even when the underlying data is unchanged.'
        generated_at:
          type: string
          format: date-time
          title: Generated At
          description: When the served data was computed. Equals the snapshot stamp for cycle-backed endpoints, or evaluated_at for endpoints computed on demand for this request.
        source_timestamp:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Source Timestamp
          description: Timestamp of the upstream market observation the payload derives from. This is what freshness_status is measured against. Null when the endpoint has no upstream feed or returned no rows.
        latest_event_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Latest Event At
          description: Newest event timestamp present in the payload (last bar, last trade, last scored row). Best-effort on very large responses, which are sampled rather than fully walked.
        age_seconds:
          anyOf:
          - type: number
          - type: 'null'
          title: Age Seconds
          description: evaluated_at - source_timestamp, in seconds. Null when source_timestamp is null.
        market_session_status:
          type: string
          title: Market Session Status
          description: pre-market | regular | after-hours | closed (US/Eastern).
        expected_update_cadence:
          anyOf:
          - type: string
          - type: 'null'
          title: Expected Update Cadence
          description: ISO-8601 duration for how often this endpoint's data is expected to change right now, e.g. PT60S. Null means no updates are expected (weekend, holiday, or a feed that only runs during the session).
        expected_update_cadence_seconds:
          anyOf:
          - type: number
          - type: 'null'
          title: Expected Update Cadence Seconds
          description: expected_update_cadence as a number of seconds.
        cadence_profile:
          type: string
          title: Cadence Profile
          description: Identifier of the cadence class this endpoint belongs to, e.g. analytics_cycle. Stable across releases; the seconds behind it may be retuned.
        stale_after:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Stale After
          description: Instant after which this payload should be treated as stale. Null whenever expected_update_cadence is null.
        freshness_status:
          $ref: '#/components/schemas/FreshnessStatus'
          description: fresh | aging | stale | session_closed | static | unknown.
      type: object
      required:
      - evaluated_at
      - generated_at
      - market_session_status
      - cadence_profile
      - freshness_status
      title: Freshness
      description: The v2 freshness envelope. Present on every ``/api/v2/*`` response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    FreshnessStatus:
      type: string
      enum:
      - fresh
      - aging
      - stale
      - session_closed
      - static
      - unknown
      title: FreshnessStatus
      description: "The rolled-up freshness verdict for one response.\n\n``fresh``\n    ``source_timestamp`` is within one expected update cadence.\n``aging``\n    Past one cadence but not yet past ``stale_after`` — the grace band\n    that absorbs normal cycle jitter.  Not an error; a client that\n    polls faster than the cadence sees this routinely.\n``stale``\n    Past ``stale_after`` while updates *were* expected.  This is the\n    actionable state: the feed behind this endpoint is late.\n``session_closed``\n    A feed-backed endpoint whose feed is not due to produce anything\n    right now (weekend, holiday, or a feed that only runs during the\n    session).  The payload is the last good value — deliberately NOT\n    reported as ``stale``, because an overnight consumer polling a\n    closed market is not observing a fault and should not page on it.\n``static``\n    The endpoint is not feed-backed at all: completed history, or a\n    result computed from the caller's own inputs.  Age here carries no\n    health meaning and never becomes a fault.\n``unknown``\n    No source timestamp could be resolved from the payload (e.g. a\n    pure calculator, an admin endpoint, or an empty result set).  A\n    consumer should fall back to ``evaluated_at`` for endpoint health\n    and make no claim about data age."
    Envelope_Any_:
      properties:
        data:
          title: Data
        freshness:
          $ref: '#/components/schemas/Freshness'
      type: object
      required:
      - data
      - freshness
      title: Envelope[Any]
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: API-Key