GET /v1/volu/{ticker}¶
Endpoints¶
GET /v1/volu/{ticker}¶
Run volume 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",
"data_status": "complete",
"data": {
"total_oi": 183420,
"spot_price": 224.18,
"spot_basis": null,
"spot_basis_time": null,
"expiries": [
{
"expiry_date": "2026-07-24",
"strikes": [
{
"strike": 225.0,
"call_volume": 12450,
"put_volume": 9380
}
]
}
]
},
"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",
"description": "Ticker symbol requested for this response."
},
"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."
},
"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."
},
"data": {
"anyOf": [
{
"$ref": "#/components/schemas/VoluData"
},
{
"type": "null"
}
],
"description": "All-expiry volume data on success; null on failure."
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error Message",
"description": "Plain-language explanation of a failure; null on success."
},
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error Code",
"description": "Numeric 7000000-family code on failure; null on success."
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Metadata",
"description": "Additional response details when available."
}
},
"type": "object",
"required": [
"status"
],
"title": "VolumeResponse",
"description": "Volume API response grouped by expiry and strike."
}
| 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
VoluData¶
| Name | Type | Description |
|---|---|---|
| expiries | Array<VoluExpiry> | Expiries from nearest to farthest. |
| 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_price | Underlying spot price, in the underlying's price units, or null when unavailable. | |
| total_oi | integer | Open interest across all expiries in this response, calls + puts (count of contracts). Can be negative. 0 while data_status is awaiting_first_slice. |
VoluExpiry¶
| Name | Type | Description |
|---|---|---|
| expiry_date | string | Contract expiration date (YYYY-MM-DD). |
| strikes | Array<VoluStrike> | Volume by strike, sorted from lowest to highest. |
VolumeResponse¶
| Name | Type | Description |
|---|---|---|
| data | All-expiry volume data on success; null on failure. | |
| 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 | Numeric 7000000-family code on failure; null on success. | |
| error_message | Plain-language explanation of a failure; null on success. | |
| metadata | Additional response details when available. | |
| 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. | |
| status | string | Command execution status: completed, failed, etc. |
| ticker | Ticker symbol requested for this response. |
VoluStrike¶
| Name | Type | Description |
|---|---|---|
| call_volume | integer | Call contracts traded today at this strike and expiry (count of contracts). |
| put_volume | integer | Put contracts traded today at this strike and expiry (count of contracts). |
| strike | number | Option strike price, in the underlying's price units. |
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/volu/AAPL" \
--header "X-API-Key: $GAMMAEDGE_API_KEY"
See error handling and rate limits for retry guidance.