Guide
Rest API
- The API's purpose is to retrieve raw data for indicators. When a request reaches an endpoint, no new data point is generated. Rather, existing data is retrieved.
- Data can be obtained in JSON, CSV, and XLSX formats.
- Each API query delivers data for Sentiment A and Sentiment B.
- A single query solely provides data for a specific indicator configuration.
- Single data points or time series can be requested.
GET
HTTP request typeReferrer Policy
inHeaders
are set tostrict-origin-when-cross-origin
. For info on more flexible access to MSA.IDX data check the Terms of use section. Same applies for potentially heavy users.
Request
Generally, the API URLs are analogous to the web interface URLs, but their suffixes and prefixes differ.
There are two types of data: <data_type>
for a single point in time point
or a time series of the last 200 readings feed
. For each of these two types, either the most recent values can be retrieved with the suffix /n
or a specified time range starting from the last evaluated key /<last_key>
.
Response
- The
<last_key>
is included in responseHeaders
asX-Last-Evaluated-Key
- Data structure of different
<data_type>
s is identical