Account Endpoints
Get Portfolio
Get current portfolio of the account.
GET
/
accounts
/
portfolio
/
{account_id}
Header
Path
curl --request GET \
--url https://sandbox.featherhq.com/accounts/portfolio/{account_id} \
--header 'x-api-key: <x-api-key>'
{
"cash_value": 123,
"positions": [
{
"avg_fill_price": 123,
"quantity": 123,
"symbol": "<string>"
}
]
}
Headers
x-api-key
string
requiredAPI Key for authentication
Path Parameters
account_id
string
requiredThe account ID
Response
200 - application/json
cash_value
number
Cash value
positions
object[]
List of positions
curl --request GET \
--url https://sandbox.featherhq.com/accounts/portfolio/{account_id} \
--header 'x-api-key: <x-api-key>'
{
"cash_value": 123,
"positions": [
{
"avg_fill_price": 123,
"quantity": 123,
"symbol": "<string>"
}
]
}