Download datasets
Here you can download the full content of the APIs as ready-made JSON files without an API key. The files are refreshed automatically every night and served compressed (gzip), so they decompress themselves in the browser and in ordinary HTTP clients. The counts and file sizes below are approximate and grow slowly over time as new content is published.
Government content (innhold.json)
Metadata about all published documents from regjeringen.no – propositions, white papers, reports, press releases and news – with title, date, document type, page type, owner/topic and a link to the source. Retrieved from /innhold/GetDocList with all detail flags enabled.
# innhold.json
curl --compressed -o innhold.json \
https://api.test.data.regjeringen.no/exports/innhold.json
# Array of documents (with owner/topic/hierarchy): { documentId, title, date, documentUrl, pageType, documentType, ... }Ministry information (depinfo.json)
Contains the current ministry structure: the ministries and the Office of the Prime Minister (SMK) with names and subordinate units/departments. Retrieved from /depinfo/all.
# depinfo.json
curl --compressed -o depinfo.json \
https://api.test.data.regjeringen.no/exports/depinfo.json
# Array of ministries: { id, name: [{ id, text }], departments: [ ... ] }Official Records from the Council of State (statsraad.json)
All «Official Records from the Council of State» announcements (propositions, reports to the Storting, sanctions and entries into force, regulations, appointments, etc.), each enriched with full detail content. Retrieved from /statsraad/getlist + /statsraad/get.
# statsraad.json
curl --compressed -o statsraad.json \
https://api.test.data.regjeringen.no/exports/statsraad.json
# Array (full history): { id, tittel, ingress, datoPublisert, utgiver, detalj }Consultations – overview (svar-horinger.json)
Overview of all published consultations – title, responsible ministry, date, status and link. One row per consultation. Retrieved from /svar/GetPublished?type=H.
# svar-horinger.json / svar-innspill.json
curl --compressed -o svar-horinger.json \
https://api.test.data.regjeringen.no/exports/svar-horinger.json
# Array of consultations/submissions: { documentId, title, date, depName, type, status, documentUrl }Submissions – overview (svar-innspill.json)
The same layout as consultations, but lists cases where citizens, organisations and businesses have submitted input. Retrieved from /svar/GetPublished?type=I.
# svar-innspill.json
curl --compressed -o svar-innspill.json \
https://api.test.data.regjeringen.no/exports/svar-innspill.json
# Array of submissions: { documentId, title, date, depName, type, status, documentUrl }Consultation documents (svar-dokumenter.json)
The full content for each consultation/submission – for consultations incl. the consultation letter, consultation memo and consultation bodies; for submissions incl. the invitation, attachments and recipients. Retrieved from /svar/GetDocument?horingId= per case.
# svar-dokumenter.json
curl --compressed -o svar-dokumenter.json \
https://api.test.data.regjeringen.no/exports/svar-dokumenter.json
# Array: { horingId, dokument } – one document per consultation/submission (GetDocument)Consultation responses (svar-horingssvar.json)
All published consultation responses grouped by consultation – around 170,000 response entries in total across approx. 7,300 consultations (without per-response detail/attachments). Retrieved from /svar/GetPublishedAnswerItems?id= per consultation.
# svar-horingssvar.json
curl --compressed -o svar-horingssvar.json \
https://api.test.data.regjeringen.no/exports/svar-horingssvar.json
# Array: { horingId, svar: [ ... ] } – published response entries per consultation (without per-response detail)DCAT-AP-NO catalogue
DCAT-AP-NO compatible catalogue of all the datasets, for automatic harvesting to data.norge.no. Retrieved from /dcat.
# DCAT catalogue (JSON-LD)
curl -H "Accept: application/ld+json" \
https://api.test.data.regjeringen.no/dcatThe URLs point to the test gateway. On the production portal, api.test.data.regjeringen.no is replaced with api.data.regjeringen.no.