---
title: "Retrieves a single holding for an account with matched ISIN codes"
method: GET
path: "/accounts/{accountId}/holdings/{holdingId}"
tags: ["holdings"]
---

# Retrieves a single holding for an account with matched ISIN codes

`GET /accounts/{accountId}/holdings/{holdingId}`

Requires **accounts:read** scope.

## Path parameters

- `accountId` string, uuid, required
- `holdingId` string, required

## Response `200`

Successful Holding Response

- object
  - `data` HoldingWithMatchesAndHistory
    - `id` string, required — The id of the holding
    - `date` string, date — Date of the valuation
    - `history` object[], required
      - `total` object
        - `value` number, required — The value of the total in minor units of the currency, eg. pennies for GBP.
        - `currency` string, required — The currency of the total.
      - `unitPrice` object
        - `value` number, required — The value of the unit price in minor units of the currency, eg. pennies for GBP.
        - `currency` string, required — The currency of the unit price.
      - `costBasis` number — In a one-off security purchase, the cost basis is the quantity acquired multiplied by the price paid per unit plus any commission. In the event the same position is acquired in different lots on different days at different prices, the sum total of the cost incurred is divided by the total units acquired to arrive at the average cost basis.
      - `quantity` number — The total number of units held for this security at the specified historical date.
      - `date` string, date — Date of the valuation
    - `matched` object[], required
      - `isin` string — The ISIN code of the match
      - `name` string — The name of the match
      - `score` number
      - `priceGBP` number — The unit price of the holding match converted to GBP. The unitPrice is converted from the local currency (e.g. USD) to GBP on a daily basis during our import of holdings data.
      - `price` object
        - `value` number, required — The unit price in minor units of the currency (e.g. pence for GBP)
        - `currency` string, required — The currency of the matched holding
      - `date` string, date — Date of the valuation
    - `codes` object[], required
      - `code` string
      - `type` 'ISIN' | 'SEDOL' | 'MEX'
    - `name` string, required
    - `quantity` number, required — The total number of units. This value reflects the quantity of the holding in its local currency context and is used to calculate the total value as unitPrice * quantity.
    - `total` object, required
      - `value` number, required — The value of the total in minor units of the currency, eg. pennies for GBP.
      - `currency` string, required — The currency of the total.
    - `unitPrice` object, required
      - `value` number, required — The price per unit of the holding. Provided by the holdings data source in its original currency.
      - `currency` string, required — The currency of the unit price.
    - `costBasis` number — In a one-off security purchase, the cost basis is the quantity acquired multiplied by the price paid per unit plus any commission. In the event the same position is acquired in different lots on different days at different prices, the sum total of the cost incurred is divided by the total units acquired to arrive at the average cost basis.
    - `currency` string — The currency of the holding
  - `links` Links
    - `next` string, uri — The url to retrieve the next page of results from
    - `prev` string, uri — The url to retrieve the previous page of results from
    - `self` string, uri, required — The url of the current resource(s)
  - `meta` object

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Resource Not found

---

[API](https://skmtc.net/moneyhub/apis/moneyhub-data-api.md) · [All operations](https://skmtc.net/moneyhub/apis/moneyhub-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moneyhub/moneyhub-data-api/revisions/f2eb965eb9af/schema)
