news API
Our news API gives you programmatic access to news data that isn't available through any official API. Get data on real-time news data from 1000+ sources, 25 categories, 500 articles per minute extraction speed, structured JSON/CSV/XML output formats, engagement scores and metadata, and more. And the best part? You can try the news API entirely for free, no credit card required.

Trusted by industry leaders all over the world
Integrate our news API
Access the news API using Python, JavaScript, CLI, cURL, OpenAPI, or MCP. Choose your preferred option and start extracting news data in minutes.
Python
JavaScript
HTTP
MCP
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "dateRange": "today",10 "maxArticles": 1000,11 "proxyConfiguration": { "useApifyProxy": False },12}13
14# Run the Actor and wait for it to finish15run = client.actor("glitch_404/ultimate-news-scraper").call(run_input=run_input)16
17# Fetch and print Actor results from the run's dataset (if there are any)18print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])19for item in client.dataset(run["defaultDatasetId"]).iterate_items():20 print(item)21
22# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Get data with news API
Extract comprehensive news data by providing category preferences, date ranges, and maximum article counts. The Ultimate News Scraper API returns structured JSON data with titles, summaries, publishers, authors, categories, publication dates, engagement scores, article bodies, images, and URLs from over 1000 news sources.
Input
{ "APIMode": false, "dateRange": "today", "categories": [ "all" ], "maxArticles": 1000, "proxyConfiguration": { "useApifyProxy": false }}
Output
[ { "url": "ARTICLE_URL", "body": "ALL_ARTICLE_TEXT_OR_HTML", "icon": "ARTICLE_IMAGE_URL", "tags": [ "ARTICLE_KEYWORD_1", "ARTICLE_KEYWORD_2" ], "title": "ARTICLE_TITLE", "images": [ "ARTICLE_IMAGE_URL_1", "ARTICLE_IMAGE_URL_2" ], "authors": [ "WRITER_NAME_1", "WRITER_NAME_2" ], "summary": "ARTICLE_SUMMARIZATION", "category": "ARTICLE_CATEGORY", "modified": "ARTICLE_MODIFYING_DATE", "published": "ARTICLE_PUBLISHING_DATE", "publisher": "PUBLISHING_AGENCY", "article_type": "ARTICLE_TYPE", "engagement_score": "ARTICLE_ENGAGEMENT_SCORE_FLOAT" }, { "url": "https://www.huffpost.com/entry/donald-trump-election-interference-confession_n_66d5592ce4b0f968d26d1ba2", "body": "Donald Trump on Sunday tried to defend himself from the criminal charges he’s facing in the election interference case — but experts say it sounded more like a confession. Trump on Fox News bragged that his poll numbers go up every time he’s indicted. “Whoever heard you get indicted for interfering with a presidential election, where you have every right to do it, you get indicted, and your poll numbers go up,” he said. Trump is facing charges in multiple jurisdictions, including election interference in a federal case. On Sunday, however, Trump flat out said he had “every right” to have been “interfering” with the election. Legal experts and politicians quickly reacted, saying it sounded like a confession and reminded the public that interfering in elections is illegal.", "icon": "https://media.zenfs.com/en/the_huffington_post_584/24223f472f29dff3fae38bd976904683", "tags": [ "donald trump", "elections", "politics", "election interference", "presidential election" ], "title": "Are You Seriously This Stupid?': Legal Minds Nail Trump After Fox News 'Confession", "images": [ "https://media.zenfs.com/en/soaps_732/93418d93bbabc521965f047cb7e06254" ], "authors": [ "Ed Mazza" ], "summary": "The former president's latest defense backfires on social media.", "category": "politics", "modified": "2024-09-02 14:06:54", "published": "2024-09-02 07:19:12", "publisher": "HuffPost", "article_type": "story", "engagement_score": null }]
Sign up for Apify account01
Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.
Get your Apify API token02
Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.
Integrate news API03
Navigate to the news API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more.
Get your news data via API04
Now, you can use the API and get the data you need from news.

Why use Apify?
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Export to various formats
Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.
Integrate Apify to your workflow
You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.
Large developer community
Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!
Get AI-ready news data via API
Connect to hundreds of apps right away using ready-made integrations, or set up your own with webhooks and our API.
No, there isn't an official news API that provides the comprehensive coverage offered by the Ultimate News Scraper. This tool aggregates data from over 1000 different news sources across 25 categories, providing a unified interface that would otherwise require connecting to hundreds of individual news APIs. The scraper serves as a powerful alternative to fragmented official APIs by offering centralized access to diverse news content with standardized output formats.
Yes, you can try the Ultimate News Scraper for free using Apify's free tier. The platform offers a "Try for free" option that lets you test the scraper's capabilities before committing to paid usage. After the free trial, costs are very affordable - approximately $0.1-$0.2 per 1000 articles in platform usage, plus a $10 monthly subscription fee, making it highly cost-effective for accessing thousands of news articles.
The Ultimate News Scraper extracts comprehensive data including article titles, summaries, publishers, authors, categories, article types, publication and modification dates, engagement scores, keywords/tags, full article body content, featured images, article URLs, and additional image galleries. The tool covers 25 different news categories and can extract up to 5000 articles in 20-30 minutes, with all data available in JSON, CSV, XML, HTML, and Excel formats.
Yes, it is legal to scrape publicly available news data as web scraping itself is legal. However, you should review the terms of service of specific websites and be mindful of copyright restrictions, especially regarding images and videos. Personal data is protected by GDPR and other regulations, so ensure you have legitimate reasons for data collection. The scraper accesses publicly available content, but users should be cautious about republishing copyrighted material and consult legal advice when necessary.
Getting started with the Ultimate News Scraper is simple: 1) Click "Try for free" on the Apify platform, 2) Select your desired categories from 25 available options or choose "all" for comprehensive coverage, 3) Set the maximum number of articles (default 100, up to 5000+), 4) Enter your preferred date range ("today" for current news or "all" for historical data), 5) Click "Run" to start extraction, and 6) Export your data from the Dataset tab in your preferred format (JSON, CSV, XML, HTML, or Excel).