Positions Expiring
Positions & Portfolio
Positions Expiring
Get positions in markets that are active within a time window. Merges data from Polymarket and Kalshi, sorted by soonest activity. Useful for pre-resolution position review and exit planning.
GET
Positions Expiring
Get positions in markets that are active within a time window.
Overview
Returns positions from both Polymarket and Kalshi that have been active within the specified hours window. Useful for:- Pre-resolution position review — see which positions may need attention soon
- Exit planning before market closes
- Avoiding surprise resolutions
Parameters
| Param | Type | Default | Description |
|---|---|---|---|
hours | integer | 24 | Time window in hours (1–168, i.e. up to 1 week) |
venue | string | all | all, polymarket, or kalshi |
limit | integer | 50 | Max results (1–200) |
offset | integer | 0 | Pagination offset |
Example
- curl
- Python SDK
Response Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Hours until resolution (1-168). Returns positions active within this window.
Required range:
1 <= x <= 168Venue filter: all, polymarket, or kalshi.
Available options:
all, polymarket, kalshi Max results to return.
Required range:
1 <= x <= 200Pagination offset.
Required range:
x >= 0