Documentation Index
Fetch the complete documentation index at: https://docs.wealthyhood.com/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve personalised portfolio metrics for the authenticated user and the specified ISIN. The
portfolio is validated to ensure the user currently holds the asset; otherwise a 400 Bad Request
error is returned.
Bearer token issued by Auth0. Format: Bearer YOUR_ACCESS_TOKEN with the read:users scope.
24-character MongoDB identifier of the authenticated user. Required to resolve the correct portfolio
and currency formatting.
Path parameters
ISIN of the investment product to inspect.
Example request
curl -X GET 'https://api.wealthyhood.com/investment-products/IE00B4L5Y983/investment-details' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-user-id: 64f0c51e7fb3fc001234abcd'
Example response
{
"currentValue": "£1,254.18",
"portfolioAllocation": "12.4%",
"numberOfShares": "15.2500",
"performanceValue": "+£154.18",
"performancePercentage": "Up by 14.0%",
"isPerformancePositive": true,
"averagePricePerShare": "$72.50",
"totalDividends": "£18.40"
}
Response fields
Holding valuation formatted in the user’s base currency.
Portfolio share of the asset, returned as a localised percentage string.
Quantity held, formatted to up to four decimal places.
Absolute performance with sign and currency formatting.
Localised summary of percentage performance (e.g. Up by 14.0%).
Indicates whether the holding performance is positive.
Average acquisition price in the asset’s traded currency.
Total dividend cashflow received for the asset, formatted in the user’s currency.
Auth0-issued access token that includes the read:users scope.
MongoDB identifier of the Wealthyhood user whose subscription context should be applied.
Pattern: ^[a-f0-9]{24}$
ISIN of the investment product to retrieve.
Pattern: ^[A-Z0-9]{12}$
User-centric performance metrics for the asset.
Holding valuation formatted in the user's base currency.
Absolute performance formatted with sign.
Localised percentage summarising performance direction.