Sweden Riksdag Documents Scraper
Pricing
from $19.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Share
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 it | What they scrape Sweden Riksdag for |
|---|---|
| Policy analysts | Track how a specific issue is being debated in the Swedish Parliament |
| Journalists | Find motions and reports on a topic for a story |
| NGOs and advocacy groups | Monitor legislative activity relevant to their cause |
| Researchers | Build 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 key | Uses the public Riksdag document API, so you can start immediately |
| Full text search | Finds documents that mention your keyword anywhere in the body |
| Bulk export | Get all results in one dataset, ready for analysis |
| Swedish source | Covers 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 Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When Sweden Riksdag 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 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 collected | Approximate 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
- Create a free Apify account with $5 in credit.
- Open the Sweden Riksdag Documents Scraper.
- Set your inputs and any filters, then click Start.
- 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
| Question | Answer |
|---|---|
| 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. |
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 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.
