Skip to main content
GET
Get P&L time series

Authorizations

Authorization
string
header
required

API key in the format cc_<64 hex characters>. Obtain from the Dashboard under Settings → API Keys.

Query Parameters

days
integer
default:30

Number of days of history to return.

Required range: 1 <= x <= 90
interval
enum<string>

Aggregation interval — returns the last snapshot per bucket. Use 1h or 4h for more granularity.

Available options:
1h,
4h,
1d

Response

P&L time series.

data
object
meta
object