---
updatedAt: 2025-08-27T16:18:17.000Z
agentTools:
  projectIndex: https://docs.moneyhubenterprise.com/v2.5/llms.txt
---

# Retrieve the holdings for an account

Requires **accounts:read** scope.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Documentation for the Moneyhub data API. <br/>Authentication is via bearer token. <br/>",
    "title": "Moneyhub Data API",
    "version": "2.0.0"
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "paths": {
    "/accounts/{accountId}/holdings": {
      "get": {
        "summary": "Retrieve the holdings for an account",
        "description": "Requires **accounts:read** scope.",
        "parameters": [
          {
            "description": "The Account Id",
            "in": "path",
            "name": "accountId",
            "required": true,
            "example": "0b4e6488-6de0-420c-8f56-fee665707d57",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Holdings Response",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/HoldingsValuation"
                      },
                      "type": "array"
                    },
                    "links": {
                      "$ref": "#/components/schemas/Links"
                    },
                    "meta": {
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Unsuccessful Response - Forbidden - Invalid scopes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unsuccessful Response - Resource Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "tags": [
          "holdings"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.moneyhub.co.uk/v2.0"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "HoldingsValuation": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "date": {
            "description": "Date of the valuation",
            "example": "2018-07-11",
            "format": "date",
            "type": "string"
          },
          "items": {
            "items": {
              "additionalProperties": false,
              "type": "object",
              "properties": {
                "id": {
                  "description": "The unique identity of the holding.",
                  "example": "ac9bd177-d01e-449c-9f29-d3656d2edc2e",
                  "type": "string"
                },
                "codes": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "code": {
                        "example": "GB00B39TQT96",
                        "type": "string"
                      },
                      "type": {
                        "enum": [
                          "ISIN",
                          "SEDOL",
                          "MEX"
                        ],
                        "example": "ISIN",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "description": {
                  "example": "Dynamic Bond Fund",
                  "type": "string"
                },
                "quantity": {
                  "description": "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.",
                  "example": 100,
                  "type": "number"
                },
                "total": {
                  "properties": {
                    "value": {
                      "description": "The total value of the holding in minor units of the currency (e.g. pence for GBP).",
                      "example": 123400,
                      "type": "number"
                    },
                    "currency": {
                      "description": "The currency of the total.",
                      "example": "GBP",
                      "type": "string"
                    }
                  },
                  "required": [
                    "value",
                    "currency"
                  ],
                  "type": "object"
                },
                "unitPrice": {
                  "properties": {
                    "value": {
                      "description": "The price per unit in minor units of the holding. Provided by the holdings data source in its original currency.",
                      "example": 1234,
                      "type": "number"
                    },
                    "currency": {
                      "description": "The currency of the unit price.",
                      "example": "GBP",
                      "type": "string"
                    }
                  },
                  "required": [
                    "value",
                    "currency"
                  ],
                  "type": "object"
                },
                "currency": {
                  "description": "The currency of the holding",
                  "example": "GBP",
                  "type": "string"
                }
              },
              "required": [
                "description",
                "quantity",
                "unitPrice",
                "total",
                "codes"
              ]
            },
            "type": "array"
          }
        },
        "required": [
          "date",
          "items"
        ]
      },
      "Links": {
        "additionalProperties": false,
        "properties": {
          "next": {
            "description": "The url to retrieve the next page of results from",
            "format": "uri",
            "type": "string"
          },
          "prev": {
            "description": "The url to retrieve the previous page of results from",
            "format": "uri",
            "type": "string"
          },
          "self": {
            "description": "The url of the current resource(s)",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "self"
        ],
        "type": "object"
      },
      "Error": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The error code",
            "type": "string"
          },
          "message": {
            "description": "The error message",
            "type": "string"
          },
          "correlationId": {
            "description": "Id that identifies the request and can be used to ask for more details related to the error",
            "type": "string"
          },
          "id": {
            "description": "Id of the resource",
            "type": "string"
          },
          "userId": {
            "description": "UserId of the resource",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```