Skip to main content
GET
Export Settlements 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 (404 if not theirs). Omitted = every wallet. The MAIN wallet also includes legacy settlements recorded before per-wallet attribution (wallet_id IS NULL).

market_id
string | null

Filter to one market condition_id.

Maximum string length: 80
from
string | null

Inclusive lower bound on the settlement time. UTC ISO-8601 (2026-06-05T13:04:05Z) or YYYY-MM-DD. 422 if unparseable.

to
string | null

Inclusive upper bound on the settlement time. UTC ISO-8601 or YYYY-MM-DD. 422 if unparseable.

Response

Streamed RFC-4180 CSV of the caller's settlements in the order of /v1/account/settlements (by position_id, newest position first): the columns of /v1/account/settlements. UTC ISO-8601 timestamps; string-encoded numerics. None → header-only.