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).
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.
openapi: 3.2.0
info:
title: ZeroGEX Intraday Cone 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: Intraday Cone
paths:
/api/cone/session/{session_date}:
get:
tags:
- Intraday Cone
summary: Get Session Cones
description: Every cone fired on one session, grouped by anchor.
operationId: get_session_cones_api_cone_session__session_date__get
security:
- HTTPBearer: []
parameters:
- name: session_date
in: path
required: true
schema:
type: string
title: Session 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/cone/latest:
get:
tags:
- Intraday Cone
summary: Get Latest Cone
description: The most recent fire — what the live page draws.
operationId: get_latest_cone_api_cone_latest_get
security:
- HTTPBearer: []
parameters:
- name: symbol
in: query
required: false
schema:
type: string
maxLength: 10
default: SPY
title: Symbol
- name: session_date
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Session Date
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/cone/reliability:
get:
tags:
- Intraday Cone
summary: Get Reliability
description: 'The receipt: does a published hold probability mean what it says?
Returns an overall block plus one per horizon, each carrying the Brier
score, the base-rate baseline it must beat, the sample-weighted
calibration error, and the reliability table behind those numbers.
Per-horizon matters as much as overall. The term structure is the part
of this model with an explicitly empirical constant in it
(``CONE_TERM_DECAY``), so a systematic miss concentrated in the +2h bucket
is the signal that the constant is wrong — and it is visible here before
anyone has to argue about it.'
operationId: get_reliability_api_cone_reliability_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: 1
description: Trailing sessions.
default: 30
title: Window
description: Trailing sessions.
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