Skip to content
//Riksdagen Documents Scraper example\\

Motions, questions and interpellations of a week

Five each of motions, written questions and interpellations from the first week of October 2025, with full text.

Updated November 12, 2026

What this example returns

This example returns up to 5 document, speech or votes.

The dataset’s “Documents” view shows 11 columns: Type, Designation, Title, Date, Parties, Committee, Status, Text length, Page, PDF, and Document id. See every output field.

What each setting does

The input this example runs Riksdagen Documents Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Document types documentTypes

mot, fr, ip

What to collect. Each type is searched on its own, newest first. Speeches and votes come from the chamber's speech and vote records; everything else is a parliamentary document with its full text.

Max results per type and search term maxItems

5

How many results to save for each document type (and for each search term, party or committee you add). 0 = everything that matches.

Default: 20 → this example uses 5

Date from dateFrom

2025-10-01

Only documents dated on or after this day: YYYY-MM-DD, or a relative value such as '7 days', '2 weeks' or '3 months'. A relative value keeps scheduled runs current: schedule the actor daily with '2 days' to get every new document.

Date to dateTo

2025-10-07

Only documents dated on or before this day (YYYY-MM-DD or relative). Empty = up to today.

Add the full text includeFullText

Yes

Add each document's and speech's full text, the motion's proposals, the committee's proposals and the document's history. Turn it off for a faster run with metadata only.

.json
{
  "documentTypes": [
    "mot",
    "fr",
    "ip"
  ],
  "dateFrom": "2025-10-01",
  "dateTo": "2025-10-07",
  "maxItems": 5,
  "includeFullText": true
}

What it costs

From about $0.081 for 5 document, speech or votes

An estimate at the lowest plan price: 5 × $0.01615 per document, speech or vote (One saved parliamentary document (with its full text when that option is on), speech or vote with party totals). A run is charged for the events it reports, so one that finds fewer document, speech or votes costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Riksdagen Documents Scraper readme:

How many results can I get?

As many as match: set maxItems to 0. The service lists up to 200 documents per page and the actor pages through all of them.

Can I schedule it or use the API?

Yes. Schedule it with a relative dateFrom such as 2 days, or start runs through the Scrape.ly API and read the dataset.

Other ways to run Riksdagen Documents Scraper

All examples of Riksdagen Documents Scraper

About Riksdagen Documents Scraper

Collect Swedish parliamentary documents from the Riksdagen open data service: motions, bills, committee reports, written questions, interpellations, chamber minutes, speeches and votes, with full text, authors, parties, committees, dates and PDF links. No login needed.

Price:
from $16.15 / 1,000 results
Developer:
Querystone
Categories:
News, Business

Riksdagen Documents Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.