Skip to main content
GET
Export Positions Csv

Authorizations

X-API-Key
string
header
required

Issue from /v1/keys (or admin-issued for enterprise tier).

Headers

authorization
string | null
X-API-Key
string | null
POLY_API_KEY
string | null
Poly-API-Key
string | null

Query Parameters

wallet_id
integer | null

Scope to one wallet the caller owns. Omitted = positions across every wallet the caller owns. Scoping to the MAIN wallet also includes legacy positions recorded before per-wallet attribution existed (wallet_id IS NULL), matching the profile view; every other wallet is matched strictly.

status
string | null

Filter to a position status, e.g. OPEN or CLOSED. Case-insensitive. Omitted = every status.

market_id
string | null

Filter to a single market condition_id.

Response

Streamed RFC-4180 CSV of the caller's positions (one row per position), newest first by id. Header row then data rows. UTC ISO-8601 timestamps; string-encoded numerics. No positions → header-only.