GET
/
v1
/
entities
/
{entity_id}
/
futures
/
positions
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"
}

Path Parameters

entity_id
string
required

Entity ID

Query Parameters

product_id
string

Product ID. Optional

Response

200
application/json

A successful response.

The response is of type object.