Historical API

Query historical bars, quotes, trades, and snapshots over REST from https://data.alpaca.markets using Market Data API.

This RESTful API provides historical market data through the HTTP protocol. This allows you to query historical market information, which can be used for charting, backtesting and to power your trading strategies.

Historical market data is available for the following types:

Base URL

The Base URL for the historical endpoints is

https://data.alpaca.markets/{version}

Sandbox URL (for broker partners):

https://data.sandbox.alpaca.markets/{version}

Did this page help you?