Spotwatts Spotwatts Electricity Price API

The Spotwatts Electricity Price API API from Spotwatts — 1 operation(s) for spotwatts electricity price api.

GitHub OpenAPI

Operations 1

GET /{zone}/{day}.json Prices of one zone for one local day #

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/spotwatts-com:spotwatts-com-spotwatts-electricity-price-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

spotwatts-com-spotwatts-electricity-price-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spotwatts Com Spotwatts Electricity Price API
  version: 1.0.0
  contact:
    url: https://spotwatts.com/en/about#contact
  termsOfService: https://spotwatts.com/en/api#terms
  description: 'Operations tagged Spotwatts Electricity Price API across 2 of this provider''s published API definitions: spotwatts-com-openapi.json, spotwatts-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://spotwatts.com/api/v1
tags:
- name: Spotwatts Electricity Price API
paths:
  /{zone}/{day}.json:
    get:
      summary: Prices of one zone for one local day
      parameters:
      - $ref: '#/components/parameters/zone'
      - name: day
        in: path
        required: true
        description: today, tomorrow or a local date YYYY-MM-DD (from 2023-01-01).
        schema:
          type: string
          pattern: ^(today|tomorrow|\d{4}-\d{2}-\d{2})$
        example: today
      responses:
        '200':
          description: The day's prices.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Day'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Spotwatts Electricity Price API
      operationId: getByZone{day}Json
      x-operation-id-source: derived
    servers:
    - url: https://spotwatts.com/api/v1
components:
  parameters:
    zone:
      name: zone
      in: path
      required: true
      description: Bidding zone in lower case.
      schema:
        type: string
        enum:
        - no1
        - no2
        - no3
        - no4
        - no5
        - dk1
        - dk2
        - se1
        - se2
        - se3
        - se4
        - fi
        - ee
        - lv
        - lt
      example: no2
  responses:
    NotFound:
      description: Unknown zone or date, or prices not published yet (tomorrow's come at about 13:00 CET).
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
  schemas:
    Day:
      type: object
      properties:
        zone:
          type: string
          example: NO2
        country:
          type: string
          example: 'NO'
        timezone:
          type: string
          example: Europe/Oslo
        currency:
          type: string
          enum:
          - NOK
          - SEK
          - DKK
          - EUR
        unit:
          type: string
          example: NOK/kWh
        date:
          type: string
          format: date
        vat_rate:
          type: number
          description: Percent; 0 in NO4.
        exchange_rate:
          type: object
          description: ECB rate per 1 EUR known at the day's auction (date null for EUR).
          properties:
            eur:
              type: number
            date:
              type:
              - string
              - 'null'
              format: date
        resolution:
          type: integer
          enum:
          - 15
          - 60
          description: 'Interval minutes: 15 since 1.10.2025, 60 before.'
        average:
          type: object
          properties:
            price:
              type: number
            price_vat:
              type: number
            eur_mwh:
              type: number
        min:
          $ref: '#/components/schemas/Interval'
        max:
          $ref: '#/components/schemas/Interval'
        cheapest_windows:
          type: array
          description: Cheapest continuous 1–4 hours starting within the day.
          items:
            allOf:
            - $ref: '#/components/schemas/Interval'
            - type: object
              properties:
                hours:
                  type: integer
        intervals:
          type: array
          items:
            $ref: '#/components/schemas/Interval'
        hours:
          type: array
          description: Hourly averages.
          items:
            $ref: '#/components/schemas/Interval'
        page:
          type: string
          format: uri
        source:
          type: string
        attribution:
          $ref: '#/components/schemas/Attribution'
    Interval:
      type: object
      properties:
        start:
          type: string
          format: date-time
          description: Local time with offset.
        end:
          type: string
          format: date-time
        price:
          type: number
          description: Currency per kWh, excl. VAT.
        price_vat:
          type: number
          description: Currency per kWh, inc. VAT.
        eur_mwh:
          type: number
          description: Day-ahead price in EUR/MWh, as published.
    Attribution:
      type: object
      description: The link the terms of use ask for. A one-zone response links the zone's page, others the home.
      properties:
        text:
          type: string
          example: 'Prices: Spotwatts'
        url:
          type: string
          format: uri
          example: https://spotwatts.com/se/se3
        html:
          type: string
          example: '<a href="https://spotwatts.com/se/se3">Prices: Spotwatts</a>'
    Interval_2:
      type: object
      properties:
        start:
          type: string
          format: date-time
          description: Local time with offset.
        end:
          type: string
          format: date-time
        price:
          type: number
          description: Currency per kWh, excl. VAT.
        price_vat:
          type: number
          description: Currency per kWh, incl. VAT.
        eur_mwh:
          type: number
          description: Day-ahead price in EUR/MWh, as published.
externalDocs:
  url: https://spotwatts.com/en/api
x-refined-from:
- spotwatts-com-openapi.json
- spotwatts-openapi.json