Crypto Pricing API #
Please note that Alpaca Crypto Data is in beta - we welcome any feedback to improve our offering.
Alpaca provides crypto data from multiple venues and but currently routes orders to FTX.US only.
List of crypto exchanges which are supported by Alpaca.
|Exchange Code||Name of Exchange|
Common behavior #
The Crypto Data API provides historical data through multiple endpoints. These endpoints have the same URL prefix (omitted from now on):
This URL is the same for both subscription plans, there is no limitation
The authentication is done the same way as with the Trading API, simply set the following HTTP headers:
limit query parameter. The value should be in the range 1 - 10000 (endpoints included) with 1000 being the default if unspecified.
To support querying long timespans continuously we support paging in our API. If the result you have received contains a
next_page_token that is not
null there may be more data available in the timeframe you have chosen. Include the token you have received as the
page_token query parameter for the next request you make while leaving the other parameters unchanged to continue where the previous response left off.
The results are ordered in ascending order by time.
The timestamps for trades, quotes, and bars correspond to when a trade was executed or a quote was generated on the exchange or OTC desk.