The typical API request looks like this:
For most cases, this is a great option; however, for some occasions, it might be more efficient to request multiple symbols, multiple endpoints, or several technical indicators at once. There are two main approaches to achieving these.
This type of request works best when multiple symbols have to be requested from the same endpoint. The advantages include a faster response (rather than individually), saved traffic, and easier error handling. Each symbol has to be separated by a comma, and a colon might be used if the exchange has to be specified.
This method could be used with
/eod, and some other endpoints. Take note that each symbol passed still has the same API weight. So, in the example above, the request will consume 3 API credits.
This is a big brother of batch requests that allows to construct and get data from API with any complexity. The data might be only received via a POST request, which provides flexibility to call multiple symbols, intervals, and endpoints simultaneously. More details, parameters, and examples can be encountered in the docs.