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.
openapi: 3.2.0
info:
title: Spotwatts Com Prices API
version: 1.0.0
contact:
url: https://spotwatts.com/en/about#contact
termsOfService: https://spotwatts.com/en/api#terms
description: 'Operations tagged Prices 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: Prices
paths:
/prices/{year}/{monthDay}_{zone}.json:
get:
summary: One day in the common daily-file format
description: An array of intervals with {CUR}_per_kWh (excl. VAT), EUR_per_kWh, EXR, time_start, time_end, for all 15 zones.
parameters:
- name: year
in: path
required: true
schema:
type: string
pattern: ^\d{4}$
example: '2026'
- name: monthDay
in: path
required: true
schema:
type: string
pattern: ^\d{2}-\d{2}$
example: 10-25
- name: zone
in: path
required: true
schema:
type: string
example: SE3
responses:
'200':
description: The day's intervals.
'404':
$ref: '#/components/responses/NotFound'
tags:
- Prices
operationId: getPricesByYear{monthDay}{zone}Json
x-operation-id-source: derived
servers:
- url: https://spotwatts.com/api/v1
components:
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
externalDocs:
url: https://spotwatts.com/en/api
x-refined-from:
- spotwatts-com-openapi.json
- spotwatts-openapi.json