post
https://api.bavest.co/v0/bulk
Retrieves details for multiple instruments in a single request. This reduces the number of API calls and improves efficiency when fetching large datasets.
Endpoints
| Endpoint | Endpoint parameter name |
|---|---|
| Search | search |
| Quote | quote |
| Crypto Price | crypto_price |
| Candle | candle |
| ETF Country | etf_country |
| ETF Dividend | etf_dividend |
| ETF Profile | etf_profile |
| ETF Top Holdings | etf_top_holdings |
| ETF Holdings | etf_holdings |
| ETF Sector | etf_sector |
| ETF Fundamentals | etf_fundamentals |
| ETF Metrics | etf_metrics |
| Price | price |
Example
If you want to bulk download the ETF dividends: You can use following JSON:
{
"symbols": [
{
"symbol": "SPY"
},
{
"symbol": "QQQ"
}
],
"endpoint": "etf_dividend",
"params": {}
}Important: You still need the empty params entry.
Getting price charts via bulk endpoint
{
"symbols": [{"symbol": "AAPL"}, {"symbol": "BLK"}],
"endpoint": "candle",
"params": {
"resolution": "D",
"from": "1727958384",
"to": "1730367737"
}
}Getting crypto prices via bulk endpoint
{
"symbols": [{"symbol": "BTCUSD"}, {"symbol": "ETHUSD"}],
"endpoint": "crypto_price",
"params": {
"resolution": "D",
"from": "1727958384",
"to": "1730367737"
}
}Parameter
If you need to provide additional parameters e.g. the resolution, from_date, to_candle if you use the candle endpoint, you need provide them in the parameters argument.
If you don't have any parameters, please provide a empty dictionary.
