University of Oslo

Open Data

Unleashing the Power of Data with the Public API of https://data.uio.no/

Are you looking for a way to unlock the potential of academic data? The University of Oslo's public API makes it easy to access and utilize a wide range of diverse datasets. With just a few lines of code, you can integrate valuable data into your own applications, research projects, or visualizations.

Getting Started

To get started, navigate to the https://data.uio.no/ website and register for an API key. This will be required to make any requests to the API. Then, you can begin exploring the different datasets by browsing the list or by using the search functionality to find what you're looking for.

Making API Requests

API requests can be made using simple HTTP GET requests. All endpoints are accessed through the base URL https://data.uio.no/api/. Endpoints are grouped into categories, such as 'discovery' or 'health', allowing for easy access to related datasets.

When making requests, the API accepts certain parameters such as query filters or pagination options. These parameters should be included in your request URL.

The following code block shows an example of a simple API request in JavaScript:

fetch(`https://data.uio.no/api/dataset.json?api_key=${API_KEY}&limit=50`)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));

This request fetches the first 50 datasets available, given a valid api_key.

Data Formats

API responses are returned in JSON format, making it easy to parse and use within your application. Some datasets may return other data formats, such as CSV or RDF.

Final Thoughts

The University of Oslo's public API provides a rich and diverse set of datasets that can be integrated into a wide range of projects. With a valid API key, it's easy to explore these datasets and make powerful requests. So, go ahead and start exploring the possibilities of academic data!

Related APIs in Open Data