Portfolio

Get historical equity snapshots for a wallet.

get/historical-pnl

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/historical-pnl
  • Auth: API key in query parameter wallet

Query parameters

walletstring required

Ethereum wallet address serialized as a checksummed 0x-prefixed hex string.

Example:0x1234567890abcdef1234567890abcdef12345678

Wallet address to query

interval'5m' | '1h' | '1d' required

Historical equity interval identifier.

Interval bucket size (5m, 1h, 1d)

limitinteger nullable

Maximum number of periods to return (default: 100, max: 100)

include_attributionboolean nullable

Return per-symbol attribution blobs on each point. Defaults to false because the blob is a few KB per row and sits in TOAST, opt in only when the caller actually renders the breakdown view.

Response

Historical equity snapshots

errorstring nullable
successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.