v1
latestOpenAPI 3.1.02026-07-2657157254.1 KBGet All Positions
Fetch all user positions with filtering and pagination.
Designed for analytics and streaming use cases where clients need to:
- Backfill historical position data
- Stream new position updates as they come in
Use min_block to start from a specific block (for backfill). Use order=asc to get oldest first (for streaming/backfill). Use order=desc to get latest first (for recent data).
The pagination cursor encodes the last position's block/timestamp and IDs, allowing efficient continuation from any point.
Query parameters
Order by options for all-user positions streaming endpoint.
Order by block number or timestamp
Sort order direction enum.
Sort order (desc for latest first, asc for streaming from oldest)
Minimum block number (inclusive)
Minimum block number (inclusive)
Maximum block number (inclusive)
Maximum block number (inclusive)
Minimum timestamp in Unix seconds (inclusive)
Minimum timestamp in Unix seconds (inclusive)
Maximum timestamp in Unix seconds (inclusive)
Maximum timestamp in Unix seconds (inclusive)
Filter by wallet address
Filter by wallet address
Filter by token ID
Filter by token ID
Filter by market condition ID
Filter by market condition ID
Maximum positions per page (1-500)
Maximum positions per page (1-500)
Cursor for pagination
Cursor for pagination
Response
Successful Response