1. Measured
Solariance-API-V1
  • Getting Started
  • Authentication
  • Time and intervals
  • Data and resolution
  • Changelog
  • Use Solariance in Claude
  • Forecast
    • forecast/power
      GET
    • forecast/energy
      GET
    • forecast/temperature
      GET
    • forecast/export
      GET
    • forecast/correction-factors
      POST
    • forecast/market
      GET
  • System
    • system/list
      GET
    • system/view
      GET
    • system/create
      POST
    • system/update
      PUT
    • system/delete
      DELETE
    • system/forecast_status
      GET
  • User
    • user/view
      GET
    • user/update
      PUT
  • Measured
    • Measured irradiance (not live yet)
    • measured/irradiance/upload (not live yet)
      POST
    • measured/irradiance: read (not live yet)
      GET
    • measured/irradiance: erase (not live yet)
      DELETE
  • Portfolio
    • portfolio/schedule
      GET
    • portfolio/forecast
      GET
  • Schemas
    • IrradianceUploadRequest
    • IrradianceSeries
    • IrradianceValuePair
    • IrradianceSensor
    • IrradianceUploadResponse
    • IrradianceConflictResponse
    • IrradianceUploadData
    • IrradianceTotals
    • IrradianceSeriesResult
    • IrradianceRejection
    • IrradianceWarning
    • IrradiancePreview
    • IrradianceReadResponse
    • ErrorData
    • IrradianceSensorList
    • IrradianceSensorValues
    • IrradianceSensorView
    • IrradianceRow
    • IrradianceEraseResponse
    • ErrorResponse
Impressum
Datenschutz
  1. Measured

measured/irradiance/upload (not live yet)

Developing
POST
/v1/measured/irradiance/upload
Not live yet. This route is documented ahead of its release. Until Solariance opens it, it answers 404.
Send the values of one sensor or many, in W/m2. The AI forecast uses
them for your own system only: to check the weather forecast at
your site, to learn how your roof answers the light, and to correct
the coming hours before your inverter's readings arrive. A sensor of
one system is never used for another system or another account.
Production is not sent here: it has its own route,
POST /v1/measured/production/upload.
Who may send. An API token with the permission Upload or
ReadWrite (a ReadOnly token is refused). Every account creates its
own tokens in its account page (Entwickler) as ReadOnly, ReadWrite
or Upload. The account needs the measured-data feature,
the irradiance feature (beta: on request) and the recorded measured-data
opt-in (PUT /v1/measured/settings with
{"opt_in": true, "policy_version": "YYYY-MM"}). 120 requests an hour
per account.
Dry run. Add ?dry_run=1 to check a request without storing
anything: the answer shows per series what would be stored, with a
preview of the first rows and their clear sky. A dry run does not count
against the daily value limit.
What is checked. Every value is held against the clear sky at your
system's place, in the sensor's own plane, averaged over the value's
interval:
CheckRefused as
Below -20 W/m2 or above 1,600 W/m2. Values from -20 to 0 W/m2 (a pyranometer's night offset) are stored as 0implausible_value
Above a × clear sky + b, or above the grain's ceiling (table below)above_clear_sky
More than 40 W/m2 while the sun is below the horizon for the whole interval, usually a time-zone errorlight_at_night
Off the interval's UTC grid (a 5-minute value must start at :00, :05, …)misaligned
Ends more than 5 minutes in the futurefuture_interval
Starts more than 400 days agotoo_old
IntervalRefused aboveCeiling (horizontal / module plane)
1 minute, and every instant sample1.6 × clear sky + 200 W/m21,600 / 1,600 W/m2
5 minutes1.45 × clear sky + 185 W/m21,450 / 1,550 W/m2
10 and 15 minutes1.3 × clear sky + 165 W/m21,350 / 1,450 W/m2
60 minutes1.3 × clear sky + 100 W/m21,250 / 1,350 W/m2
The limits leave room for cloud enhancement, which lifts real values
well above the clear sky for minutes at a time. One refused value does
not stop the others. If the system has no coordinates, the values are
not checked against the sun (warning no_location).
Two warnings refuse nothing: lux_suspect when most values are far
above any irradiance (an illuminance sensor sent as W/m2: lux cannot
be sent here), and time_suspect when the day's light sits 40 minutes
or more off the sun on at least two days (check the time zone of the
stamps and interval_label).
A sensor's position is fixed once it holds values. A sensor that
already holds values and is sent with another plane, tilt or azimuth,
or switches between means (start/end) and samples (instant), is
refused (sensor_changed). Give a moved sensor a new id, or erase
its values first. Its type may change.
Sending the same values again is safe. Your own uploads replace
the stored values they overlap. Values sent with "source": "ha_sensor"
only fill gaps and never replace what is stored.
Limits. Up to 1,000 series (one per system and sensor), 50,000
values and 10 MB per request; up to 8 sensors per system; up to
300,000 stored values per account and UTC day.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Header Params

Body Params application/json

Examples
{
    "unit": "W/m2",
    "interval_minutes": 5,
    "interval_label": "start",
    "series": [
        {
            "system_id": "PV1A2B3C4D5E",
            "sensor": {
                "id": "roof-south",
                "plane": "module",
                "tilt_deg": 30,
                "azimuth_deg": 180,
                "type": "reference_cell"
            },
            "values": [
                [
                    "2026-11-18T10:00:00Z",
                    412.5
                ],
                [
                    "2026-11-18T10:05:00Z",
                    430
                ]
            ]
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.solariance.de/v1/measured/irradiance/upload?dry_run=1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "unit": "W/m2",
    "interval_minutes": 5,
    "interval_label": "start",
    "series": [
        {
            "system_id": "PV1A2B3C4D5E",
            "sensor": {
                "id": "roof-south",
                "plane": "module",
                "tilt_deg": 30,
                "azimuth_deg": 180,
                "type": "reference_cell"
            },
            "values": [
                [
                    "2026-11-18T10:00:00Z",
                    412.5
                ],
                [
                    "2026-11-18T10:05:00Z",
                    430
                ]
            ]
        }
    ]
}'

Responses

🟢200Success
application/json
The request was read. Each series says whether it was stored
(status): stored, rejected (with reason) or failed
(storage_failed: try that series again). A series may be stored
while some of its values were refused (rejected, rejections).
Reasons for a whole series (series[].reason):
duplicate_interval (two values name one interval),
nothing_valid (no value passed the checks), unknown_system
(not one of your systems), system_locked (the system is paused
by your plan), sensor_changed (see the description),
too_many_sensors (a ninth sensor: erase one first),
storage_failed.
Reasons for one value (series[].rejections[].reason, at most 50
listed per series): invalid_time, misaligned,
future_interval, too_old, not_a_number, implausible_value,
light_at_night, above_clear_sky, incomplete_interval
(1-minute values: a five-minute mean needs all five).
Warnings (series[].warnings[].code): no_location,
lux_suspect, time_suspect.
Bodyapplication/json

Examples
{
    "code": 200,
    "message": "OK",
    "data": {
        "dry_run": false,
        "upload_id": "6f1c2a9e-3b4d-4e5f-8a7b-0c1d2e3f4a5b",
        "totals": {
            "series": 1,
            "values": 2,
            "stored": 2,
            "replaced": 0,
            "kept": 0,
            "rejected": 0
        },
        "series": [
            {
                "system_id": "PV1A2B3C4D5E",
                "sensor_id": "roof-south",
                "status": "stored",
                "minutes": 5,
                "averaging": "mean",
                "stored": 2,
                "replaced": 0,
                "kept": 0,
                "rejected": 0,
                "first_start_utc": "2026-11-18T10:00:00Z",
                "last_end_utc": "2026-11-18T10:10:00Z",
                "rejections": [],
                "warnings": []
            }
        ]
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠405Method Not Allowed
🟠409Conflict
🟠413Payload Too Large
🟠415Unsupported Media Type
🟠429Too Many Requests
🔴500Internal Server Error
🔴503Service Unavailable
Modified at 2026-11-18 23:46:08
Previous
Measured irradiance (not live yet)
Next
measured/irradiance: read (not live yet)
Built with