Historical Global Macro Sentiment Indices (GMSI) Batch (Multiple Countries/Topics)

Returns paginated sentiment index aggregates for the Global Macro Sentiment Indices (GMSI) dataset for one or more countries and topics over a historical date range (up to 90 days), with one row per country per topic per timestamp (unlike GET /index/gmsi/historical/{country}, which is scoped to a single country and topic). Use country_preset and topic_preset to select a predefined grouping (e.g. G7, ECONOMIC DATA) or an individual country code / topic name. Use interval to switch between hourly and daily aggregation granularity. Use sentiment_type to switch between directional (topic-specific rules) and semantic sentiment models. Use index_type to filter by domestic or international headline coverage, or return both with COMBINED. Pass the next_token from each response into the next request to page through results. Get valid country presets from GET /headlines/topics/gmsi/countries/presets or individual codes from GET /countries. Get valid topic presets from GET /headlines/topics/gmsi/topics/presets or individual topics from GET /headlines/topics/gmsi.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
Defaults to ALL

Country preset key or individual ISO-2 country code. Defaults to ALL. Use GET /headlines/topics/gmsi/countries/presets and GET /countries.

string
Defaults to ALL

Topic preset key or individual topic name. Defaults to ALL. Use GET /headlines/topics/gmsi/topics/presets and GET /headlines/topics/gmsi.

string
enum
Defaults to directional

Sentiment model to apply. directional uses topic-specific classification rules; semantic_sentiment uses general language tone.

Allowed:
string
enum
Defaults to COMBINED

Headline coverage scope. DOMESTIC includes only domestic coverage, INTERNATIONAL only foreign coverage, COMBINED includes both.

Allowed:
string
enum
Defaults to HOUR

Time interval for aggregation. HOUR returns hourly aggregates; DAY returns daily aggregates.

Allowed:
integer
1 to 1000
Defaults to 100

Maximum number of records per page.

Include incremental updates for the current period. When False, only data older than 1 hour(s) ago is returned, excluding periods still being updated.

Start date for the time range filter (YYYY-MM-DD format). If not provided, defaults to 7 days ago.

Pagination cursor from previous response. Use this to continue pagination within the same time range.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json