gdelt_search
Search global news coverage indexed by GDELT using queries and operators; filter results by country, language, domain, and time window to retrieve matching articles.
Instructions
Search global news coverage indexed by GDELT. Searches global news coverage indexed by GDELT for the required query, which accepts quoted phrases, (a OR b), theme:, tone<N and domain:. Narrow with country, language, domain, and timespan or from and to (about the last 3 months are indexed). Returns up to maxrecords articles (default 75, max 250) with title, URL, domain, language, source country and seen_at.
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 only indexes roughly the last 3 months. | |
| sort | No | Result order. | |
| query | Yes | GDELT query string. Supports GDELT's own search operators: quoted phrases, (a OR b), theme:NAME, tone<N / tone>N, near20:\ | |
| domain | No | Convenience domain filter, appended to the query as domain:VALUE. | |
| country | No | Convenience source-country filter, appended to the query as sourcecountry:VALUE. Accepts a GDELT-recognized country name (no spaces) or 2-letter FIPS code. | |
| language | No | Convenience source-language filter, appended to the query as sourcelang:VALUE. Accepts a GDELT-recognized language name or 3-letter code. | |
| timespan | No | Relative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to. | |
| maxrecords | No | Rows to return. GDELT's own hard cap is 250; there is no pagination cursor beyond it. |