v1

latestOpenAPI 3.0.02026-07-2412592575.3 KB
holdings

Retrieves a single holding for an account with matched ISIN codes

Requires accounts:read scope.

get/accounts/{accountId}/holdings/{holdingId}

Path parameters

accountIdstring uuid required

The Account Id

holdingIdstring required

The Holding Id

Response

Successful Holding Response

metaobject

Example response

{
  "data": {
    "id": "6a8b01768a50b095a8c0445c1b080900f1096fd0b6e40863c6b82d63607c3bbe",
    "date": "2018-07-11",
    "history": [
      {
        "total": {
          "value": 123400,
          "currency": "GBP"
        },
        "unitPrice": {
          "value": 1234,
          "currency": "GBP"
        },
        "costBasis": 120050,
        "quantity": 100,
        "date": "2018-07-11"
      }
    ],
    "matched": [
      {
        "isin": "GB00B39TQT96",
        "name": "Dynamic Bond Fund Acc",
        "score": 0.8,
        "priceGBP": 12.34,
        "price": {
          "value": 1234,
          "currency": "GBP"
        },
        "date": "2018-07-11"
      }
    ],
    "codes": [
      {
        "code": "GB00B39TQT96",
        "type": "ISIN"
      }
    ],
    "name": "Dynamic Bond Fund",
    "quantity": 100,
    "total": {
      "value": 123400,
      "currency": "GBP"
    },
    "unitPrice": {
      "value": 1234,
      "currency": "GBP"
    },
    "costBasis": 120050,
    "currency": "GBP"
  }
}