Please see our docs here.

Market Data API
Access real-time market pricing data and up to 6+ years worth of historical data for stocks and crypto.