ParseForge Scrapers

Guardian Article Search Scraper

parseforge/guardian-content-search-scraper

News & mediaBusinessAutomation

Scrapes Guardian articles by search query, section, tag, or date range. Returns headline, URL, publication date, and optional full body text, liveblog blocks, references, and rights metadata.

Run this scraper See the API call
Total users
2
Monthly active
0
Total runs
126
Bookmarked
0
Rating
Not rated yet
Last modified
12 days ago

Overview

ParseForge

Guardian Article Search Scraper

Scrape Guardian articles from any search query, section, or date range, up to a million per run. Every article comes with its headline, URL, publication date, and full body text when you need it. No API key or login. Export to CSV, JSON, Excel, or XML.

The Guardian's official API needs a developer key and rate-limits you. This reads the public article search and archive directly, filtered by section, tag, contributor, date, or production office, and returns each match in one fixed schema. It is the fastest way to turn Guardian journalism into a dataset for research, media monitoring, or content analysis.

Who uses it What they scrape The Guardian for
Market researchers Which topics and narratives The Guardian is covering this week
Media monitoring teams Every article that mentions a brand, person, or issue
Academic researchers A clean corpus of articles for text analysis or discourse studies
Content marketers What The Guardian has published on a subject before pitching a story
Data journalists A structured archive of articles to cross-reference with other datasets

What it does

This Actor collects Guardian articles by search query, section, tag, or date range, and returns each one as a flat row with headline, URL, publication date, and optional full body text.

  • ๐Ÿ” Search queries: free-text search with AND, OR, NOT, and quoted phrases.
  • ๐Ÿ“… Date range: fromDate and toDate filters for historical or recent coverage.
  • ๐Ÿท๏ธ Section and tag filters: narrow to world, business, football, climate change, or any Guardian tag.
  • ๐Ÿ“„ Full body text: include the complete article text and HTML when you need it.
  • ๐Ÿงฉ Liveblog blocks: include structured blocks for liveblogs, body content, and embedded media.
  • ๐Ÿ”— References and rights: include external IDs like ISBN or IMDb, and syndication rights metadata.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with The Guardian data

๐Ÿ“ˆ Track topics and trends.

A market researcher runs a query for 'electric vehicles' with a date range of the last month, then exports the results to CSV to see which narratives are gaining traction.

๐Ÿ“ฐ Monitor brand mentions.

A PR team sets a query for their company name and a tag filter for 'business', then schedules the Actor daily to catch every new article.

๐ŸŽ“ Build a research corpus.

An academic uses the section filter for 'environment' and includes full body text, then downloads the dataset as JSON for text analysis.

๐Ÿ“Š Compare coverage across editions.

A data journalist filters by production office to compare how the UK, US, and Australia editions cover the same story.

๐Ÿ“š Archive a section.

A librarian sets the section to 'books' and maxItems to 100000, then exports the entire archive to XML for preservation.

Why choose this scraper

What you get
No API key The Guardian's official API requires a developer key and rate limits. This Actor reads the public search directly.
Up to a million articles Set maxItems as high as you need for large-scale archive pulls.
Full body text Include the complete article text and HTML in each record, or disable it for lighter runs.
Structured liveblogs Include the blocks object for liveblog updates, body blocks, and embedded media.
References and rights Include external IDs like ISBN, MusicBrainz, or IMDb, and syndication rights metadata.

How it compares

No other Store actor targets The Guardian the same way, so the honest comparison is with the alternatives teams actually weigh.

Guardian Article Search Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When The Guardian changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

Configure the run

Drive the Actor from a search query, section, tag, or date range, alone or together, and filters run as each article is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
 "maxItems": 10
}

A larger pull:

{
 "maxItems": 200
}

Pricing

Pay-per-result: $0.0395 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $3.95
1,000 results $39.50
10,000 results $395.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Guardian Article Search Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to The Guardian through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/guardian-content-search-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your query and filters. If you set a tag that does not exist or a date range with no articles, the Actor returns an empty dataset. Try removing filters one by one to isolate the issue.

Why is the run slow?

Including full body text and liveblog blocks increases the amount of data per article and slows the run. Disable includeBodyText and includeBlocks if you only need metadata.

Why did the run stop before reaching maxItems?

The Actor stops when there are no more matching articles. Your filters may be too restrictive. Broaden the query, remove the tag, or widen the date range.

Why are some articles missing body text?

Some Guardian content, like interactive pieces or videos, may not have a traditional body text field. The Actor returns whatever is available in the public data.

Can I scrape comments?

No. This Actor only scrapes articles from The Guardian's search and archive. It does not collect reader comments.

FAQ

Question Answer
Do I need a Guardian API key? No. This Actor reads the public Guardian article search and archive directly, so no API key or login is required.
Can I get the full text of each article? Yes. Set includeBodyText to true to include the complete article body text and HTML in each record. Disable it for lighter records.
How many articles can I scrape in one run? You can set maxItems up to 1,000,000 articles per run. The Actor will collect until it reaches that number or runs out of matching articles.
Can I filter by section or tag? Yes. Use the section filter to pick one of 30 sections like world, business, or football. Use the tag filter for specific tags like environment/climate-change or profile/jonathan-freedland.
Can I search with Boolean operators? Yes. The query field supports AND, OR, NOT, and quoted phrases, like The Guardian's own search.
Can I filter by date? Yes. Set fromDate and toDate in YYYY-MM-DD format to include only articles published within that range.
Can I filter by production office? Yes. Choose UK, US, Australia, or International to limit results to a specific edition.
Can I sort results? Yes. Use orderBy to sort by newest, oldest, or relevance to your search query.
Can I include liveblog blocks? Yes. Set includeBlocks to true to include the structured blocks object for liveblog updates, body blocks, and embedded media.
Can I include references and rights? Yes. Set includeReferences to true to include external IDs like ISBN or IMDb. Set includeRights to true to include syndication and reuse rights metadata.
What export formats are supported? You can export your dataset to CSV, JSON, Excel, or XML from the Apify platform.
Is this legal? You are responsible for complying with The Guardian's terms of service and applicable laws. This Actor only accesses publicly available data.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Guardian News & Media Limited. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
query string Free-text search across The Guardian's archive. Supports operators: AND, OR, NOT, quoted phrases. Leave empty to browse the latest articles. not set
maxItems integer How many articles to collect per run. 10
sectionCaptionFilters string Refine the search by section, tag, contributor, date, or production office. not set
section string (32 options) Pick one section. Choose 'all' to search every section. all
tag string Filter by tag (e.g. 'environment/climate-change', 'football/premierleague', 'profile/jonathan-freedland'). Use comma to combine. not set
fromDate string Earliest publication date (YYYY-MM-DD). Articles older than this are excluded. not set
toDate string Latest publication date (YYYY-MM-DD). Articles newer than this are excluded. not set
productionOffice string (5 options) Edition responsible for the article: UK, US, AU, or international. any
orderBy string (3 options) Sort articles by newest, oldest, or relevance to the search query. newest
lang string Limit to articles in a specific language code (en, fr, es, de, ar, etc.). not set
starRating integer Only include reviews with this minimum star rating (1-5). Best for film, TV, music, restaurant reviews. not set
includeBodyText boolean Include the article's full body text and HTML in each record. Disable for lighter records. true
includeBlocks boolean Include the structured 'blocks' object (liveblog updates, body blocks, embedded media) for each article. Useful for liveblog scraping. false
includeReferences boolean Include the article's external reference IDs (ISBN, MusicBrainz, IMDb, etc.) when present. false
includeRights boolean Include each article's syndication and reuse rights metadata. false

Pricing

from $29.62 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.02962 to $0.0395

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~guardian-content-search-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run Guardian Article Search Scraper on Apify All scrapers