GET /v1/deltabalance/{ticker}/forward¶
Endpoints¶
GET /v1/deltabalance/{ticker}/forward¶
Delta Balance for the next listed expiries
Description Delta Balance, left-hand-plane balance and right-hand-plane balance for the next listed expiries with open interest, nearest first (the first is the current expiry), all at the current spot, as of the latest pipeline run. Matches the forward points of the Discord delta balance history chart.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
| count | query | integer | No | How many listed expiries to return, nearest first (the first is the current expiry). Default: 5 for SPX, SPXP and SPXA; 4 for other tickers. | |
| 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": "SPXP",
"generated_at": "2026-07-21T14:35:00-04:00",
"data_state": "interim",
"eod_pipeline_completed_at": null,
"eval_price": 6388.25,
"eval_price_is_default": true,
"spot_last_updated": "2026-07-21T14:35:00-04:00",
"spot_basis": "feed",
"spot_basis_time": "2026-07-21T14:35:00-04:00",
"session_date": "2026-07-21",
"session_status": "live",
"count": 5,
"expiries": [
{
"expiry_date": "2026-07-21",
"dte": 0,
"delta_balance": 0.38,
"lhp_balance": -0.31,
"rhp_balance": 0.69
},
{
"expiry_date": "2026-07-22",
"dte": 1,
"delta_balance": 0.28,
"lhp_balance": -0.36,
"rhp_balance": 0.64
},
{
"expiry_date": "2026-07-23",
"dte": 2,
"delta_balance": 0.16,
"lhp_balance": -0.42,
"rhp_balance": 0.58
},
{
"expiry_date": "2026-07-24",
"dte": 3,
"delta_balance": 0.06,
"lhp_balance": -0.47,
"rhp_balance": 0.53
},
{
"expiry_date": "2026-07-27",
"dte": 6,
"delta_balance": -0.1,
"lhp_balance": -0.55,
"rhp_balance": 0.45
}
],
"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"
},
"generated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Generated At",
"description": "ISO 8601 timestamp when this response was generated"
},
"data_state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data State",
"description": "Source data pipeline state: 'interim' or 'eod'"
},
"eod_pipeline_completed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Eod Pipeline Completed At",
"description": "ISO 8601 timestamp the EOD pipeline finished; null while interim"
},
"eval_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Eval Price",
"description": "Price every expiry's balances were computed at: the last reported spot"
},
"eval_price_is_default": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Eval Price Is Default",
"description": "True: /forward always uses the last reported spot (it takes no eval_price parameter)"
},
"spot_last_updated": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Spot Last Updated",
"description": "ISO 8601 timestamp the last reported spot was captured"
},
"spot_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Spot Basis",
"description": "What the spot is: feed (the live price, during the regular session), implied (implied by the options), implied_carried (the last implied price, held since spot_basis_time), last (the underlying's last quote, at spot_basis_time) or prior_close (the last session's close; nothing has traded since). Null when not reported."
},
"spot_basis_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Spot Basis Time",
"description": "ET ISO 8601 timestamp of when that price existed. Null when not reported."
},
"session_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Session Date",
"description": "ET trading session (YYYY-MM-DD) the served data belongs to. It moves to the next session with that session's first data update with option quotes from that session: from about 20:15 ET the evening before for SPX and VIX (their options trade overnight); for other tickers with their first premarket option quote, or at the 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."
},
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Count",
"description": "Number of expiries requested (the default when not given)"
},
"expiries": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/DeltaBalanceForwardExpiry"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Expiries",
"description": "One row per listed expiry with open interest, nearest first; the first row is the current expiry. Fewer rows than count when fewer expiries are listed."
},
"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": "DeltaBalanceForwardResponse",
"description": "Delta Balance for the next listed expiries (nearest first), all at the current spot, as of the latest run."
}
| 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¶
DeltaBalanceForwardExpiry¶
| Name | Type | Description |
|---|---|---|
| delta_balance | Delta Balance for this expiry (dimensionless); null when undefined | |
| dte | integer | Whole days to expiration of expiry_date as counted by the latest pipeline run, not the request time. After the 16:00 ET close it still reflects that run until the next one, so it can differ from dte on other routes, which count from the request time. |
| expiry_date | string | Expiration date (YYYY-MM-DD) |
| lhp_balance | Delta balance of the left-hand plane for this expiry (dimensionless); null when undefined | |
| rhp_balance | Delta balance of the right-hand plane for this expiry (dimensionless); null when undefined |
DeltaBalanceForwardResponse¶
| Name | Type | Description |
|---|---|---|
| count | Number of expiries requested (the default when not given) | |
| data_state | Source data pipeline state: 'interim' or 'eod' | |
| eod_pipeline_completed_at | ISO 8601 timestamp the EOD pipeline finished; null while interim | |
| error_code | ||
| error_message | ||
| eval_price | Price every expiry's balances were computed at: the last reported spot | |
| eval_price_is_default | True: /forward always uses the last reported spot (it takes no eval_price parameter) | |
| expiries | One row per listed expiry with open interest, nearest first; the first row is the current expiry. Fewer rows than count when fewer expiries are listed. | |
| generated_at | ISO 8601 timestamp when this response was generated | |
| metadata | ||
| session_date | ET trading session (YYYY-MM-DD) the served data belongs to. It moves to the next session with that session's first data update with option quotes from that session: from about 20:15 ET the evening before for SPX and VIX (their options trade overnight); for other tickers with their first premarket option quote, or at the 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. | |
| spot_basis | What the spot is: feed (the live price, during the regular session), implied (implied by the options), implied_carried (the last implied price, held since spot_basis_time), last (the underlying's last quote, at spot_basis_time) or prior_close (the last session's close; nothing has traded since). Null when not reported. | |
| spot_basis_time | ET ISO 8601 timestamp of when that price existed. Null when not reported. | |
| spot_last_updated | ISO 8601 timestamp the last reported spot was captured | |
| status | string | Command execution status: completed, failed, etc. |
| ticker |
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/deltabalance/AAPL/forward" \
--header "X-API-Key: $GAMMAEDGE_API_KEY"
See error handling and rate limits for retry guidance.