University of Twente Energy API

The university's own API, and the only contract in this profile it wrote. A public, unauthenticated REST service on the university's own network (energyapi.utwente.nl, 130.89.3.170, ASP.NET Core / Kestrel) returning historical metered energy for 103 campus resources — individual buildings such as bastille and boortoren plus the campus-wide universiteit-twente roll-up — across electricity, gas, heat, water and solar, at hour, day, week, month or year resolution, back to at least 2019. Setting co2=true returns the series in kg CO2e against the Dutch national energy-mix emission factor. An OpenAPI 3.0.1 document and a Swagger UI are published at the host. Two contract defects were measured and are recorded in errors/: the spec declares RFC 7807 ProblemDetails on 400 but the service returns a bespoke {error, results} envelope, and GET /api/Dashboard is documented as 200 but returned 400 when probed. info.contact names Realised, the contracted developer, rather than the university.

Operations 3

GET /api/Dashboard Returns the relevant dashboard data containing year of year savings (in %) and PV output data.
GET /api/Energy Returns a list of resources with their available energy types.
GET /api/Energy/{resource}/{type} Returns the specified energy type from resource with resolution within timeframe 'from' - 'to'.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/energy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-twente-energy-api-openapi.yml Raw ↑
# University of Twente Energy API
# generated: '2026-09-01'
# method: searched
# source: https://energyapi.utwente.nl/swagger/v1/swagger.json
# x-operator: institution
# Harvested verbatim from the university's own Swagger endpoint. The only editorial
# changes are an added servers[] block (the served document omits it), operator/provenance
# notes appended to info.description, tag descriptions, and externalDocs. Pristine copy:
# openapi/_original/university-of-twente-energy-api-openapi.json
openapi: 3.0.1
info:
  title: University of Twente Energy API
  description: |-
    API for querying historical energy data from University of Twente buildings.

     Developed by Realised, for questions please contact:

    Operator: University of Twente (institution-operated). The API is served from energyapi.utwente.nl on the university's own network and backs the public Energy Data Platform at energydata.utwente.nl. Realised is the contracted developer named in info.contact; the service, the host and the data are the university's.

    No authentication is required. All operations are public, read-only GETs.
  contact:
    name: Realised
    email: energydata@realised.nl
  version: v1
  x-operator: institution
paths:
  /api/Dashboard:
    get:
      tags:
      - Dashboard
      summary: Returns the relevant dashboard data containing year of year savings (in %) and PV output
        data.
      responses:
        '200':
          description: Returns no error and dashboard data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dashboard'
        '400':
          description: If the database returns an error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: If the database can't be reached.
  /api/Energy:
    get:
      tags:
      - Energy
      summary: Returns a list of resources with their available energy types.
      responses:
        '200':
          description: Returns no error and the list of values.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
        '503':
          description: If the database can't be reached.
  /api/Energy/{resource}/{type}:
    get:
      tags:
      - Energy
      summary: Returns the specified energy type from resource with resolution within timeframe 'from'
        - 'to'.
      description: "Resource and energy type can only contain lower case a-z, contain 0-9 and contain\
        \ '-' instead of spaces.\r\n\r\nTimezone should be specified in a ISO8601 format, e.g.: yyyy-MM-ddTHH:mm:ssZ,\
        \ providing an UTC time. \r\nIf a non UTC timestamp is provided, e.g.: yyyy-MM-dd HH:mm, the timestamp\
        \ is considered to be in 'Europe/Amsterdam'.\r\nThe returned results are always UTC.\r\n\r\nThe\
        \ resolution must be one of the following: hour, day, week, month, year and will group the results\
        \ accordingly following the ranges in \"Europe/Amsterdam\" timezone.\r\n\r\nElectricity or solar\
        \ data can be requested in their CO2 equivalent. To get this information, set the parameter `co2`\
        \ to `true`.\r\n\r\nSample request:\r\n            \r\n    POST /Energy/universiteit-twente/electricity\r\
        \n    {\r\n       \"resolution\": \"day\",\r\n       \"from\": \"2019-01-01 00:00\",\r\n     \
        \  \"to\": \"2020-01-01 00:00\"\r\n    }"
      parameters:
      - name: resource
        in: path
        description: 'Example: universiteit-twente'
        required: true
        schema:
          type: string
      - name: type
        in: path
        description: 'Example: electricity'
        required: true
        schema:
          type: string
      - name: resolution
        in: query
        description: 'Example: day'
        required: true
        schema:
          type: string
      - name: from
        in: query
        description: 'Example: 2019-01-01 00:00'
        required: true
        schema:
          type: string
      - name: to
        in: query
        description: 'Example: 2020-01-01 00:00'
        required: true
        schema:
          type: string
      - name: corrected
        in: query
        description: ''
        schema:
          type: boolean
          default: true
      - name: co2
        in: query
        description: ''
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Returns no error and the list of values.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Energy'
        '400':
          description: If there was input in an incorrect format.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: If the database can't be reached.
components:
  schemas:
    Building:
      required:
      - energyTypes
      - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        energyTypes:
          type: array
          items:
            type: string
      additionalProperties: false
    Dashboard:
      type: object
      properties:
        error:
          type: string
          nullable: true
        savings:
          $ref: '#/components/schemas/Saving'
        solar:
          $ref: '#/components/schemas/Measure'
      additionalProperties: false
    DataPoint:
      required:
      - corrected
      - timestamp
      - value
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        value:
          type: number
          format: double
        corrected:
          type: boolean
      additionalProperties: false
    Energy:
      type: object
      properties:
        error:
          type: string
          nullable: true
        results:
          $ref: '#/components/schemas/Result'
      additionalProperties: false
    Measure:
      type: object
      properties:
        dayGeneration:
          type: number
          format: double
        weekGeneration:
          type: number
          format: double
        yearGeneration:
          type: number
          format: double
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    Resource:
      required:
      - results
      type: object
      properties:
        error:
          type: string
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Building'
      additionalProperties: false
    Result:
      required:
      - data
      - unit
      type: object
      properties:
        unit:
          minLength: 1
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/DataPoint'
      additionalProperties: false
    Saving:
      type: object
      properties:
        electricity:
          type: number
          format: double
        gas:
          type: number
          format: double
        water:
          type: number
          format: double
        heat:
          type: number
          format: double
        cold:
          type: number
          format: double
      additionalProperties: false
servers:
- url: https://energyapi.utwente.nl
  description: University of Twente Energy API production host (institution-operated, ASP.NET Core / Kestrel
    on UT network 130.89.3.170).
externalDocs:
  description: University of Twente open energy data
  url: https://www.utwente.nl/en/sustainability/sustainability-on-campus/resources/open-data/
tags:
- name: Dashboard
  description: Aggregate campus dashboard figures — year-over-year savings percentage and photovoltaic
    generation.
- name: Energy
  description: Historical metered consumption and generation per campus resource (building or campus-wide)
    and energy type.