Open Government, Sweden API
Overview
Sweden open Government Data API (dataportal.se) provides access to metadata and datasets published by Swedish government agencies across topics like transportation, environment, and demographics. It uses the DCAT-AP standard and is free to use without authentication. A good starting point for anyone interested in Nordic public data or cross-country government data comparisons.
Beginner Tip
The API returns dataset metadata (descriptions and download links) rather than raw data directly — follow the distribution URLs in the response to download the actual dataset files.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Open Government, Sweden",
"description": "Sweden Government Open Data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
hits List of dataset metadata entries matching the query hits[].title Dataset title, typically in Swedish hits[].description Short description of the dataset contents hits[].distribution File download options with format and access URLs totalCount Total number of matching datasets in the catalog Implementation Example
const url = "https://www.dataportal.se/en/dataservice/91_29789/api-for-the-statistical-database";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Bank Negara Malaysia Open Data
⭐ Beginner's PickBank Negara Malaysia Open Data provides free access to official financial data published by Malaysia's central bank, including exchange rates, interest rates, and key economic indicators.
BCLaws
BCLaws gives you free access to the full text of British Columbia's laws and regulations.
Brazil
⭐ Beginner's PickBrasilAPI is a free, community-driven API that centralizes public data about Brazil in one easy-to-use place.
Brazil Central Bank Open Data
The Brazil Central Bank Open Data API provides free access to official financial and economic data from Brazil s central bank (Banco Central do Brasil).
Brazil Receita WS
Brazil Receita WS lets you look up official information about Brazilian companies using their CNPJ (tax registration number).