v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
Documents

Retrieve a List of Account Documents

This endpoint allows you to query all the account document based on an account ID. You can filter by date, or type of document.

These account documents are tax statements, trade confirmations, etc, generated by the Alpaca system. They are distinct from the owner documents you upload and later access via the account object's documents property.

get/v1/accounts/{account_id}/documents

Query parameters

startstring date

optional date value to filter the list (inclusive).

endstring date

optional date value to filter the list (inclusive).

type'account_application' | 'account_statement' | 'crypto_account_statement' | 'options_application' | 'tax_statement' | 'trade_confirmation_json' | 'trade_confirmation'
Example:account_statement

The type of the account document

Response

OK

datestring date required
idstring uuid required
namestring
sub_typestring

The sub-type of the document. This is a free-form property.

type'account_application' | 'account_statement' | 'crypto_account_statement' | 'options_application' | 'tax_statement' | 'trade_confirmation_json' | 'trade_confirmation' required

The type of the account document

Example response

[
  {
    "date": "2019-09-30",
    "id": "0d18ae51-3c94-4511-b209-101e1666416b",
    "sub_type": "1099-Comp",
    "type": "account_statement"
  }
]