Skip to main content
GET
Get wallet PnL history for a strategy (wallet in path)

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain from your Pods dashboard.

Path Parameters

address
string
required

Wallet address to scope the PnL series to.

Example:

"0xb794F5eA0ba39494cE839613fffBA74279579268"

strategyId
string
required

Strategy ID or slug

Query Parameters

days
integer
default:7

Rolling window size in days ending yesterday (UTC). Minimum 7, maximum 365. Ignored when from/to are provided.

Required range: 7 <= x <= 365
from
string<date>

Inclusive range start (YYYY-MM-DD, UTC). When set, overrides days.

to
string<date>

Inclusive range end (YYYY-MM-DD, UTC). Cannot be in the future.

limit
integer
default:100

Results per page (maximum 500)

Required range: 1 <= x <= 500
page
integer
default:1

Page number

Required range: x >= 1

Response

PnL timeline retrieved

Paginated wallet PnL timeline for a strategy. The list key is items (not data).

items
object[]
required
pagination
object
required

Standard list pagination metadata

strategyId
string
required

Resolved strategy ObjectId.

Example:

"665f1a2b3c4d5e6f70819293"

walletAddress
string
required

Wallet the PnL series is scoped to.

Example:

"0xb794F5eA0ba39494cE839613fffBA74279579268"