Api referencePositions
List positions
List brokerage positions (stock, ETF, crypto holdings) across the user's investment accounts.
Authorization
bearerAuth AuthorizationBearer <token>
Cobalt API key (prefix ck_live_). Issue from dashboard → Settings → API keys.
In: header
Query Parameters
accountId?string
Filter to a single brokerage account.
Response Body
application/json
application/json
curl -X GET "https://example.com/positions"[
{
"accountId": "string",
"averagePrice": 0,
"currency": "string",
"description": "string",
"id": "string",
"marketValue": 0,
"openPnl": 0,
"price": 0,
"symbol": "string",
"units": 0
}
]{
"code": "string",
"error": "string"
}