gdelt_context
Search the last 72 hours of GDELT news for sentences where every query term appears together, returning sentence, context, title, URL, domain, language, and quote flag.
Instructions
Sentence-level co-occurrence search across recent GDELT coverage. Searches the last 72 hours of GDELT-monitored news for sentences where every term of the required query appears together. Returns up to maxrecords rows (default 75, max 200), each with the matching sentence, its surrounding context, title, URL, domain, language and an is_quote flag. Filter with domain, language, is_quote, timespan or from and to, and order with sort.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of an absolute time window. Same formats as from. | |
| from | No | Start of an absolute time window. Accepts YYYY-MM-DD, RFC3339, or GDELT's raw YYYYMMDDHHMMSS. Cannot be combined with timespan; GDELT caps this endpoint's window at 72 hours. | |
| sort | No | Result order. | |
| query | Yes | GDELT query string. All terms must co-occur in the same sentence. Supports quoted phrases, (a OR b), domain:example.com. | |
| domain | No | Convenience domain filter, appended to the query as domain:VALUE. | |
| is_quote | No | Only return sentences GDELT identified as a quotation. | |
| language | No | Source-language filter (GDELT's searchlang parameter). Space-segmented languages only (excludes CJK and similar). | |
| timespan | No | Relative time window ending now, e.g. 30min, 6h, 3d. Cannot be combined with from/to. GDELT caps this endpoint's window at 72 hours. | |
| maxrecords | No | Rows to return. GDELT's own hard cap is 200 for this endpoint (lower than gdelt-search's 250); there is no pagination cursor beyond it. |