Accounts
Get An Account by ID
You can query a specific account that you submitted to Alpaca by passing into the query the account_id associated with the account you're retrieving.
get/v1/accounts/{account_id}
Request
- Base URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets
- URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets/v1/accounts/{account_id}
- AuthHTTP basic
Response
Will return an AccountExtended if an account with account_id exists, otherwise will throw an error.
Example response
{
"account_number": "601842165",
"account_type": "trading",
"agreements": [
{
"agreement": "margin_agreement",
"ip_address": "127.0.0.1",
"revision": "16.2021.05",
"signed_at": "2022-01-21T21:25:26.579487214Z"
},
{
"agreement": "customer_agreement",
"ip_address": "127.0.0.1",
"revision": "22.2024.08",
"signed_at": "2022-01-21T21:25:26.579487214Z"
}
],
"beneficiaries": [
{
"date_of_birth": "1970-01-01",
"family_name": "Smith",
"given_name": "John",
"middle_name": "P",
"relationship": "spouse",
"share_pct": "100",
"tax_id": "xxx-xx-xxxx",
"tax_id_type": "USA_SSN",
"type": "primary"
}
],
"contact": {
"city": "San Mateo",
"country": "USA",
"email_address": "strange_elbakyan_97324509@example.com",
"phone_number": "614-555-0697",
"postal_code": "94401",
"state": "CA",
"street_address": [
"20 N San Mateo Dr"
]
},
"created_at": "2022-01-21T21:25:26.583576Z",
"crypto_status": "INACTIVE",
"currency": "USD",
"disclosures": {
"immediate_family_exposed": false,
"is_affiliated_exchange_or_finra": false,
"is_control_person": false,
"is_discretionary": false,
"is_politically_exposed": false
},
"documents": [
{
"content": "https://example.com/documents/identity-verification.jpg",
"created_at": "2022-01-21T21:25:28.184231Z",
"document_sub_type": "passport",
"document_type": "identity_verification",
"id": "d5af1585-6c60-494d-9ea5-c5df62704229"
}
],
"id": "3dcb795c-3ccc-402a-abb9-07e26a1b1326",
"identity": {
"country_of_birth": "USA",
"country_of_citizenship": "USA",
"country_of_tax_residence": "USA",
"date_of_birth": "1970-01-01",
"family_name": "Elbakyan",
"funding_source": [
"employment_income"
],
"given_name": "Strange",
"tax_id_type": "USA_SSN"
},
"last_equity": "40645.13",
"primary_account_holder_id": null,
"status": "ACTIVE",
"trusted_contact": {
"email_address": "strange_elbakyan_97324509@example.com",
"family_name": "Doe",
"given_name": "Jane"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.