Daily PnL
curl --request GET \
--url https://codex-api.nomos.trade/v1/wallets/{wallet}/daily \
--header 'Authorization: Bearer <token>'import requests
url = "https://codex-api.nomos.trade/v1/wallets/{wallet}/daily"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://codex-api.nomos.trade/v1/wallets/{wallet}/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"block": 94812300,
"asOf": 1790862180,
"wallet": "0x1f0ebc543b2d411f66947041625c0aa1ce61cf79",
"tz": "America/New_York",
"days": [
{
"date": "2026-09-02",
"pnl": 4120.5
},
{
"date": "2026-09-03",
"pnl": -880.2
}
]
}{
"error": "tz must be an IANA time zone name, like America/New_York, or UTC"
}{
"error": "unknown or revoked API key"
}{
"error": "rate limit: 600 requests a minute; retry in 1 s"
}Wallets
Daily PnL
Settled PnL per calendar day in your time zone: a PnL calendar. Each market lands on the local date it was decided. Over the whole life the days add up to the board’s realized PnL. Days with no change are left out.
GET
/
v1
/
wallets
/
{wallet}
/
daily
Daily PnL
curl --request GET \
--url https://codex-api.nomos.trade/v1/wallets/{wallet}/daily \
--header 'Authorization: Bearer <token>'import requests
url = "https://codex-api.nomos.trade/v1/wallets/{wallet}/daily"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://codex-api.nomos.trade/v1/wallets/{wallet}/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"block": 94812300,
"asOf": 1790862180,
"wallet": "0x1f0ebc543b2d411f66947041625c0aa1ce61cf79",
"tz": "America/New_York",
"days": [
{
"date": "2026-09-02",
"pnl": 4120.5
},
{
"date": "2026-09-03",
"pnl": -880.2
}
]
}{
"error": "tz must be an IANA time zone name, like America/New_York, or UTC"
}{
"error": "unknown or revoked API key"
}{
"error": "rate limit: 600 requests a minute; retry in 1 s"
}Authorizations
Your API key: codex_ and 48 hex characters.
Path Parameters
The wallet: 0x and 40 hex.
Pattern:
^0x[0-9a-fA-F]{40}$Query Parameters
An IANA time zone.
A rolling window ending now, or the lifetime. Or give from and to instead.
Available options:
all, 1d, 7d, 30d, 90d, 1y A custom window's start, unix seconds.
Its end, unix seconds, exclusive. Now when left out.