Extract news articles from any publisher.
This tutorial shows what the Actor v0iddo/news-scraper returns, how to run it on the Apify Store without code, and how to call it from Python and cURL.
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
title | Title | text | APOD: 2026 October 25 - Dark Matter in a Simulated Universe - NASA ... |
publishedAt | Published | date | 2026-10-25T04:19:48-04:00 |
siteName | Site | text | NASA |
section | Section | text | APOD |
language | Language | text | en-US |
wordCount | Words | number | 220 |
paywalled | Paywalled | true/false | |
url | Link | URL | https://science.nasa.gov/image-article/apod-2026-october-25-dark-ma... |
topImage | Image | image URL | https://assets.science.nasa.gov/content/dam/science/cds/apod/apod/2... |
canonicalUrl | canonicalUrl | text | https://science.nasa.gov/image-article/apod-2026-october-25-dark-ma... |
modifiedAt | modifiedAt | text | 2026-10-25T04:19:53-04:00 |
keywords | keywords | list | ["dark matter in a simulated universe"] |
text | text | text | APOD Astronomy Picture of the Day Discover the cosmos! Each day a... |
sourceFeed | sourceFeed | text | https://www.nasa.gov/news-release/feed/ |
Real rows from a run of the Actor (fields that name people are left out):
[ { "url": "https://science.nasa.gov/image-article/apod-2026-october-25-dark-matter-in-a-simulated-universe/", "canonicalUrl": "https://science.nasa.gov/image-article/apod-2026-october-25-dark-matter-in-a-simulated-universe/", "title": "APOD: 2026 October 25 - Dark Matter in a Simulated Universe - NASA Science", "publishedAt": "2026-10-25T04:19:48-04:00", "modifiedAt": "2026-10-25T04:19:53-04:00", "siteName": "NASA", "section": "APOD", "keywords": [ "dark matter in a simulated universe" ], "language": "en-US", "text": "APOD\n\nAstronomy Picture of the Day\n\nDiscover the cosmos! Each day a different image or photograph of our fascinating universe is featured...", "wordCount": 220, "topImage": "https://assets.science.nasa.gov/content/dam/science/cds/apod/apod/2021/october/DarkMatter_KipacAmnh_1200.jpg?w=1200&h=900&fit=cli...", "sourceFeed": "https://www.nasa.gov/news-release/feed/" }, { "url": "https://science.nasa.gov/image-article/apod-2026-october-24-rosettas-selfie/", "canonicalUrl": "https://science.nasa.gov/image-article/apod-2026-october-24-rosettas-selfie/", "title": "APOD: 2026 October 24 - Rosetta's Selfie - NASA Science", "publishedAt": "2026-10-24T00:05:00-04:00", "modifiedAt": "2026-10-24T00:05:00-04:00", "siteName": "NASA", "section": "APOD", "keywords": [ "selfie" ], "language": "en-US", "text": "APOD\n\nAstronomy Picture of the Day\n\nDiscover the cosmos! Each day a different image or photograph of our fascinating universe is featured...", "wordCount": 188, "topImage": "https://assets.science.nasa.gov/dynamicimage/assets/science/cds/apod/apod/2026/october/ESA_Rosetta_Philae_CIVA_141007.png?w=1024&h=10...", "sourceFeed": "https://www.nasa.gov/news-release/feed/" } ] No code: run it on the Apify Store
- Open the News article scraper page on Apify.
- Fill in the input form. An example input is already filled in.
- Press Start, wait for the run to finish, and download the results as JSON, CSV or Excel from the Output tab.
The input that is pre-filled on the Actor page:
{ "feedUrls": [ "https://www.nasa.gov/news-release/feed/" ], "maxArticlesPerFeed": 10, "maxItems": 20 } Ready-made examples
Saved inputs on Apify: run one as it is, or copy it and change the values.
Python (apify-client)
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/news-scraper.
from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") run_input = {'feedUrls': ['https://www.nasa.gov/news-release/feed/'], 'maxArticlesPerFeed': 10, 'maxItems': 20} run = client.actor("v0iddo/news-scraper").call(run_input=run_input) for item in client.dataset(run["defaultDatasetId"]).iterate_items(): print(item) cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~news-scraper/run-sync-get-dataset-items" \ -H "Authorization: Bearer YOUR_APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"feedUrls": ["https://www.nasa.gov/news-release/feed/"], "maxArticlesPerFeed": 10, "maxItems": 20}' Good to know
- RSS 2.0, RSS 1.0, Atom, standard XML sitemaps and Google News sitemaps work, also gzip sitemaps. A sitemap index is followed one level down, into at most 3 of its sitemaps (news sitemaps first).
- Published after skips articles whose date is known to be older. A feed entry is checked before its page is read, so old entries cost nothing.
Price
$1.70 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.19 per 1,000.
FAQ
What data does the News article scraper return?
Each result is one row in an Apify dataset. Fields include title, publishedAt, siteName, section, language, wordCount, paywalled, url, and more. The table above shows every field with an example value.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$1.70 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.19 per 1,000. A new Apify account gets $5 of platform credit every month.
Links
- Actor on the Apify Store: News article scraper
- Full guide with every field and the JavaScript example: https://voidd0.github.io/news-scraper/
