Trader
Get trader trade history v2
Handles GET /v1/traders/{trader_pubkey}/trades_v2 via get.v1.traders.by_trader_pubkey.trades_v2.
get/v1/traders/{trader_pubkey}/trades_v2
Request
- Base URLhttps://perp-api.phoenix.trade
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
trader_pubkeystring required
Query parameters
market_symbolstring
Optional market symbol to filter by (e.g., "SOL-PERP")
trader_pda_indexinteger
Optional trader PDA index to scope results for a specific trader PDA
limitinteger
Number of items to return (max 1000)
cursorstring
Optional cursor for pagination (format: "slot" or "slot,slot_index") Items returned will be older than (exclusive of) this cursor
privy_idstring
Privy user ID (optional)
Response
Changes
No recorded changes to this operation across all 2 revisions of this API.