Get Assets
GET {{baseUrl}}/v2/assets
The assets API serves as the master list of assets available for trade and data consumption from Alpaca. Assets are sorted by asset class, exchange and symbol.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
status | string | e.g. “active”. By default, all statuses are included. | |
asset_class | string | Defaults to us_equity. | |
exchange | string | Optional AMEX, ARCA, BATS, NYSE, NASDAQ, NYSEARCA or OTC | |
attributes | string | Comma separated values to query for more than one attribute. Assets which have any of the given attributes will be included. | |
Supported values are ptp_no_exception , ptp_with_exception , ipo , options_enabled . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Apca-Api-Key-Id | string | ||
Apca-Api-Secret-Key | string |
RESPONSES
status: OK
[{"id":"b8c736e9-183b-435b-8441-96b31b00b120","class":"us_equity","exchange":"NASDAQ","symbol":"292RGT016","name":"Empire Petroleum Corp. Rights (expiration 04/03/24)","status":"inactive","tradable":false,"marginable":false,"maintenance_margin_requirement":100,"shortable":false,"easy_to_borrow":false,"fractionable":false,"attributes":[]},{"id":"79d5a658-5e02-47b7-b1f1-b511bd2cf9d5","class":"us_equity","exchange":"NASDAQ","symbol":"231992017","name":"Cummins Inc. tender offer contra (expiration 03/13/24)","status":"inactive","tradable":false,"marginable":false,"maintenance_margin_requirement":100,"shortable":false,"easy_to_borrow":false,"fractionable":false,"attributes":[]}]