v1

latestOpenAPI 3.0.12026-07-2683220192.3 KB
Portfolio

Get User Positions

Get user's trading positions across all markets or filtered by specific market

get/v1/portfolio/positions

Query parameters

marketstring

Filter positions by a specific market slug. When provided, returns only the position for that market. Example: will-team-a-win

limitinteger

Maximum number of positions to return per page. Use with cursor for pagination. Default: 100. Example: 50

cursorstring

Pagination cursor from a previous response's nextCursor field. Use to fetch the next page of results. Omit for the first request

Response

List of user positions

positionsobject

Map of market slug to position

nextCursorstring

Next cursor for pagination

eofboolean

True if this is the last page

availablePositionsstring[]

Available position quantities factoring in open orders