University of Oslo API

Free to Use Varies (check documentation)

Overview

The University of Oslo Open Data API provides free access to information about courses, lecture videos, and academic content from one of Norway's largest universities. No authentication is needed, making it straightforward to explore structured educational data. It is particularly useful for developers building academic tools or studying how universities expose their course catalogs.

💡

Beginner Tip

Start by exploring the catalog at https://data.uio.no to understand what datasets are available before writing code—the portal provides dataset previews and download options alongside API access.

Available Data

University of Oslo data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from University of Oslo",
    "description": "Courses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

success Indicates whether the API call completed successfully.
result The actual payload—for list actions this is an array of IDs or objects.
result[].id Unique identifier for the dataset or resource.
result[].title Human-readable name of the dataset.
result[].resources List of downloadable files or API endpoints associated with this dataset.

Implementation Example

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

404 on dataset endpoint Using an incorrect or outdated dataset ID in the request URL.
Fetch the package list first via /api/3/action/package_list to get valid dataset IDs, then use those in subsequent calls.
Response not in expected format The API uses CKAN's API format, which wraps results in a {success, result} envelope.
Access the actual data via response.result rather than treating the top-level object as the dataset.
Slow or timeout on large datasets Some lecture video datasets are very large and take time to retrieve.
Use the rows and start parameters to paginate through results in smaller batches.

Matrix Score Breakdown

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

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Open Data
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →