get_all_assets
Retrieve all available assets from the Alpaca platform with optional filtering by status, asset class, exchange, or attributes to manage large datasets effectively.
Instructions
Get all available assets with optional filtering. WARNING: The unfiltered response is very large (thousands of assets). Always narrow results with the status, asset_class, or exchange parameters. To look up a single asset, use get_asset instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | e.g. “active”. By default, all statuses are included. | |
| asset_class | No | Defaults to us_equity. | |
| exchange | No | Optional AMEX, ARCA, BATS, NYSE, NASDAQ, NYSEARCA or OTC | |
| attributes | No | Comma separated values to query for more than one attribute. Assets which have any of the given attributes will be included. Supported values: - `ptp_no_exception`: Asset is a Publicly Traded Partnership (PTP) without a qualified notice; non-U.S. customers may incur 10% withholding on gross proceeds as per IRS guidance, and are blocked from being purchased by default. - `ptp_with_exception`: Users can open positions in these PTPs without general restrictions. - `ipo`: Accepting limit orders only before the stock begins trading on the secondary market. - `has_options`: The underlying equity has listed options available on the platform. Note: if the equity had inactive/expired contracts in the past, this will still show up. - `options_late_close`: Indicates the underlying asset's options contracts close at 4:15pm ET instead of the standard 4:00pm ET. - `fractional_eh_enabled`: Indicates the asset accepts fractional orders during extended hours sessions (pre-market, post-market, and overnight if enabled). - `overnight_tradable`: Asset is eligible for overnight (24x5) trading in supported venues on the platform. - `overnight_halted`: Asset is not eligible for overnight trading but is currently halted/blocked for overnight sessions due to risk, corporate action, compliance, or venue constraints. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||