Skip to main content
GET
/
api
/
v1
/
account
/
statistics
Get Account Statistics
curl --request GET \
  --url https://api.ekiden.fi/api/v1/account/statistics \
  --header 'Authorization: Bearer <token>'
{
  "list": [
    {
      "equity": "<string>",
      "realised_pnl_cum": "<string>",
      "roi": "<string>",
      "sub_account_address": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "unrealised_pnl": "<string>",
      "volume": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ekiden.fi/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sub_account_address
string | null
start_time
string<date-time> | null
end_time
string<date-time> | null
step
null | enum<string>

Temporal resolution for statistics. Single-letter shorthands are allowed(h/d/w/m).

Available options:
hour,
day,
week,
month
limit
integer<int32> | null
Required range: x >= 0
sorting_order
null | enum<string>

Sort direction for account statistics snapshots (older/newer first).

Available options:
asc,
desc

Response

Account statistics

list
object[]
required