Skip to content

GET /v1/centab/{ticker}/crossing

Endpoints

GET /v1/centab/{ticker}/crossing

Linfit crossing per centroid slice

Description For each centab snapshot: where the call and put linfit lines meet, as of that snapshot. A crossing is reported when it falls after the snapshot and no later than 20:00 ET; after 16:00 ET its status is after_close. Same ticker, expiry and session rules as /v1/centab.

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,
            "crossing_status": "insufficient_data",
            "crossing_time": null,
            "crossing_price": null,
            "minutes_to_crossing": null,
            "crossing_vs_spot": null
        },
        {
            "snapshot_timestamp": "2026-07-21T09:35:00-04:00",
            "spot_price": 224.1,
            "crossing_status": "in_session",
            "crossing_time": "2026-07-21T09:58:34-04:00",
            "crossing_price": 223.71,
            "minutes_to_crossing": 23.6,
            "crossing_vs_spot": -0.39
        },
        {
            "snapshot_timestamp": "2026-07-21T09:40:00-04:00",
            "spot_price": 224.18,
            "crossing_status": "in_session",
            "crossing_time": "2026-07-21T10:03:03-04:00",
            "crossing_price": 223.67,
            "minutes_to_crossing": 23.1,
            "crossing_vs_spot": -0.51
        }
    ],
    "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": "What this route is still waiting for: awaiting_first_slice (no slice published yet today), awaiting_second_slice (slope not yet available), awaiting_third_slice (rate of change not yet available), or complete. Only slices whose 5 minutes have ended count. 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 timestamp of the most recent snapshot in the data"
        },
        "slice_count": {
            "anyOf": [
                {
                    "type": "integer"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Slice Count",
            "description": "Total number of intraday centroid slices"
        },
        "slices": {
            "anyOf": [
                {
                    "items": {
                        "$ref": "#/components/schemas/CentabCrossingSlice"
                    },
                    "type": "array"
                },
                {
                    "type": "null"
                }
            ],
            "title": "Slices",
            "description": "Per-snapshot crossing rows 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": "CentabCrossingResponse",
    "description": "Linfit crossing payload.\n\nFor each centab snapshot, where the call and put linfit lines meet as of that snapshot, reported when\nthe meeting point is after the snapshot and no later than 20:00 ET."
}
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

CentabCrossingResponse

Name Type Description
data_status What this route is still waiting for: awaiting_first_slice (no slice published yet today), awaiting_second_slice (slope not yet available), awaiting_third_slice (rate of change not yet available), or complete. Only slices whose 5 minutes have ended count. 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 Total number of intraday centroid slices
slices Per-snapshot crossing rows ordered by snapshot_timestamp
spot_last_updated ET ISO 8601 timestamp of the most recent snapshot in the data
status string Command execution status: completed, failed, etc.
ticker

CentabCrossingSlice

Name Type Description
crossing_price Price at which the call and put linfit lines meet; null unless status is in_session or after_close
crossing_status CentabCrossingStatus in_session: the lines meet before 16:00 ET. after_close: they meet after 16:00 and by 20:00 ET. none_before_horizon: no meeting point between this snapshot and 20:00 ET. parallel: the lines do not meet. insufficient_data: fewer than two snapshots with both a call and a put centroid.
crossing_time ET ISO 8601 time at which the lines meet; null unless status is in_session or after_close
crossing_vs_spot crossing_price minus spot_price
minutes_to_crossing Minutes from this snapshot to crossing_time
snapshot_timestamp string ET ISO 8601 snapshot timestamp (start of the 5-minute bar)
spot_price Underlying spot at this snapshot

CentabCrossingStatus

Type: string

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

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/centab/AAPL/crossing" \
  --header "X-API-Key: $GAMMAEDGE_API_KEY"

See error handling and rate limits for retry guidance.