GDELT events filtered by country
Changed onEvents where actor1, actor2, or action_geo country code equals the requested ISO 3166-1 alpha-2 code (union match). period=1h reads latest.json only; period=6h or 24h additionally merges daily shards. Omit lang, or pass en, eng, or english, for the English file. A two-letter code maps onto a stored code. One of the 15 stored source languages reads the translation event file.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/gdelt/events/by-country/{country}
- Auth: API key in header x-api-key
Path parameters
ISO 3166-1 alpha-2 country code (uppercase).
Query parameters
Lookback window.
Page size.
Pagination offset.
Omit lang, or pass en, eng, or english, for the English file. A two-letter code maps onto a stored code: pt por, es spa, de deu, fr fra, it ita, ru rus, zh zho, ja jpn, ko kor, ar ara, hi hin, fa fas, tr tur, id ind, vi vie. One of ara, deu, fas, fra, hin, ind, ita, jpn, kor, por, rus, spa, tur, vie, zho reads the translation event file. Any other code is language_not_stored.
Response
Paginated GDELT events matching the country code, with freshness flags.
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterlang
- info