cURL
curl --request GET \ --url https://partners.centaur.io/api/v1/positions/open \ --header 'x-api-key: <api-key>'
{ "success": true, "data": { "results": [ { "id": 123, "direction": "long", "openAt": "2023-11-07T05:31:56Z", "openPrice": 123, "currentPrice": 123, "currentReturnPercentage": 123, "priceAsOf": "2023-11-07T05:31:56Z", "trader": { "id": 123, "name": "<string>", "slug": "<string>", "avatarUrl": "<string>" }, "asset": { "id": 123, "name": "<string>", "symbol": "<string>", "logoUrl": "<string>" } } ], "meta": { "hasMore": true, "nextCursor": "<string>" } }, "requestId": "c8e2c6e4-80dd-4ffc-9d66-4e31bf64c6b8" }
Partner API key issued by Centaur.
Filter to specific trader IDs.
Filter to specific asset IDs.
Filter to long and/or short positions.
long
short
Maximum number of rows to return.
1 <= x <= 100
Forward pagination cursor from meta.nextCursor.
meta.nextCursor
1
Paginated open positions
true
Show child attributes
"c8e2c6e4-80dd-4ffc-9d66-4e31bf64c6b8"