---
title: "News scraping"
description: "News scraping API for full-text articles, headlines, bylines and dates from publishers, Google News and press wires. Clean Markdown or JSON per article."
canonical: https://www.zenrows.com/use-cases/news-scraping
updated: 2026-10-18
---

# News scraping

News scraping collects articles from publisher websites, Google News and press release wires: headline, byline, publish date, section and full body text. Zenrows fetches each article from protected and JavaScript-heavy news sites and returns clean Markdown or structured JSON, ready for search, NLP or aggregation.

## Sample output: one news article

```json
{
  "url": "https://www.example-news.com/business/2026/10/14/port-strike-ends",
  "canonical_url": "https://www.example-news.com/business/2026/10/14/port-strike-ends",
  "source": "example-news.com",
  "headline": "Port workers end strike after nine-day standoff",
  "subheadline": "Container backlog expected to clear by early November",
  "authors": ["Staff reporter"],
  "section": "Business",
  "tags": ["shipping", "labour", "ports"],
  "language": "en",
  "published_at": "2026-10-14T06:42:00Z",
  "modified_at": "2026-10-14T11:05:00Z",
  "word_count": 812,
  "image": "https://www.example-news.com/img/port-strike.jpg",
  "body_markdown": "Dock workers at the city's two container terminals returned to work on Tuesday...",
  "outbound_links": 7
}
```

Illustrative. Extract returns these fields without selectors; Markdown output drops menus, ads and related-story widgets.

## What news scraping teams collect

One half finds new article URLs, the other turns each into a clean record. Teams differ in sources and how far back they go.

| Job | Data you collect | Typical sources |
|---|---|---|
| Article datasets for NLP and search | Body, headline, byline, date, language | nytimes.com, theguardian.com, elpais.com, lefigaro.fr, ndtv.com |
| News aggregation products | Headline, summary, image, section, canonical URL | National, regional and trade press, techcrunch.com |
| Google News harvesting | Titles, outlets, times, links | Google News search pages and RSS search feeds |
| Press release archives | Company, title, date, text, media contacts | businesswire.com, accesswire.com, company newsrooms |
| Financial news for research | Headlines, tickers, minute timestamps, text | reuters.com, ft.com, businessinsider.com, forbes.com |
| Historical archive backfill | Every article in a date range | Publisher sitemaps, date archives, section pages |

## Why news site scraping breaks

Publishers live on views and subscriptions, so large ones protect pages and wrap articles in scripts, ads and consent banners. Text is often the smallest part of the HTML.

| What breaks | What it looks like | How Zenrows handles it |
|---|---|---|
| Bot protection on large publishers | 403s or challenges after a few hundred requests | Zenrows' stealth gets through Cloudflare, DataDome and similar |
| Body loaded by JavaScript | Headline present, article container empty | Adaptive Stealth Mode renders until the article appears |
| Boilerplate in the text | Newsletter prompts, "read more" links, ads in your corpus | Markdown output keeps the readable text; Extract splits the fields |
| A different template per outlet | One paper's selectors fail on the next fifty | Extract: same fields everywhere, no selectors |
| Regional editions | Different front pages and stories by country | Geotargeting fetches each country's edition |
| Backfilling years of articles | 500,000 archive URLs take days in one script | Batch runs one job with per-URL results |

## How to scrape news articles with Zenrows

1. **Find the article URLs** via news sitemap, RSS, or a Crawl filtered to article paths.
2. **Fetch each article** with Adaptive Stealth Mode, escalating only when an outlet needs it.
3. **Choose the output**: Extract for JSON fields, Markdown for an LLM or search index.
4. **Backfill and refresh in bulk** with Batch; re-fetch recent articles once for corrections.

```python Python
# pip install requests
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "ARTICLE_URL",  # one article page
    "mode": "auto",
    "extract": "auto",
}
response = requests.get("https://api.zenrows.com/v1/", params=params)
article = response.json()
print(article)
```

```bash cURL
# Collect article URLs (as Markdown pages) from one publisher section
curl -X POST "https://api.zenrows.com/v1/crawls" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "SECTION_URL",
    "max_items": 1000,
    "max_pages": 1000,
    "include_patterns": ["/2026/"],
    "exclude_patterns": ["/video/", "/live/"],
    "output_format": "markdown"
  }'
```

```bash CLI
npx -y @zenrows/cli init
# Turn one article into clean Markdown, or into article fields as JSON
zenrows fetch ARTICLE_URL --output markdown
zenrows extract ARTICLE_URL --autoparse
# Backfill an archive: archive.jsonl holds one {"url": "..."} per line
zenrows batch create archive.jsonl --output markdown --wait
```

```text Claude Code (MCP)
# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

# Then ask:
Use Zenrows to read the BBC News technology section, open the ten newest articles,
and return headline, author, publish time and the full body text of each as JSON.
```

## Which Zenrows product fits

| If you need to | Use | Why |
|---|---|---|
| Pull one article or front page | [Fetch](/products/fetch) | The rendered page from protected sites |
| Get headline, byline, date and body as JSON | [Extract](/products/extract) | Article fields across outlets, no selectors to maintain |
| List every section or archive article URL | [Crawl](/products/crawl) | Follows links, keeps paths matching your patterns |
| Backfill hundreds of thousands of archive URLs | [Batch](/products/batch) | One job, results by webhook or download |
| Test a source quickly from the terminal | [CLI](/cli) | An article as Markdown in one command |

## What success looks like

| Measure | What good looks like | How to check it |
|---|---|---|
| Body completeness | The full body, not a teaser | Word counts against a hand-checked sample |
| Clean text | No navigation, ads or prompts in the body | Search for recurring boilerplate per source |
| Date accuracy | Times match the outlet, in one timezone | Spot-check per outlet; store UTC |
| Source coverage | Every outlet returns articles every run | Articles per source per day; alert on zero |
| Duplicate rate | One record per story, despite tracking parameters | Shared canonical URLs or body hashes |
| Backfill throughput | Archive jobs on time, failures retried once | Duration and failures per Batch job |

## News scraping FAQ

### Is it legal to scrape news articles?

Analysing public articles is common in research, media analysis and search. Copyright is the issue: headlines, snippets and links differ from republishing full text, which usually needs a licence. Respect terms and robots rules; check with your legal team before showing article text to users.

### How do I scrape Google News?

Fetch news.google.com/search?q=your+topic with Adaptive Stealth Mode for titles, outlets, times and links, or the RSS search feeds as XML. Then fetch each original for full text.

### Can a news scraper get paywalled articles?

Zenrows fetches what a public visitor sees, often the full article on soft-metered sites. Subscriber-only content needs a licence, a publisher feed or your subscription terms.

### What is the difference between a news scraper API and a news data API?

A news data API sells a fixed index. A scraper API like Zenrows fetches your pages, on your schedule, as Markdown or JSON: pick it for outlets, regions or fields an index lacks.

### How do I find new articles as they are published?

Read the news sitemap (last two days, with times) or RSS and fetch only new URLs. For company or keyword alerts, see news monitoring .

### Which fields should a news article scraper return?

Canonical URL, outlet, headline, author, publish and update time, section, body; optionally image, tags, language, word count. Use UTC and key on the canonical URL so tracking links and AMP pages do not duplicate.

### Can I scrape news in other languages and countries?

Yes. Fetch returns the outlet's language; Markdown keeps non-Latin scripts intact; geotargeting picks the edition's country.

## Related use cases

- [News monitoring](https://www.zenrows.com/use-cases/news-monitoring.md): Alerts on new stories about your companies, people and keywords, polled from feeds, wires and publisher pages.
- [Content aggregation](https://www.zenrows.com/use-cases/content-aggregation.md): Articles, events, deals and listings from hundreds of websites, mapped to one schema and kept fresh.
- [AI training data](https://www.zenrows.com/use-cases/ai-training-data.md): Web corpora for pre-training and fine-tuning, collected as Markdown JSONL with a source URL on every document.
- [Sentiment analysis data](https://www.zenrows.com/use-cases/sentiment-analysis-data.md): Review text with ratings, forum threads and comments, cleaned and labeled for sentiment and NLP models.
- [Alternative data for investors](https://www.zenrows.com/use-cases/alternative-data.md): Hiring, pricing, app ranks, reviews and store counts per ticker, collected weekly as point-in-time series.
- [Adverse media screening](https://www.zenrows.com/use-cases/adverse-media-screening.md): Negative news on customers, directors and suppliers from global and local sources, with text and screenshots as evidence.

Start free: https://app.zenrows.com/register. Docs: https://docs.zenrows.com

## Structured data



<script type="application/ld+json">
{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://www.zenrows.com/use-cases/news-scraping#webpage","url":"https://www.zenrows.com/use-cases/news-scraping","name":"News scraping","description":"News scraping API for full-text articles, headlines, bylines and dates from publishers, Google News and press wires. Clean Markdown or JSON per article.","isPartOf":{"@id":"https://www.zenrows.com/#website"},"inLanguage":"en","datePublished":"2026-10-18","dateModified":"2026-10-18","about":{"@type":"Thing","name":"news scraping"},"keywords":"news scraping, news scraper, news scraper api, news article scraper, scrape news articles, web scraping news, google news scraper, scraping google news, news data api, news aggregation","publisher":{"@type":"Organization","name":"Zenrows","url":"https://www.zenrows.com/"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.zenrows.com/"},{"@type":"ListItem","position":2,"name":"Use cases","item":"https://www.zenrows.com/use-cases"},{"@type":"ListItem","position":3,"name":"News scraping","item":"https://www.zenrows.com/use-cases/news-scraping"}]},{"@type":"FAQPage","@id":"https://www.zenrows.com/use-cases/news-scraping#faq","mainEntity":[{"@type":"Question","name":"Is it legal to scrape news articles?","acceptedAnswer":{"@type":"Answer","text":"Analysing public articles is common in research, media analysis and search. Copyright is the issue: headlines, snippets and links differ from republishing full text, which usually needs a licence. Respect terms and robots rules; check with your legal team before showing article text to users."}},{"@type":"Question","name":"How do I scrape Google News?","acceptedAnswer":{"@type":"Answer","text":"Fetch news.google.com/search?q=your+topic with Adaptive Stealth Mode for titles, outlets, times and links, or the RSS search feeds as XML. Then fetch each original for full text."}},{"@type":"Question","name":"Can a news scraper get paywalled articles?","acceptedAnswer":{"@type":"Answer","text":"Zenrows fetches what a public visitor sees, often the full article on soft-metered sites. Subscriber-only content needs a licence, a publisher feed or your subscription terms."}},{"@type":"Question","name":"What is the difference between a news scraper API and a news data API?","acceptedAnswer":{"@type":"Answer","text":"A news data API sells a fixed index. A scraper API like Zenrows fetches your pages, on your schedule, as Markdown or JSON: pick it for outlets, regions or fields an index lacks."}},{"@type":"Question","name":"How do I find new articles as they are published?","acceptedAnswer":{"@type":"Answer","text":"Read the news sitemap (last two days, with times) or RSS and fetch only new URLs. For company or keyword alerts, see news monitoring ."}},{"@type":"Question","name":"Which fields should a news article scraper return?","acceptedAnswer":{"@type":"Answer","text":"Canonical URL, outlet, headline, author, publish and update time, section, body; optionally image, tags, language, word count. Use UTC and key on the canonical URL so tracking links and AMP pages do not duplicate."}},{"@type":"Question","name":"Can I scrape news in other languages and countries?","acceptedAnswer":{"@type":"Answer","text":"Yes. Fetch returns the outlet's language; Markdown keeps non-Latin scripts intact; geotargeting picks the edition's country."}}]}]}
</script>
