Skip to main content
GET
Each candle carries the trader’s total PnL at the end of its bucket (including every trade before the window starts, so the series plots directly as a PnL chart) and the PnL made within the bucket. Only buckets with trades are returned.
  • bucket_seconds overrides the bucket width: whole minutes up to a day, or whole days up to a week.
  • from / to (unix seconds) override the window.
  • Pages hold at most 2,500 buckets (limit). When pagination.has_more is true, pass pagination.pagination_key back to get the next page.
Candle fields (short keys with fields=short):

Authorizations

X-API-Key
string
header
required

Secret API key (sk_*) or JWT public key (pk_jwt_*).

Headers

x-field-names
enum<string>
default:long

Select long (full) or short (abbreviated) field names. HTTP defaults to long. Takes precedence over fields. See Response Format.

Available options:
long,
short

Query Parameters

chain
string

Chain name. Required unless chain_id is provided.

chain_id
integer<int64>

Chain id. Required unless chain is provided. Use -1 for Solana.

trader
string
required

Trader wallet address (required).

range
string

1d (hourly), 7d (4-hourly), 1m (daily), 1y (weekly) or all (daily since the first trade). Sets the default window and bucket. Default all.

bucket_seconds
integer<int64>

Override the bucket width: whole minutes up to 86400, or whole days up to 604800.

from
integer<int64>

Window start (unix seconds). Defaults to the range's lookback.

to
integer<int64>

Window end (unix seconds). Defaults to now.

limit
integer

Buckets per page, at most 2500. Defaults to the range's bucket count.

Required range: x >= 0
pagination_key
string

Opaque key from the previous page's pagination.pagination_key.

fields
enum<string>
default:long

Same as x-field-names. Use long or short. HTTP defaults to long. Ignored when the header is set. field_names is accepted as an alias.

Available options:
long,
short

Response

Trader PnL candles

trader
string
required
range
string
required

Requested range: 1d, 7d, 1m, 1y or all.

bucket_seconds
integer<int64>
required

Bucket width in seconds.

candles
object[]
required

Buckets with trades, oldest first.

Last modified on September 27, 2026