Portfolio
Get user PnL
Returns profit and loss data over time for a specific user. Supports configurable time granularity and optional date range filtering.
GET
Get user PnL
Authorizations
API key for authentication. Generate one via the dashboard or the /v1/api/auth/api-keys endpoint.
Query Parameters
The prediction market platform.
Available options:
kalshi, polymarket The user identifier on the platform (username or address).
Time granularity for PnL data points.
Available options:
day, week, month, year, all Start timestamp (Unix epoch) for filtering PnL data.
End timestamp (Unix epoch) for filtering PnL data.
Response
PnL time-series data.
Get user PnL