Skip to main content
GET
/
v1
/
client
/
statistics
/
daily
Get User Daily Statistics
curl --request GET \
  --url https://api.perpo.trade/v1/client/statistics/daily \
  --header 'perpo-account-id: <perpo-account-id>' \
  --header 'perpo-key: <perpo-key>' \
  --header 'perpo-signature: <perpo-signature>' \
  --header 'perpo-timestamp: <perpo-timestamp>'
{
  "success": true,
  "data": {
    "rows": [
      {
        "account_value": 456789.12,
        "date": "2023-09-14",
        "perp_volume": 451580.9523,
        "pnl": 123.45,
        "snapshot_time": 1722989203989
      }
    ]
  },
  "timestamp": 1702989203989
}

Headers

perpo-timestamp
string
required
perpo-account-id
string
required
perpo-key
string
required
perpo-signature
string
required

Query Parameters

start_date
string
required

Format YYYY-MM-DD

end_date
string
required

Format YYYY-MM-DD

page
number

start from 1

size
number
include_historical_data
boolean

When include_historical_data is set to True, the rate limit for this API becomes 1 request per 60 seconds, the API response will include archived data.

Response

200 - application/json

OK

success
boolean
required
Example:

true

data
object
required
timestamp
integer
Example:

1702989203989