Alpaca
Stock and crypto trading platform with commission-free trading, real-time market data, and algorithmic trading capabilities
100 actionsSign in with Alpaca
What your bot can do in Alpaca
Looks up
- Get AccountRetrieves account information for the authenticated Alpaca account.
- Get Account ActivitiesRetrieves account activities for the authenticated Alpaca account.
- Get Account Activities By Activity TypeRetrieves account activities of a specific type for the authenticated Alpaca account.
- Get Account Activities V2Retrieves account activities of one type for the authenticated Alpaca account using the v2 API.
- Get Account ConfigurationsRetrieves the current trading account configuration settings for the authenticated Alpaca account.
- Get Account Portfolio HistoryRetrieves the portfolio history statistics for an Alpaca trading account.
- Get Account Portfolio HistoryRetrieves the portfolio history statistics for a trading account.
- Get All Account PositionsBulk fetches all open positions for the authenticated account.
- Get All Open PositionsRetrieves all open positions for the authenticated Alpaca trading account.
- Get All OrdersRetrieves all orders for an account based on specified filter criteria.
Show 74 more
- Get CalendarRetrieves market calendar information for trading days from the Alpaca Trading API.
- Get ClockRetrieves the current market clock information from the Alpaca Trading API.
- Get Crypto Bars for Multiple SymbolsRetrieves OHLCV (Open, High, Low, Close, Volume) bars for multiple crypto symbols.
- Get Crypto Latest OrderbooksRetrieves the latest bid and ask orderbook data for specified crypto symbols.
- Get Crypto Latest QuoteRetrieves the latest bid and ask prices for a specified crypto symbol.
- Get Crypto Latest QuotesRetrieves the latest bid and ask prices for specified crypto symbols at a specific location.
- Get Crypto Latest QuotesRetrieves the latest bid and ask prices for specified crypto symbols.
- Get Crypto Perp Latest BarsRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for crypto perpetual futures symbols.
- Get Crypto Perp Latest OrderbooksRetrieves the latest bid and ask orderbook data for specified crypto perpetual futures symbols.
- Get Crypto Perp Latest PricingRetrieves the latest pricing data for specified crypto perpetual futures symbols.
- Get Crypto Perp Latest QuotesRetrieves the latest bid and ask prices for specified crypto perpetual futures symbols for a specific location.
- Get Crypto Perp Latest TradesRetrieves the latest trade data for specified crypto perpetual futures symbols.
- Get Crypto Perps Global Latest BarsRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for crypto perpetual futures symbols.
- Get Crypto Perps Global Latest PricingReturns the latest pricing data for crypto perpetual futures symbols.
- Get Crypto Perps Global Latest QuotesRetrieves the latest bid and ask prices for specified crypto perpetual futures symbols.
- Get Crypto Perps Global Latest TradesRetrieves the latest trade data for specified crypto perpetual futures symbols.
- Get Crypto SnapshotsRetrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in a…
- Get Crypto SnapshotsRetrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols.
- Get Crypto US Historical QuotesRetrieves historical quote data (bid/ask prices) for specified crypto symbols on US exchanges.
- Get Crypto US Latest BarsRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for US crypto symbols.
- Get Crypto US Latest OrderbooksRetrieves the latest bid and ask orderbook data for specified crypto symbols in the US market.
- Get Crypto US Latest QuotesRetrieves the latest bid and ask prices for specified crypto symbols in the US location.
- Get Crypto US Latest TradesRetrieves the latest trade data for specified crypto symbols in the US location.
- Get Crypto US SnapshotsRetrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in the…
- Get Crypto US TradesRetrieves historical trade data for specified US crypto symbols.
- Get ExchangesRetrieves a list of supported stock exchanges with their short codes and full names from the Alpaca Market Data API.
- Get Historical Bars for Stock SymbolRetrieves historical OHLCV (Open, High, Low, Close, Volume) bars for a single stock symbol.
- Get Historical Crypto US BarsRetrieves historical OHLCV (Open, High, Low, Close, Volume) bars for crypto symbols in a specific US location.
- Get Historical Stock BarsRetrieves historical OHLCV (Open, High, Low, Close, Volume) bars for a single stock symbol.
- Get Historical Trades for Stock SymbolRetrieves historical trade data for a single stock symbol.
- Get Latest Bar for Stock SymbolRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bar for a single stock symbol.
- Get Latest Bars For Crypto SymbolRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bar data for a crypto symbol.
- Get Latest Bars for Crypto SymbolsRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for multiple crypto symbols.
- Get Latest Bars for Multiple Stock SymbolsRetrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for multiple stock symbols.
- Get Latest Crypto TradesRetrieves the latest trade data for specified crypto symbols.
- Get Latest Quote for Stock SymbolRetrieves the latest NBBO (National Best Bid and Offer) quote for a single stock symbol.
- Get Latest Quotes for Multiple Stock SymbolsRetrieves the latest NBBO (National Best Bid and Offer) quotes for multiple stock symbols.
- Get Latest Trade for Stock SymbolRetrieves the latest trade data for a single stock symbol.
- Get Latest Trades for Multiple Stock SymbolsRetrieves the latest trade data for multiple stock symbols.
- Get Market CalendarRetrieves market calendar information for a specific exchange from the Alpaca Trading API.
- Get Meta ExchangesRetrieves a list of all US stock exchanges and their identifying information from the Alpaca Market Data API.
- Get Most Active StocksRetrieves the most active stocks by trading volume or trade count.
- Get NewsRetrieves news articles for specified crypto symbols from the Alpaca Market Data API.
- Get Open PositionFetches a single open position by symbol or asset ID.
- Get Option ChainRetrieves the option chain for a specific underlying symbol including quotes and greeks for all available strikes and expirations.
- Get Option ContractGet an option contract by its symbol or unique identifier.
- Get Option ContractsRetrieve option contracts from Alpaca Markets API (BETA).
- Get Option Latest QuotesRetrieves the latest bid and ask prices for specified option symbols.
- Get Options Historical BarsRetrieves historical OHLCV (Open, High, Low, Close, Volume) bars for options contracts.
- Get Options Historical TradesRetrieves historical trade data for option contracts.
- Get Options Latest TradesRetrieves the latest trade for each requested option contract symbol.
- Get Options Meta ConditionsRetrieves the mapping of condition codes to their names from Alpaca Markets API for the specified tick type (trade or quote conditions).
- Get Options Meta Conditions TradeRetrieves the mapping of trade condition codes to their names from Alpaca Markets API.
- Get Options SnapshotsRetrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple option contract symbols.
- Get Options Snapshots by Underlying SymbolRetrieves the option chain snapshot data for a specific underlying symbol.
- Get PDT StatusRetrieves the Pattern Day Trader (PDT) status for a specified Alpaca trading account.
- Get Quotes for Multiple Stock SymbolsRetrieves historical quote (bid/ask) data for multiple stock symbols.
- Get Quotes for Stock SymbolRetrieves historical NBBO (National Best Bid and Offer) quotes for a specific stock symbol.
- Get Specific AnnouncementRetrieves a specific corporate action announcement by its unique identifier.
- Get Stock AuctionsRetrieves historical auction data for specified stock symbols.
- Get Stock Auctions for SymbolRetrieves historical auction (opening/closing print) data for a single stock symbol.
- Get Stock Bars for Multiple SymbolsRetrieves OHLCV (Open, High, Low, Close, Volume) bars for multiple stock symbols.
- Get Stock ConditionsRetrieves the mapping of condition codes to their names from Alpaca Markets API for the specified type (trade or quote conditions) and tape.
- Get Stock Snapshot for SymbolRetrieves a snapshot (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for a single stock symbol.
- Get Stock Snapshots for Multiple SymbolsRetrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple stock symbols.
- Get Stocks Meta Conditions TradeRetrieves the mapping of trade condition codes to their names from Alpaca Markets API.
- Get SubscriptionRetrieves a rebalancing subscription by its unique ID.
- Get Top Movers By Market TypeRetrieves the top market movers (gainers and losers) for a specified market type.
- Get Trades for Multiple Crypto SymbolsRetrieves historical trade data for specified crypto symbols.
- Get Trades for Multiple Stock SymbolsRetrieves historical trade data for multiple stock symbols.
- Get Watchlist By IDRetrieves a single watchlist by its unique identifier.
- Get Watchlist By NameRetrieves a specific watchlist by its name.
- Get WatchlistsRetrieves all watchlists associated with the authenticated account.
- List account positionsLists all open positions for a specified trading account.
Takes action
- Add Asset to WatchlistAdds a symbol to an existing watchlist in the authenticated account.
- Add Asset to Watchlist by NameAdd an asset to a watchlist by name.
- Create WatchlistCreates a new watchlist for the authenticated account.
- Create WatchlistCreate a new watchlist for the authenticated account.
- Delete All Open PositionsLiquidates all open positions by closing them at market price.
- Delete All Orders for AccountAttempts to cancel all open orders for a specified trading account.
- Delete Unsubscribe AccountDelete a rebalancing subscription to unsubscribe an account.
- Delete Watchlist By IDDelete a watchlist by its unique identifier.
- Remove Asset From WatchlistRemoves a symbol from an existing watchlist in Alpaca.
- Remove Symbol From WatchlistRemove a symbol from an existing watchlist in Alpaca.
Show 6 more
- Update Account ConfigurationsUpdate the trading account configuration settings for the authenticated account.
- Update Trading ConfigurationsUpdates trading account configurations for an Alpaca trading account.
- Update Watchlist By IDUpdates an existing watchlist by its unique identifier.
- Update Watchlist By NameUpdates an existing watchlist by its name.
- Update Watchlist By Name (v2)Updates an existing watchlist by its name.
- Upload Account CIP InformationUpload CIP (Customer Identification Program) information for an account to complete identity verification.