Trending events by media attention
Changed onEvents ranked by how much media attention they are getting in the window, from the GDELT Mentions stream. Each event carries its mention count, distinct outlet count, up to five outlet names, up to five article links, average tone, and first/last seen time. Join global_event_id back to /gdelt/recent for event detail. period=1h reads the rolling window; 6h/24h merge daily shards. Omit lang, or pass en, eng, or english, for the English mentions file. A two-letter code maps onto a stored code. One of the 15 stored source languages ranks the translation mentions.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/gdelt/events/trending
- Auth: API key in header x-api-key
Query parameters
Lookback window.
Top-N events to return.
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
Top-N events by mention count with attention metrics and 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 new optional
queryrequest parameterlang - 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 non-success response with the status
- info