Open Government, Norway API

Government / No Auth Required Beginner HTTPS CORS
Free to Use Varies (check documentation)

Overview

The Norwegian Government Open Data API (data.norge.no) provides access to publicly available datasets from Norwegian government agencies, spanning topics like geography, economy, and public services. No API key is required, and many datasets are accessible via standard CKAN REST API calls. It's an excellent starting point for anyone interested in Nordic open data.

💡

Beginner Tip

Use the CKAN REST API format with the base URL "https://data.norge.no/api/3/action/" to search and retrieve datasets. Try "package_search" with English keyword terms since many datasets also have English metadata.

Available Data

Use case: Integrate norwegian government open data data into web and mobile applications
Open Government, Norway data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Open Government, Norway",
    "description": "Norwegian Government Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

success True if the API call completed without errors.
result The main payload containing dataset info or search results.
count Number of datasets matching the query.
results List of dataset objects returned by the search.
title The title of the dataset, often in Norwegian.
resources Downloadable files or data endpoints linked to the dataset.

Implementation Example

const url = "https://data.norge.no/dataservices";
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

No matching results Search query keywords may not match Norwegian dataset titles.
Try Norwegian language keywords or broader English terms. Use the web portal first to find dataset names.
404 Not Found The dataset ID or action endpoint is incorrect.
Verify the dataset name using the "/api/3/action/package_list" endpoint before fetching details.
Encoding issues in response Norwegian characters (ø, æ, å) may not be handled correctly.
Ensure your HTTP client is using UTF-8 encoding and decode the response body accordingly.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 35ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Government
Difficulty Beginner
Verified: 2026-04-07

Similar APIs

View All →