import requests url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes?limit=1000&sort=asc" headers = {"accept": "application/json"} response = requests.get(url, headers=headers) print(response.text)