GDELT News Search: Global Articles by Keyword, Site, Country
Pricing
$1.00 / 1,000 news articles
GDELT News Search: Global Articles by Keyword, Site, Country
Search worldwide online news from the GDELT DOC 2.0 API by keyword, domain, source country, language, tone and time window. Article URL, title, domain, language, country and date, with a GDELT citation. Only-new mode skips articles seen in earlier runs. Metadata only. Unofficial.
Pricing
$1.00 / 1,000 news articles
Rating
0.0
(0)
Developer
fecklesspleb
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
GDELT News Search
Search worldwide online news coverage through the free GDELT DOC 2.0 API: keyword or phrase, news domain, source country, source language, tone and time window. Each result is one article's metadata (URL, title, domain, language, source country, the time GDELT saw it) with the GDELT citation that GDELT's terms ask for. When the DOC API keeps refusing requests (it rate-limits heavily), the run searches GDELT's raw article-list files instead, and every row says which source it came from. Use it for PR tracking and research, with news metadata from an open dataset whose terms allow commercial reuse.
Unofficial; not affiliated with the GDELT Project. Metadata only: no article text is fetched or stored.
What you get
| Field | Meaning |
|---|---|
recordType | item for an article, status for a free status row (see below) |
url | Article URL |
title | Headline as GDELT recorded it |
domain | News site domain |
language | Language the article was published in |
sourceCountry | Outlet's country as assigned by GDELT (by domain suffix, main country covered, or registration) |
seenDate | When GDELT first saw the article (UTC, ISO 8601) |
toneFilter | The tone range you filtered on, if any (for example < -5) |
socialImage | The article's social sharing image URL, if any |
dataSource | doc_api (GDELT DOC 2.0 API) or gal_files (GDELT Article List raw files, the fallback described below) |
publishedDate | gal_files rows only: publish time from the page when it gives one, otherwise when GDELT saw it; null for doc_api rows |
matchNote | gal_files rows only: what the fallback search could and could not apply |
gdeltCitation, gdeltLink | Citation and link to the GDELT Project, on every row |
Input
| Field | Default | Notes |
|---|---|---|
query | "artificial intelligence" | GDELT query syntax: quote phrases, (a OR b), -word to exclude |
domains | none | Exact domains, combined with OR (domainis:) |
sourceCountries | none | unitedkingdom or FIPS code UK, combined with OR |
sourceLanguages | none | english or eng, combined with OR |
toneMin, toneMax | none | Only articles more positive / more negative than the value |
timespan | 1d | 15min to about 3m; ignored when startDateTime is set |
startDateTime, endDateTime | none | UTC, e.g. 2026-11-01T08:00:00Z |
sort | datedesc | Newest/oldest first can return more than 250 articles; relevance and tone orders return one page of up to 250 |
maxItems | 5 | Up to 5,000 |
onlyNew | false | Skip URLs saved by earlier runs (same stateKey); skipped articles are free |
fallback | auto | auto: search the raw files when the DOC API is unavailable; off: DOC API only; only: raw files only |
GDELT allows one request every 5 seconds (from GDELT's own HTTP 429 text: "Please limit requests to one every 5 seconds"). Each request returns up to 250 articles, so this Actor waits 5.5 seconds between requests and never sends two requests less than 5 seconds apart; 1,000 articles take at least about 25 seconds when there is no rate limit. The default input is one request (after a robots.txt check) and stays fast when GDELT is not rate-limiting.
If GDELT answers HTTP 429, the same request is retried with a longer wait: the Retry-After header is honoured when present, otherwise the wait starts at 10 seconds (never below 5.5) and grows 20, 40, then 60 seconds, with a little jitter.
When the DOC API stays unavailable (fallback auto, the default): after about 40 seconds of refusals or timeouts in the default run (about 75 seconds in larger runs), the run stops asking the DOC API and searches the GDELT Article List (GAL) raw files on data.gdeltproject.org for the same time window, newest first, until it has maxItems articles or its time is up (about 75 seconds after the start for the default run, about 2 minutes 45 seconds for larger runs). These rows have dataSource: "gal_files". The fallback search is narrower than the DOC API (see Limits), so the articles can differ from what the DOC API would return. Runs can therefore be slow: a rate-limited run, even the default one, can take up to about 3 minutes, and you are not charged for the waiting.
With fallback: "off", or when your input uses something the files cannot honour (tone filters, the relevance or tone sort orders, GDELT operators such as theme:), the DOC API retries go on for up to 6 retries or about 3 minutes of waiting, whichever comes first, as before. If GDELT is still refusing, the run stops and saves a free status row that says why, instead of failing. Run again later.
GDELT rate limits can make a run return 0 items. Those runs end with the free status row and are not charged.
Status rows (free)
The dataset is never empty. When nothing could be saved (no matches, invalid input, GDELT rate limit, robots.txt refusal, or a maximum cost per run too low for one article), the run writes one row with recordType: "status" and a message. A run that stopped early on a rate limit after saving some articles also ends with one status row. Status rows are never charged. Skip them in your code as shown below.
Pricing
Pay per event: $0.001 per article saved ($1 per 1,000). No start fee; status rows are free. The default input saves at most 5 articles ($0.005). The run stops at your maximum cost per run.
Use it from code
Python (apify-client 3.x):
from apify_client import ApifyClientclient = ApifyClient('<YOUR_APIFY_TOKEN>')run = client.actor('<USERNAME>/gdelt-news-search').call(run_input={'query': '"electric vehicles"','sourceLanguages': ['english'],'timespan': '1d','maxItems': 100,})for item in client.dataset(run.default_dataset_id).iterate_items():if item.get('recordType') != 'item':print('status:', item.get('message'))continueprint(item['seenDate'], item['domain'], item['title'], item['url'])
JavaScript (apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('<USERNAME>/gdelt-news-search').call({query: '"electric vehicles"',sourceLanguages: ['english'],timespan: '1d',maxItems: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) {if (item.recordType !== 'item') continue; // free status rowsconsole.log(item.seenDate, item.domain, item.title, item.url);}
Data source and terms
Data comes from the GDELT Project's DOC 2.0 API, or, in the fallback, from the GDELT Article List raw files (https://blog.gdeltproject.org/announcing-the-gdelt-article-list-rss-feed/) and, for source countries, GDELT's May 2018 list of news outlets by country (https://blog.gdeltproject.org/mapping-the-media-a-geographic-lookup-of-gdelts-sources/), all published by GDELT on data.gdeltproject.org (no robots.txt there; this Actor checks it on every run). GDELT says its datasets "are available for unlimited and unrestricted use for any academic, commercial, or governmental use of any kind without fee", and that "any use or redistribution of the data must include a citation to the GDELT Project and a link to this website" (https://www.gdeltproject.org/about.html). Every row therefore carries gdeltCitation and gdeltLink; keep them when you republish the data. Articles belong to their publishers; this Actor stores only metadata and links. Titles and image links come from the publishers' pages; GDELT's terms cover GDELT's data, not publishers' rights in headlines or images.
Limits
- GDELT's DOC 2.0 docs say a start or end date-time "must be within the last 3 months". The same docs also say the API searches back to January 1, 2017. This Actor accepts start dates from 2017-01-01 and lets the API refuse a window it does not support; a text refusal becomes a free status row.
- Fallback (
gal_files) rows: the query is matched on the article title and description only, not on full text or machine translations as the DOC API does, so it finds fewer articles, mostly in the query's own language. Supported query syntax: words (all must appear), "quoted phrases",(a OR b)and-word; anything else (for exampletheme:ornear20:) means the fallback is not used. Domains and languages are applied exactly. Source countries come from GDELT's May 2018 outlet list, so outlets that are missing from it are left out, andsourceCountryis filled only when you filter by country. Tone filters and the relevance and tone sort orders cannot be applied, so the fallback is not used for them.seenDateis the time of the GDELT file the article came from (files appear a few minutes after every quarter hour). The files start in 2020; a window that ends before 2020 does not use the fallback. If time runs out before the whole window is searched, the run ends with a free status row that says how far back it got. - GDELT's seen dates are coarse (many articles share one time stamp). When more than 250 articles share one time stamp, some of them can be skipped while paging; the count is in
RUN_SUMMARY.sliceLimitHits. - GDELT's own 429 text states the 5-second pacing rule, mentions "larger queries", and tells high-traffic users to use its web n-grams dataset (https://blog.gdeltproject.org/using-the-new-web-ngrams-dataset-to-find-relevant-coverage/). The official DOC 2.0 documentation (https://blog.gdeltproject.org/gdelt-doc-2-0-api-debuts/) does not describe other 429 causes such as query-string length or shared IP addresses. In practice a run can still be refused when this Actor is already waiting 5.5 seconds between its own requests; those runs also end with the free status row and are not charged.