---
title: "Get Max Pain Timeseries"
method: GET
path: "/api/max-pain/timeseries"
tags: ["Max Pain"]
---

# Get Max Pain Timeseries

`GET /api/max-pain/timeseries`

## 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/max-pain/timeseries`
- Auth: HTTP bearer

Get max pain over time aggregated by timeframe.

## Query parameters

- `symbol` string
- `timeframe` '1min' | '5min' | '15min' | '1hr' | '1day' | '1hour'
- `window_units` integer

## Response `200`

Successful Response

- MaxPainTimeseriesPoint[]
  - `timestamp` string, date-time, required
  - `symbol` string, required
  - `max_pain` 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)
