improved

API Release Notes November 25/24

Summary

  1. List Endpoints: The list endpoints return the assets list for funds, etc, crypto, add and stock data.
  2. Aggregated Search: The search result is grouped by security name.
  3. Enhanced Searcher: Support over 100.000 securities.
  4. Performance improvements The average response time of the API is <400ms.

New Endpoints
1. Bulk Endpoint: Return the Quote, Candle and ETF data bulked
2. Dividend Calendar: Return upcoming dividends for stocks and etfs.
3. Annual dividends: Annualise dividend to make them easier comparable
4. ETF and Stock dividend estimates: Return dividend estimates.
5. Financial TTM: Return financial TTM results

New Endpoints

Bulk

Endpoint: Bulk


Description: This endpoint returns bulked financial data.

curl --request POST \
     --url https://api.bavest.co/v0/bulk \
     --header 'accept: text/plain' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key' \
     --data '
{
  "symbols": [
    {
      "symbol": "IWDA.L"
    }
  ],
  "endpoint": "etf_profile",
  "params": {
    "resolution": "D",
    "symbol": "ARKK"
  }
}
'

Parameters:

  • symbols: The security symbols
  • endpoint: The endpoint name
  • params: Addionall parameters for the endpoint

Search aggregated

Endpoint: Search aggregated


Description: This endpoint returns aggregated search results.

curl --request POST \
     --url https://api.bavest.co/v0/search/aggregated \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key' \
     --data '{"query":"AAPL"}'

Parameters:

  • query: The search query

Dividend Calendar

Endpoint: Dividend Calendar


Description: The dividend calendar return announced dividends.

curl --request POST \
     --url https://api.bavest.co/v0/calendar/dividends \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key'

Financials TTM

Endpoint: Financials TTM


Description: This endpoint returns financial TTM results.

curl --request POST \
     --url https://api.bavest.co/v0/stock/financials/ttm \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key' \
     --data '{"symbol":"AAPL"}'

Parameters:

  • symbol: The security symbol

Financials TTM

Endpoint: Dividend Estimate


Description: This endpoint returns dividend estimates

curl --request POST \
     --url https://api.bavest.co/v0/etf/dividend-estimate \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key' \
     --data '{"symbol":"HDLV.DE"}'

Parameters:

  • symbol: The symbol of the security.

Financials TTM

Endpoint: Annual Dividends


Description: The endpoint provides annual dividends for stocks, ETFs, and mutual funds.

curl --request POST \
     --url https://api.bavest.co/v0/dividends/annual \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: api-key' \
     --data '{"symbol":"AAPL"}'

Parameters:

  • symbol: The symbol of the security.