Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/entities/{entity_id}/aggregate_positions
{ "positions": [ { "symbol": "BTC", "long": "10", "short": "10", "position_reference": { "id": "e8bbed13-fa33-41de-86d5-4335d8f08166", "type": "POSITION_REFERENCE_TYPE_UNSPECIFIED" } } ], "pagination": { "next_cursor": "<string>", "sort_direction": "DESC", "has_next": true } }
List paginated aggregate positions for a specific entity.
The unique ID of the entity
Id to retrieve additional results strictly after
Number of items to retrieve
A successful response.
The response is of type object.
object
Was this page helpful?