Sweden Riksdag Documents Scraper avatar

Sweden Riksdag Documents Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
Sweden Riksdag Documents Scraper

Sweden Riksdag Documents Scraper

Scrapes Swedish Parliament documents by search term and returns each document as a flat row with full text, type, date, and committee.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Categories

Share

ParseForge

Sweden Riksdag Documents Scraper

Scrape Swedish Parliament documents by any search term, up to a million per run. Each document comes with its full text, type, date, and committee. No login or API key. Export to CSV, JSON, Excel, or XML.

The Riksdag's official website lets you search documents, but not download them in bulk. This Actor queries the public document API directly, so you can pull every motion, report, and written question that matches a keyword like klimat or skatt, without writing any code.

Who uses itWhat they scrape Sweden Riksdag for
Policy analystsTrack how a specific issue is being debated in the Swedish Parliament
JournalistsFind motions and reports on a topic for a story
NGOs and advocacy groupsMonitor legislative activity relevant to their cause
ResearchersBuild a corpus of parliamentary documents for text analysis

What it does

This Actor collects Swedish Parliament documents by search term and returns each one as a flat row.

  • ๐Ÿ” Keyword search: enter any Swedish term, like energi or migration, and get every matching document.
  • ๐Ÿ“„ Full text included: each result contains the complete document text, not a summary.
  • ๐Ÿ“Š Structured output: documents are returned as flat rows with type, date, committee, and more.
  • โšก Scalable: collect up to 1,000,000 documents in a single run.

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

What you can do with Sweden Riksdag data

๐Ÿ“ˆ Track legislative trends.

A policy analyst runs the Actor weekly with the term 'klimat' to see new motions and reports, then charts how often climate is discussed over time.

๐Ÿ“ฐ Investigate a story.

A journalist searches for 'skatt' to find all recent tax-related documents, then reads the full texts to identify key proposals.

๐ŸŽ“ Build a research dataset.

A university researcher collects thousands of documents on 'migration' to train a text classifier or run sentiment analysis.

๐Ÿ“ข Monitor for advocacy.

An NGO sets up a scheduled run for 'energi' to get alerts whenever a new energy policy document is published.

Why choose this scraper

What you get
No API keyUses the public Riksdag document API, so you can start immediately
Full text searchFinds documents that mention your keyword anywhere in the body
Bulk exportGet all results in one dataset, ready for analysis
Swedish sourceCovers all document types from the Swedish Parliament

How it compares

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

Sweden Riksdag Documents ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When Sweden Riksdag changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a single search term. The query matches document titles and full text, and the maxItems limit controls how many documents are returned. The Input tab lists every parameter.

A first run with the defaults:

{
"searchQuery": "klimat",
"maxItems": 10
}

A larger pull:

{
"searchQuery": "klimat",
"maxItems": 200
}

Pricing

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

Results collectedApproximate cost
100 results$2.10
1,000 results$21.00
10,000 results$210.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 Sweden Riksdag Documents 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 Sweden Riksdag 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/sweden-riksdag-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 search term. It must be a Swedish word or phrase that appears in document titles or full text. Try a broader term like 'klimat' instead of a very specific phrase.

The run is taking too long.

Lower the maxItems value. The Actor processes documents sequentially, so a high limit can take time. You can also run multiple queries in parallel.

Some documents are missing full text.

Occasionally the Riksdag API does not provide full text for certain document types. The Actor will still return the metadata, but the text field may be empty.

I get an error about invalid search term.

Make sure the searchQuery is a non-empty string without special characters. Avoid using quotes or operators; a simple keyword.

FAQ

QuestionAnswer
What types of documents does this scrape?It returns all document types available on the Riksdag website, including motions, committee reports, written questions, and interpellations.
Can I search in English?The search works best with Swedish keywords, since documents are primarily in Swedish. Some documents may have English summaries, but the full text is usually Swedish.
Is there a rate limit?The Actor respects the Riksdag API's rate limits and handles retries automatically. You can set maxItems to control the volume.
How do I get the full text of each document?The full text is included in the output as a field, so you can read or analyze it directly from the dataset.
Can I filter by date or document type?Currently the Actor only filters by search term. You can post-process the results in your dataset to filter by date or type.
What format is the output?The Actor returns a flat JSON array, which you can export to CSV, Excel, JSON, or XML from the Apify platform.
Do I need an API key for the Riksdag?No, the Actor uses the public API endpoint without authentication.
Can I schedule this to run automatically?Yes, you can set up a schedule in Apify to run the Actor daily, weekly, or at any interval.

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 Sveriges Riksdag. 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.