Skip to main content
GET
Daily PnL

Authorizations

Authorization
string
header
required

Your API key: codex_ and 48 hex characters.

Path Parameters

wallet
string
required

The wallet: 0x and 40 hex.

Pattern: ^0x[0-9a-fA-F]{40}$

Query Parameters

tz
string
default:UTC

An IANA time zone.

period
enum<string>
default:all

A rolling window ending now, or the lifetime. Or give from and to instead.

Available options:
all,
1d,
7d,
30d,
90d,
1y
from
integer

A custom window's start, unix seconds.

to
integer

Its end, unix seconds, exclusive. Now when left out.

Response

OK. Gzipped when you send Accept-Encoding: gzip.

block
integer | null

The leaderboard rollup's block.

asOf
integer | null

When the rollup ran. Unix seconds.

wallet
string
tz
string

As given.

days
object[]