post https://api.bavest.co/v0/bulk
Endpoints
Endpoint | Endpoint parameter name |
---|---|
Search | search |
Quote | quote |
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 |
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.
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.