curl --request POST \
--url https://api.example.com/api/investment/:accountId/recommendations \
--header 'Content-Type: application/json' \
--data '
{
"profile": "<string>",
"monthlyAmount": 123,
"includeExplanation": true
}
'{
"success": true,
"data": {
"recommendations": [
{
"type": "<string>",
"symbol": "<string>",
"name": "<string>",
"percentage": 123,
"amount": 123,
"currentPrice": 123,
"units": 123,
"reason": "<string>",
"risk": "<string>"
}
],
"totalMonthly": 123,
"assetAllocation": {
"stocks": 123,
"bonds": 123,
"crypto": 123,
"cash": 123
},
"marketContext": "<string>",
"disclaimer": "<string>"
},
"error": {
"success": true,
"message": "<string>"
}
}curl --request POST \
--url https://api.example.com/api/investment/:accountId/recommendations \
--header 'Content-Type: application/json' \
--data '
{
"profile": "<string>",
"monthlyAmount": 123,
"includeExplanation": true
}
'{
"success": true,
"data": {
"recommendations": [
{
"type": "<string>",
"symbol": "<string>",
"name": "<string>",
"percentage": 123,
"amount": 123,
"currentPrice": 123,
"units": 123,
"reason": "<string>",
"risk": "<string>"
}
],
"totalMonthly": 123,
"assetAllocation": {
"stocks": 123,
"bonds": 123,
"crypto": 123,
"cash": 123
},
"marketContext": "<string>",
"disclaimer": "<string>"
},
"error": {
"success": true,
"message": "<string>"
}
}conservative, balanced, dynamicShow data properties
Show recommendation item properties
ETF, BOND_FUND, CRYPTO, STOCK, SAVINGSlow, medium, highcurl -X POST 'https://api.example.com/api/investment/acc_123/recommendations' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"profile": "balanced",
"monthlyAmount": 500
}'
{
"success": true,
"data": {
"recommendations": [
{
"type": "ETF",
"symbol": "VWCE",
"name": "Vanguard FTSE All-World UCITS ETF",
"percentage": 60,
"amount": 300,
"currentPrice": 105.50,
"units": 2.84,
"reason": "Diversified global equity exposure with low costs, ideal for long-term balanced portfolios",
"risk": "medium"
},
{
"type": "BOND_FUND",
"symbol": "AGGH",
"name": "iShares Core Global Aggregate Bond UCITS ETF",
"percentage": 30,
"amount": 150,
"currentPrice": 55.20,
"units": 2.72,
"reason": "Provides stability and reduces portfolio volatility with investment-grade bonds",
"risk": "low"
},
{
"type": "CRYPTO",
"symbol": "BTC",
"name": "Bitcoin",
"percentage": 5,
"amount": 25,
"currentPrice": 45000,
"units": 0.00056,
"reason": "Small allocation for potential high growth, appropriate for balanced risk tolerance",
"risk": "high"
},
{
"type": "SAVINGS",
"symbol": "CASH",
"name": "High-Yield Savings Account",
"percentage": 5,
"amount": 25,
"reason": "Emergency fund buffer and immediate liquidity needs",
"risk": "low"
}
],
"totalMonthly": 500,
"assetAllocation": {
"stocks": 60,
"bonds": 30,
"crypto": 5,
"cash": 5
},
"marketContext": "Current markets show moderate volatility. S&P 500 is up 1.2% this month. Bond yields remain stable. This balanced approach provides growth potential while managing downside risk.",
"disclaimer": "This recommendation is not financial advice. Past performance does not guarantee future results. Consider consulting a certified financial advisor before making investment decisions."
}
}
400 - Invalid input data401 - Unauthorized (missing or invalid token)403 - Forbidden (no access to this account)503 - AI service unavailable