If your product needs to know what is happening right now, it needs news in code.
A news API is a web service that collects articles from publishers and returns them as structured data. You send a query and filters, and it returns matching articles as JSON.
This guide compares eight news APIs for 2027, starting with NewsMesh.
What a news API returns
Every article comes back as a JSON object. Here is one result from NewsMesh:
{
"article_id": "4d5a309dfceb13e6fdb34fd1410fe22e",
"title": "Chipmakers brace for new export controls",
"description": "New rules would limit sales of advanced chips abroad.",
"link": "https://example.com/chipmakers-export-controls",
"media_url": "https://example.com/images/chips.jpg",
"published_date": "2026-11-30T14:05:00+00:00",
"source": "Example News",
"category": "technology",
"topics": ["semiconductors", "export controls", "trade"],
"people": ["Alex Chen"],
"author": ["Jane Smith"]
}
Most APIs return the title, description, link, source and date. Fewer add tags like category, topics and people, which let you filter without building your own pipeline. Free plans usually delay articles by 12 to 24 hours and do not allow commercial use.
NewsMesh
NewsMesh is a real-time news API built for apps and AI agents. It covers 90,000+ sources, and every article arrives tagged with a category, topics, the people mentioned and the countries it covers.
Search supports phrases, exclusions and boolean AND and OR, with filters for date, category, source, country and source country.
curl -G https://api.newsmesh.co/v1/search \
--data-urlencode 'q=semiconductor AND (tariffs OR "export controls")' \
-d apiKey=YOUR_KEY
The free plan includes 25 requests a day for testing. Starter is $29 a month. Growth is $79 a month with real-time articles and commercial use. Pro is $199 a month with 6 months of history. AI agents can also pay $0.01 per request with x402, no account needed.
7 other news APIs
NewsData.io gives 200 credits a day on its free plan, with a 12-hour delay and only the past 48 hours of news.
Currents gives 250 requests a day with 30 days of history and a 300-character text preview. Builder is $69 a month.
NewsAPI.org gives 100 requests a day with a 24-hour delay, for development only. Production starts at $449 a month, and full article text is not available on any plan.
GNews gives 100 requests a day with a 12-hour delay and content cut to 250 characters, for non-commercial use. Essential is €49.99 a month.
Mediastack gives 100 calls a month of delayed data, for non-commercial use. Standard is $24.99 a month.
TheNewsAPI gives 100 requests a day at 3 articles per request. Basic is $19 a month.
APITube gives 100 requests a day with a 12-hour delay and a 200-character preview, for development only.
Comparison table
The table summarizes each free plan as the provider describes it.
| API | Free quota | Commercial use | Best for |
|---|---|---|---|
| NewsMesh | 25 requests a day, then from $29 a month | Growth and Pro plans | Real-time, tagged news from 90,000+ sources for apps and AI agents |
| NewsData.io | 200 credits a day | Yes | Early prototypes |
| Currents | 250 requests a day | Yes, internal use and linked display | Internal alerts |
| NewsAPI.org | 100 requests a day | No, development only | Local testing |
| GNews | 100 requests a day | No | Personal projects |
| Mediastack | 100 calls a month | No | A first look |
| TheNewsAPI | 100 requests a day | Not stated | Hobby apps |
| APITube | 100 requests a day | No, development only | Trying its tags |