---
title: "Get Flow Sessions"
method: GET
path: "/api/flow/sessions"
tags: ["Options Flow"]
---

# Get Flow Sessions

`GET /api/flow/sessions`

## 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/flow/sessions`
- Auth: HTTP bearer

The most recent trading days that have flow, newest first.

The index behind ``date=`` on ``/api/flow/series``, ``/api/flow/contracts``
and ``/api/flow/smart-money``. The first entry is the day
``session=current`` resolves to. Days without data (holidays, outages)
are never listed. Bounded by the DATA_RETENTION_DAYS prune window, so one
page of up to 60 holds everything there is. Unknown symbols return 404.

## Query parameters

- `symbol` string, required
- `limit` integer

## Response `200`

Successful Response

- FlowSessionList: Recent trading days with flow, newest first, from /api/flow/sessions.
  - `symbol` string, required
  - `count` integer, required
  - `sessions` FlowSession[], required
    - `date` string, required

## 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)
