Skip to content

GET /v1/specpa/{ticker}

Endpoints

GET /v1/specpa/{ticker}

Run specpa analytics API

Input parameters

Parameter In Type Default Nullable Description
ticker path string No Stock/options ticker symbol (e.g. SPY, QQQ, BRK.B)

Request headers

Header Required Description
X-API-Key Required Your API key, sent on every request.
X-Correlation-ID Optional Request ID for tracing. If omitted, the server assigns one and returns it in the X-Correlation-ID response header.

Response 200 OK

application/json

{
    "status": "completed",
    "ticker": "AAPL",
    "session_date": "2026-07-21",
    "session_status": "live",
    "generated_at": "2026-07-21T09:45:10-04:00",
    "data_status": "complete",
    "expiry_date": "2026-07-24",
    "spot_last_updated": "2026-07-21T09:40:00-04:00",
    "slice_count": 3,
    "slices": [
        {
            "snapshot_timestamp": "2026-07-21T09:30:00-04:00",
            "spot_price": 224.02,
            "volume_quality": "nonzero",
            "c10": 226.0,
            "c20": 226.0,
            "c30": 226.0,
            "c40": 226.0,
            "c50": 226.0,
            "p10": 222.0,
            "p20": 222.0,
            "p30": 222.0,
            "p40": 222.0,
            "p50": 222.0
        },
        {
            "snapshot_timestamp": "2026-07-21T09:35:00-04:00",
            "spot_price": 224.1,
            "volume_quality": "nonzero",
            "c10": 226.0,
            "c20": 226.0,
            "c30": 226.01,
            "c40": 226.01,
            "c50": 226.01,
            "p10": 222.0,
            "p20": 222.0,
            "p30": 221.99,
            "p40": 221.99,
            "p50": 221.99
        },
        {
            "snapshot_timestamp": "2026-07-21T09:40:00-04:00",
            "spot_price": 224.18,
            "volume_quality": "nonzero",
            "c10": 226.0,
            "c20": 226.01,
            "c30": 226.01,
            "c40": 226.02,
            "c50": 226.02,
            "p10": 222.0,
            "p20": 221.99,
            "p30": 221.99,
            "p40": 221.98,
            "p50": 221.98
        }
    ],
    "error_message": null,
    "error_code": null,
    "metadata": null
}

Schema of the response body

{
    "properties": {
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Command execution status: completed, failed, etc."
        },
        "ticker": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Ticker"
        },
        "session_date": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Session Date",
            "description": "ET trading session (YYYY-MM-DD) the slices belong to. It stays on the last session until the next 09:30 ET open."
        },
        "session_status": {
            "anyOf": [
                {
                    "$ref": "#/components/schemas/SessionStatus"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Where session_date stands now: premarket (not open yet), live (from the 09:30 ET open to the close), or provisional (closed; the data is not final yet). Holidays and early closes follow the exchange calendar."
        },
        "generated_at": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Generated At",
            "description": "ET ISO 8601 timestamp when this response was generated"
        },
        "data_status": {
            "anyOf": [
                {
                    "$ref": "#/components/schemas/DataStatus"
                },
                {
                    "type": "null"
                }
            ],
            "description": "awaiting_first_slice (no slice published yet today) or complete (from the first slice). Describes pending data only; published slices are always returned. Not part of error responses, which use the 7000000-family error body."
        },
        "expiry_date": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Expiry Date",
            "description": "Contract expiry date (YYYY-MM-DD) of the options in this response: the session's 0DTE expiry, or the next listed expiry on a day with no expiry for this ticker."
        },
        "spot_last_updated": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Spot Last Updated",
            "description": "ET ISO 8601 start time of the most recent 5-minute slice in the data"
        },
        "slice_count": {
            "anyOf": [
                {
                    "type": "integer"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Slice Count",
            "description": "Number of 5-minute slices in this response"
        },
        "slices": {
            "anyOf": [
                {
                    "items": {
                        "$ref": "#/components/schemas/SpecpaSlice"
                    },
                    "type": "array"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Slices",
            "description": "Per-snapshot specpa slices ordered by snapshot_timestamp"
        },
        "error_message": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Error Message"
        },
        "error_code": {
            "anyOf": [
                {
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Error Code"
        },
        "metadata": {
            "anyOf": [
                {
                    "additionalProperties": true,
                    "type": "object"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Metadata"
        }
    },
    "type": "object",
    "required": [
        "status"
    ],
    "title": "SpecpaResponse",
    "description": "Specpa API payload."
}
Name Description Schema
X-Correlation-ID Request ID for tracing: the value you sent in X-Correlation-ID, or one the server generated. Returned on every response the API produces; some edge errors (e.g. rate limiting) may omit it. string

Schemas

DataStatus

Type: string

ErrorResponse

Name Type Description
command_name Command the request mapped to (e.g. 'centab')
error_code string Consumer-facing 7000000-family error code
error_message string Generic, source-agnostic error message
status string Always 'failed' for an error body
target Offending request field for 7000000 (e.g. 'ticker')

SessionStatus

Type: string

SpecpaResponse

Name Type Description
data_status awaiting_first_slice (no slice published yet today) or complete (from the first slice). Describes pending data only; published slices are always returned. Not part of error responses, which use the 7000000-family error body.
error_code
error_message
expiry_date Contract expiry date (YYYY-MM-DD) of the options in this response: the session's 0DTE expiry, or the next listed expiry on a day with no expiry for this ticker.
generated_at ET ISO 8601 timestamp when this response was generated
metadata
session_date ET trading session (YYYY-MM-DD) the slices belong to. It stays on the last session until the next 09:30 ET open.
session_status Where session_date stands now: premarket (not open yet), live (from the 09:30 ET open to the close), or provisional (closed; the data is not final yet). Holidays and early closes follow the exchange calendar.
slice_count Number of 5-minute slices in this response
slices Per-snapshot specpa slices ordered by snapshot_timestamp
spot_last_updated ET ISO 8601 start time of the most recent 5-minute slice in the data
status string Command execution status: completed, failed, etc.
ticker

SpecpaSlice

Name Type Description
c10 Call level C10 (10th percentile) as of this slice, in strike units (a price, not a percent); null until a call centroid exists
c20 Call level C20 (20th percentile), in strike units; null until a call centroid exists
c30 Call level C30 (30th percentile), in strike units; null until a call centroid exists
c40 Call level C40 (40th percentile), in strike units; null until a call centroid exists
c50 Call level C50 (median), in strike units; null until a call centroid exists
p10 Put level P10 (90th percentile; put levels count down from the top) as of this slice, in strike units (a price, not a percent); null until a put centroid exists
p20 Put level P20 (80th percentile), in strike units; null until a put centroid exists
p30 Put level P30 (70th percentile), in strike units; null until a put centroid exists
p40 Put level P40 (60th percentile), in strike units; null until a put centroid exists
p50 Put level P50 (median), in strike units; null until a put centroid exists
snapshot_timestamp string ET ISO 8601 start time of this 5-minute slice
spot_price number Underlying spot price (underlying's price units) for this slice
volume_quality VolumeQuality nonzero, zero, or suspect_zero

VolumeQuality

Type: string

Errors

HTTP Meaning Body
400 That ticker symbol doesn't look valid. Please check it and try again. ErrorResponse
401 Your API key is missing or invalid. Please check the X-API-Key header. ErrorResponse
403 This data isn't included in your current plan. ErrorResponse
404 We don't have data for that ticker. Double-check the symbol. ErrorResponse
422 We couldn't prepare this data right now. Please try again shortly. ErrorResponse
500 Something went wrong on our end. Try again, or contact support if it persists. ErrorResponse
502 We can't reach the market data right now. Please try again shortly. ErrorResponse
503 The service is briefly unavailable. Please try again in a moment. ErrorResponse
504 This request took too long. Please try again. ErrorResponse

Request example

Replace any YOUR_... query values before sending.

curl --request GET "https://api.gammaedge.us/v1/specpa/AAPL" \
  --header "X-API-Key: $GAMMAEDGE_API_KEY"

See error handling and rate limits for retry guidance.