API Array calls - Borsdata-Sweden/API GitHub Wiki
Overview
To reduce number of API calls you can pass a list (Array) of instruments to following functions.
instList (instrument list) is comma separated and can have max 50 instruments.
Please use this calls to reduce the number of daily Api calls.
1. Historical stockprices
[URL]/v1/instruments/stockprices?authKey=[KEY]&instList=7,97
[URL]/v1/instruments/stockprices?authKey=[KEY]&instList=7,97&to=2022-03-07&from=2022-03-01
2. All Reports
[URL]/v1/instruments/reports?authKey=[KEY]&instList=2,3,6
3. Historical Kpis
[URL]/v1/Instruments/kpis/7/r12/mean/history?authKey=[KEY]&instList=2,3,6,7
Instrument Error message
- BADINPUT - There is some problem with instList, comma separated list.
- NOTEXIST - Instrument does not exist
- NOTACTIVE - Instrument is not Active anymore.