Danish Parliament Cases & Documents (Folketinget) avatar

Danish Parliament Cases & Documents (Folketinget)

Pricing

from $5.00 / 1,000 case records

Go to Apify Store
Danish Parliament Cases & Documents (Folketinget)

Danish Parliament Cases & Documents (Folketinget)

Cases and documents from Folketingets Åbne Data with type and status resolved to names, date and keyword filters, and an only-changed mode for daily polling.

Pricing

from $5.00 / 1,000 case records

Rating

0.0

(0)

Developer

Arcuate Owl

Arcuate Owl

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Danish Parliament cases and documents

Cases from Folketingets Åbne Data, with type and status already resolved to readable names, optionally with the documents attached to each case.

The upstream service is an OData 3.0 endpoint, open and without a key. Using it directly means knowing that a case is a Sag, that typeid 3 means Lovforslag and that you have to join Sagstype and Sagsstatus yourself to find out, that titles arrive with newlines in them, and that timestamps carry seven fractional digits. This Actor resolves the labels server-side in the same request and hands back one flat record.

What you get per case

FieldExample
caseId106483
caseNumberL 87
titleForslag til lov om ændring af sundhedsloven ...
shortTitleOm kronikerpakker, frit valg og befordring ...
typeId / typeName3 / Lovforslag
statusId / statusName25 / Fremsat
summarythe official resumé, where there is one
voteConclusionthe conclusion text after a vote
decision, decisionDatethe decision and when it was taken
lawNumber, lawNumberDateset once a bill becomes law
updatedAt2026-11-20T10:47:21Z
retsinformationUrllink to the consolidated law, where one exists
odaUrlhttps://oda.ft.dk/api/Sag(106483)

With includeDocuments on, each case also carries a documents array: title, dates, attachment number, and the question text for the cases that are questions to a minister. Documents are billed separately, so maxDocumentsPerCase caps both how many you get and what they cost.

Danish text is kept as Danish. Only the keys are in English, so you can read the output without a dictionary and still quote the source exactly.

Only what changed

A case in Folketinget changes many times on its way through the chamber, and a committee answer is often the thing you were waiting for. So onlyNew remembers each case together with its update timestamp rather than just its id. A case you have already received comes back when it actually changes, and not before.

The remembered list lives in a named key-value store on your own account, and each distinct filter keeps its own, so two separate watches do not interfere.

Filtering

Everything that changed in the last week needs no settings. Narrow it by case type (3 for bills, 5 for motions, 10 for section 20 questions), by status, by parliamentary session, or by text in the Danish title. The filter text is matched case-sensitively, which is how the upstream service behaves.

The full lookup lists are open if you want ids the description does not name:

  • types: https://oda.ft.dk/api/Sagstype?$format=json
  • statuses: https://oda.ft.dk/api/Sagsstatus?$format=json
  • sessions: https://oda.ft.dk/api/Periode?$format=json

Where the data comes from

Every field is read from https://oda.ft.dk/api/Sag, which is Folketinget's own open data service. Nothing is scraped. Folketinget asks callers not to burden the API, so requests are paced and pages are kept small, smaller still when documents are attached.

One upstream quirk worth knowing: the service silently caps $top at 100. Asking for 500 or 5000 returns exactly 100 rows with no error, which is an easy way to think you have reached the end of the data. The client clamps to 100 and pages with $skip, which has no ceiling, so maxCases can go as high as you like.

Folketinget publishes terms for reusing this data. Read them before you build something commercial on top: they are linked from https://www.ft.dk/dokumenter/aabne_data.

Running it yourself

The source is public, and it runs locally without an Apify account:

npm install
npm test # fast, offline, uses fixtures
npm run smoke # hits the real oda.ft.dk API and checks our assumptions still hold
node src/main.js

Put your input in storage/key_value_stores/default/INPUT.json. To see the pay-per-event charges, set ACTOR_TEST_PAY_PER_EVENT=true and ACTOR_USE_CHARGING_LOG_DATASET=true, then read storage/datasets/charging_log/.

MIT licensed.