---
title: "Get Gex Expirations"
method: GET
path: "/api/gex/expirations"
tags: ["GEX"]
---

# Get Gex Expirations

`GET /api/gex/expirations`

## Request

- Base URL: `https://api.zerogex.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zerogex.io/api/gex/expirations`
- Auth: HTTP bearer

Distinct option expirations seen in ``gex_by_strike`` within the
trailing ``lookback_hours``.  Powers the Strike-Profile chart's
expiry dropdown so today's expiration stays available even after
market close (when the latest ``/api/gex/by-strike`` snapshot has
dropped it — the analytics engine stops writing rows for expired
contracts).  Default 24h covers a post-close shift; cap at 168h
(1 week) bounds the scan.

## Query parameters

- `symbol` string
- `lookback_hours` integer

## Response `200`

Successful Response

- string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zerogex/apis/zerogex-api.md) · [All operations](https://skmtc.dev/zerogex/apis/zerogex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zerogex/apis/zerogex-api/revisions/753b26bf0592?raw)
