Skip to main content
GET
/
v1
/
valuations
/
accounts
/
download
Download account valuation as CSV
curl --request GET \
  --url https://api.polymarketexchange.com/v1/valuations/accounts/download
"<string>"

Query Parameters

name
string
required

Required. Fully qualified resource name of the account.

as_of_time
string<date-time>

Optional. Query valuations as of this timestamp. Mutually exclusive with as_of_date.

as_of_date.year
integer<int32>

Year for end-of-trading-day valuation query.

as_of_date.month
integer<int32>

Month (1-12) for end-of-trading-day valuation query.

Required range: 1 <= x <= 12
as_of_date.day
integer<int32>

Day (1-31) for end-of-trading-day valuation query.

Required range: 1 <= x <= 31
mark_price_type
enum<string>

Optional. Method for determining mark price. Default is LAST. MarkPriceType specifies how the mark price is determined. LAST uses last traded price, VWAP uses volume-weighted average price (notional / volume), MID uses mid price ((high + low) / 2).

Available options:
MARK_PRICE_TYPE_LAST,
MARK_PRICE_TYPE_VWAP,
MARK_PRICE_TYPE_MID

Response

200 - text/csv

A successful response (streaming).

CSV file stream containing account valuation summary. Columns: account, currency, total_cost, total_market_value, total_unrealized_pnl, total_realized_pnl, position_count, valuation_time, mark_price_type, price_source