Skip to main content
GET
Get historical position snapshots

Authorizations

x-dialect-client-key
string
header
default:pk_demo
required

Client key for the Markets API

Query Parameters

walletAddress
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

Wallet address to fetch position history for

startTime
string<date-time>
default:2026-01-01T00:00:00Z
required

Start time of the snapshot. Date or datetime in RFC 3339 format

endTime
string<date-time>
default:2026-01-31T23:59:59Z

End time of the snapshot. Date or datetime in RFC 3339 format. Defaults to current time if not provided

positionIds
string

Comma separated list of position IDs.

resolution
enum<string>
default:1h

Time resolution for aggregating snapshots

Available options:
1m,
5m,
1h,
1d

Response

200 - application/json

OK

data
object
required