v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

List All Holdings

To retrieve the holdings and pending orders

get/{customerId}/holdings

Path parameters

customerIdstring required

Customer identifier

Headers

api-keystring required

API key

auth-keystring required

Auth key generated using API key & secret

Response

200

statusinteger

Example response

{
  "status": 200,
  "doc": {
    "customerId": "505a4699-4ecc-42f3-a86d-68b274752c22",
    "holdings": [
      {
        "symbol": "AMZN",
        "logoURL": "https://images.stockal.com/tickers/AMZN.png",
        "category": "stock",
        "investment": 3199.99,
        "quantity ": 1
      }
    ],
    "pendingOrders": [
      {
        "symbol": "STACK1",
        "logoURL": "https://images.stockal.com/tickers/STACK1.png",
        "category": "stack",
        "side": "BUY",
        "investment": 299.25
      }
    ]
  }
}