Coinbase Prime API
cURL
curl --request GET \ --url https://api.prime.coinbase.com/v1/entities/{entity_id}/futures/positions
{ "positions": [ { "product_id": "BTC-31JAN24-CDE", "side": "FCM_POSITION_SIDE_UNSPECIFIED", "number_of_contracts": "10", "daily_realized_pnl": "10.12", "unrealized_pnl": "10.12", "current_price": "10.12", "avg_entry_price": "10.12", "expiration_time": "2021-01-01T00:00:00.000Z" } ], "clearing_account_id": "CFS1234567" }
Retrieve all active fcm positions for a given entity.
Entity ID
Product ID. Optional
A successful response.
The response is of type object.
object
Was this page helpful?