Commerce & Payments · Developer Tools

Alpaca

Stock and crypto trading platform with commission-free trading, real-time market data, and algorithmic trading capabilities

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get Crypto Perp Latest Orderbooks

    Retrieves the latest bid and ask orderbook data for specified crypto perpetual futures symbols. Use when you need real-time orderbook data for crypto perpetual futures trading, such as checking current market depth before placing orders or analyzing liquidity. Returns the most recent orderbook for each requested symbol, including bid and ask price levels with their sizes.

  • Get Crypto Perp Latest Pricing

    Retrieves the latest pricing data for specified crypto perpetual futures symbols. Use when you need real-time pricing data for crypto perpetual futures trading, such as checking current market prices, index prices, mark prices, funding rates, or open interest before placing orders or analyzing the market. Returns the most recent pricing data for each requested symbol, including timestamp, funding timestamp, open interest, index price, mark price, and funding rate.

  • Get Crypto Perp Latest Quotes

    Retrieves the latest bid and ask prices for specified crypto perpetual futures symbols for a specific location. Use when you need real-time quote data for crypto perpetual futures trading, such as checking current market prices before placing orders or monitoring price movements.

  • Get Crypto Perp Latest Trades

    Retrieves the latest trade data for specified crypto perpetual futures symbols. Use when you need real-time trade data for crypto perpetual futures trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume. Returns the most recent trade for each requested symbol, including price, size, timestamp, and tick direction.

  • Get Crypto Perps Global Latest Bars

    Retrieves the latest global OHLCV bars for crypto perpetual futures symbols, including trade count and volume-weighted average price. Use for real-time or near real-time price data for crypto perpetual futures contracts.

  • Get Crypto Perps Global Latest Pricing

    Retrieves the latest global pricing data for crypto perpetual futures symbols, including mark price, index price, open interest, and funding rate.

  • Get Crypto Perps Global Latest Quotes

    Retrieves the latest global bid and ask quotes for specified crypto perpetual futures symbols. Use for current market prices or monitoring price movements.

  • Get Crypto Perps Global Latest Trades

    Retrieves the latest trade data for specified crypto perpetual futures symbols. Use when you need real-time trade data for crypto perpetual futures trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume.

  • Get Crypto Snapshots

    Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in a specific location. Use this action when you need comprehensive real-time market data for crypto symbols, such as building a crypto dashboard, checking current market conditions across multiple assets, or analyzing price movements before trading. Note: This endpoint uses the data.alpaca.markets base URL for crypto market data.

  • Get Crypto US Latest Bars

    Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for US crypto symbols. Use this action when you need real-time or near real-time price data for multiple crypto trading pairs. Returns the most recent bar for each requested symbol, including open, high, low, close prices, volume, trade count, and volume-weighted average price.

  • Get Crypto US Latest Orderbooks

    Retrieves the latest bid and ask orderbook data for specified crypto symbols in the US market. Use when you need real-time orderbook data for cryptocurrency trading in the US market, such as checking current market depth before placing orders or analyzing liquidity. Returns the most recent orderbook for each requested symbol, including bid and ask price levels with their sizes.

  • Get Crypto US Latest Quotes

    Retrieves the latest bid and ask prices for specified crypto symbols in the US location. Use when you need real-time quote data for cryptocurrency trading in the US market, such as checking current market prices before placing orders or monitoring price movements.

  • Get Crypto US Latest Trades

    Retrieves the latest trade data for specified crypto symbols in the US location. Use when you need real-time trade data for cryptocurrency trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume.

  • Get Crypto US Historical Quotes

    Retrieves historical bid and ask quotes for specified crypto symbols in the US location, sorted by symbol and then timestamp. Use the data to analyze spreads, backtest strategies, or study market microstructure.

  • Get Crypto US Snapshots

    Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in the US market location. Use this action when you need comprehensive real-time market data for multiple crypto symbols in the US market, such as building a crypto dashboard, checking current market conditions across multiple assets, or analyzing price movements before trading.

  • Get Crypto US Trades

    Retrieves historical trade data for specified US crypto symbols. Use when you need to: - Get historical trade data for US crypto symbols at once - Analyze trading volume and price movements over time - Build datasets for backtesting or research - Query trades within a specific time range Results are sorted by symbol first, then by trade timestamp. If the response contains more data than the limit allows, use the next_page_token to continue fetching.

  • Get Exchanges

    Retrieves a list of supported stock exchanges with their short codes and full names from the Alpaca Market Data API. Use this action when you need to: - Get the mapping between exchange codes and full names - Understand what exchange codes like 'Z', 'V', 'N' mean in market data - Parse exchange identifiers in trading data responses This is a read-only operation that queries the stocks meta exchanges endpoint.

  • Get Latest Bar for Stock Symbol

    Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bar for a single stock symbol. Use this action when you need real-time or near real-time price bar data for a specific stock trading symbol. This is useful for dashboards, price monitoring, and triggering alerts based on current market conditions. Returns the most recent bar including open, high, low, close prices, volume, trade count, and volume-weighted average price.

  • Get Latest Bars For Crypto Symbol

    Retrieves the latest OHLCV bar for a cryptocurrency pair in Alpaca's US location. The bar includes opening, high, low and closing prices, volume, trade count and volume-weighted average price.

  • Get Latest Bars for Crypto Symbols

    Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for multiple crypto symbols. Use this action when you need real-time or near real-time price bar data for multiple cryptocurrency pairs simultaneously. This is useful for dashboards, price monitoring, and triggering alerts based on current market conditions. The response includes the most recent bar for each requested symbol, containing open, high, low, close prices, volume, trade count, and volume-weighted average price.

PreviousPage 2 / 5Next