Getting Historical quotes for List of securities

I am able to fetch the historical prices for one single stock .However I need to be able to fetch the same for list of stocks . I tried to place multiple comma separated list of instrument keys in the url and also pass as params, but does not work .Can someone please help ?

headers = {
“accept”: “application/json”,
“Api-Version”: “2.0”,
“Authorization”: "Bearer {access token}
candles_data = json_response[‘data’][‘candles’]
columns = [‘Date’, ‘Open’, ‘High’, ‘Low’, ‘Close’, ‘Volume’, ‘Other’]
df = pd.DataFrame(candles_data, columns=columns)

The historical API does not accommodate comma-separated lists of symbols. You will need to retrieve data for each instrument individually.

Fetching data using a single instrument key is optimized on the CDN for better performance, ensuring faster responses from the cache.