| 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. Allowed values: relevance (default), datedesc, dateasc, tonedesc, toneasc. | |
| query | Yes | GDELT query string. Supports GDELT's own search operators: quoted phrases, (a OR b), theme:NAME, tone<N/tone>N, near20:"a b", repeat3:"word", domain:example.com. Required. | |
| domain | No | Convenience domain filter, appended to query as domain:VALUE. | |
| country | No | Convenience source-country filter, appended to query as sourcecountry:VALUE. Accepts a GDELT-recognized country name (no spaces) or 2-letter FIPS code, e.g. unitedkingdom or uk. | |
| language | No | Convenience source-language filter, appended to query as sourcelang:VALUE. Accepts a GDELT-recognized language name or 3-letter code, e.g. spanish or spa. | |
| timespan | No | Relative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to. Minimum 15min; GDELT's own data only spans roughly the last 3 months. | |
| maxrecords | No | Rows to return, default 75, max 250 (GDELT's own hard cap; there is no pagination cursor beyond this). | |