News by country API for local and international news
World News API filters news by the country of the source (source-country, an ISO 3166 code) and by language (language, ISO 639-1). Its source list covers 10,990 news sources in 190 countries and territories, which add about 83,234 articles a day, and top-news returns any country's top stories of the day for 1 point. Newspaper front pages cover 8,531 publications in 133 countries.
source-country: one 2-letter code per request, such asus,gb,de,inorjp(country codes).language: one ISO 639-1 code, such asen,deorja, out of 86+ languages (language codes).- Top news:
top-newsneedssource-countryand alanguagespoken there, 1 point per call. - Front pages:
retrieve-front-pageper country, publication and date, 1 point, paid plans only. - Largest source lists: France 1,560, United States of America 1,224, Spain 1,096, Germany 1,046 sources.
- Per-country docs: one page per country under news sources by country, with sources, codes, front pages and example requests.
Filter search-news by country and language
source-country is the country where the outlet is based, not the country the story is about. Local news from Germany in German is source-country=de&language=de. For news about a country from anywhere, use an entity such as entities=LOC:India, and combine both to see how one country's press covers another: entities=LOC:India&source-country=gb&language=en. For a city or region, location-filter takes latitude, longitude and a radius of 1 to 100 km. All of these are search-news parameters at 1 point plus 0.01 points per result.
Both fields take a single code, so compare countries with one request each. This script counts last week's English-language articles about Ukraine in seven countries' press, using number=1 to pay 1.01 points per country:
from datetime import date, timedelta
import requests
URL = "https://api.worldnewsapi.com/search-news"
HEADERS = {"x-api-key": "YOUR_API_KEY"}
today = date.today().isoformat()
week_ago = (date.today() - timedelta(days=7)).isoformat()
for country in ["us", "gb", "in", "au", "ca", "za", "ng"]:
params = {"entities": "LOC:Ukraine", "source-country": country, "language": "en",
"earliest-publish-date": week_ago, "latest-publish-date": today,
"number": 1}
r = requests.get(URL, params=params, headers=HEADERS, timeout=30)
r.raise_for_status()
print(country, r.json()["available"], "articles")
Top news per country
top-news returns the day's top stories of one country in one language, clustered by story and ranked by how many articles each cluster has. Both source-country and language are required, and the language must be one spoken in that country, so Canada needs one call with en and one with fr. Add headlines-only=true for just id, title and URL, and date for a past day.
curl -G "https://api.worldnewsapi.com/top-news" \
-H "x-api-key: YOUR_API_KEY" \
-d "source-country=in" -d "language=en" \
-d "headlines-only=true" -d "max-news-per-cluster=1" Example response (shortened) of top-news?source-country=us&language=en&date=2024-05-29, from the docs:
{
"top_news": [
{
"news": [
{
"id": 224767206,
"title": "Jury to Begin Deliberations In Trump Trial",
"url": "https://politicalwire.com/2024/05/28/jury-to-begin-deliberations-in-trump-trial/",
"publish_date": "2024-05-29 00:10:48"
}
]
},
{
"news": [
{
"id": 225109966,
"title": "Scottie Scheffler PGA Championship charges set to get dropped",
"url": "https://www.sbnation.com/golf/2024/5/29/24167024/scottie-scheffler-pga-championship-louisville-police-drop-charges",
"publish_date": "2024-05-29 15:24:34"
}
]
}
],
"language": "en",
"country": "us"
} Newspaper front pages per country
retrieve-front-page returns a front page image by country, publication and date, back to July 9, 2024. With only source-country and date you get a random front page from that country; add source-name from the front page sources CSV for a specific paper. Each call costs 1 point and needs a paid plan. The countries with the most publications:
| Country | source-country | Front page publications |
|---|---|---|
| United States of America | us | 956 |
| United Kingdom | gb | 797 |
| France | fr | 761 |
| Germany | de | 518 |
| Spain | es | 430 |
| Italy | it | 405 |
| Sweden | se | 396 |
| India | in | 321 |
| Brazil | br | 316 |
| Canada | ca | 295 |
| Australia | au | 274 |
| China | cn | 254 |
The full list of 133 countries is on the front pages docs.
Coverage by country
The countries with the largest source lists. Each country page lists its sources, its main language and country codes, its front pages and example requests:
| Country | Code | Main language | Sources | Articles a day | Front pages |
|---|---|---|---|---|---|
| France | fr | fr | 1,560 | 4,343 | 761 |
| United States of America | us | en | 1,224 | 6,070 | 956 |
| Spain | es | es | 1,096 | 5,083 | 430 |
| Germany | de | de | 1,046 | 5,059 | 518 |
| Greece | gr | el | 439 | 2,021 | 20 |
| United Kingdom | gb | en | 360 | 3,800 | 797 |
| Belgium | be | fr | 354 | 503 | 13 |
| India | in | en | 306 | 5,437 | 321 |
| Italy | it | it | 292 | 1,280 | 405 |
| Colombia | co | es | 211 | 1,482 | 41 |
| Canada | ca | en | 199 | 694 | 295 |
| Austria | at | de | 162 | 1,478 | 65 |
Popular country pages: United States, United Kingdom, Germany, India, Japan. All 190 are on news sources by country, and major outlets such as Reuters, BBC and Al Jazeera have their own media pages.
What the API does not do for country news
- Coverage is uneven. France has 1,560 sources, Japan 46 and China 16. Check the country page before you promise local coverage.
- One country and one language per request. Loop over codes to compare countries.
- Source country is the outlet's base. International outlets count for their home country: Reuters is listed under
gb, Al Jazeera underqa. - Not every country has front pages. They exist for 133 countries, so some countries with news sources, such as Russia, have none.
- Language-dependent features. Sentiment is computed for English and German only, and the
categoriesfilter can miss articles in other languages. - Other options. NewsData.io states 206+ countries and 90+ languages, a similar breadth, and counts far more sources than our 10,990 (it states 104,889+; source). Checked November 22, 2026.
Related: media monitoring, historical news and front pages by date, Google News API alternatives, news API comparison.
Frequently asked questions
How do I get news from a specific country with an API?
Call search-news with source-country set to the 2-letter ISO 3166 code of the country, for example source-country=de, and language set to the ISO 639-1 code, for example language=de. Each request costs 1 point plus 0.01 points per result.
What is the difference between source-country and news about a country?
source-country filters by where the outlet is based. For news about a country from outlets anywhere, use an entity filter such as entities=LOC:India, or combine both to see one country's press about another.
Can I get top headlines for any country?
Yes. top-news takes a source-country and a language spoken there and returns the day's top stories, clustered by story, for 1 point. Add a date for a past day.
How many countries have newspaper front pages?
133 countries, with 8,531 publications in total, back to July 9, 2024. Front pages need a paid plan and cost 1 point each.
Which countries have the most news sources?
France (1,560), United States of America (1,224), Spain (1,096), Germany (1,046). The source list covers 10,990 sources in 190 countries and territories.
Last updated November 22, 2026 by the World News API team. Spotted an error? Tell us at [email protected] or on Discord.
More from World News API
- Compare news APIs
World News API next to NewsAPI.org, NewsData.io, GNews, Mediastack and others. - Guides
Step-by-step tutorials with working code. - Use cases
AI agents, finance, media monitoring and research. - Documentation
Every endpoint with parameters, examples and quotas.