Not live yet. These routes are documented ahead of their release; each answers 404until Solariance
opens it. An account also needs the irradiance feature (beta: on request)
and the measured-data opt-in.
POST /v1/measured/production/upload.| Route | What | Token permission |
|---|---|---|
POST /v1/measured/irradiance/upload | Send values (?dry_run=1 to check only) | Upload or ReadWrite |
GET /v1/measured/irradiance | List a system's sensors, or read one sensor's values | ReadOnly, Upload or ReadWrite |
DELETE /v1/measured/irradiance | Erase a span, a sensor, or every sensor of a system | ReadWrite |
Authorization: Bearer <API token> with every request.ReadOnly, ReadWrite orUpload ("Lesen und Messdaten hochladen": send and read, never erase orPUT /v1/measured/settings with{"opt_in": true, "policy_version": "YYYY-MM"} (the release of theno_location).{"code": …, "message": "…", "data": {…}}.data.reason is a stable code to branch on; message is for people and mayPOST https://api.solariance.de/v1/measured/irradiance/uploadContent-Type: application/json. Add ?dry_run=1 (or true, yes, on){
"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.0]
]
}
]
}"sensor": {"id": "mast-horizontal", "plane": "horizontal", "type": "pyranometer"}| Field | Required | Meaning |
|---|---|---|
unit | yes | W/m2 (also W/m², Wm-2, W m-2, W/m^2, any case). Lux is refused: an illuminance sensor does not measure irradiance |
quantity | no | Only irradiance |
interval_minutes | yes | 1, 5, 10, 15 or 60. One-minute values are stored as five-minute means, and a five-minute mean needs all five |
interval_label | yes | start: the value is the mean over the interval its time opens. end: the mean over the interval its time closes. instant: a sample at that moment |
source | no | ha_sensor for an integration that re-sends its recent values: such values only fill gaps and never replace what is stored. Leave out for an upload of your own |
series[] | yes | One entry per system and sensor, 1 to 1,000. A system and sensor may appear once per request |
series[].system_id | yes | One of your systems |
series[].sensor.id | yes | Your name for the sensor: 1 to 40 characters of A-Z a-z 0-9 . _ -, unique per system. Upper and lower case count as the same (Roof and roof are one sensor). Up to 8 sensors per system |
series[].sensor.plane | yes | horizontal, or module for a sensor in the plane of the modules. A module plane with tilt 0 is stored as horizontal |
series[].sensor.tilt_deg | module plane | 0 to 90 degrees, kept to a tenth of a degree. Leave out for a horizontal sensor |
series[].sensor.azimuth_deg | module plane | 0 to 360 degrees from north, clockwise: 90 east, 180 south, 270 west. Kept to a tenth of a degree. Leave out for a horizontal sensor |
series[].sensor.type | yes | pyranometer, reference_cell, weather_station or other |
series[].values | yes | [time, value] pairs, value in W/m2. Every time needs an offset: 2026-11-18T10:00:00Z or 2026-11-18T11:00:00+01:00 |
start/end) and samplesinstant), is refused with sensor_changed. If you move a sensor, give it aid, or erase its values first. Its type may change at any time."source": "ha_sensor" only fill gaps and never replace what is storedkept).| Check | Refused 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 0 | implausible_value |
| Above a × clear sky + b, or above the interval's ceiling (next table) | above_clear_sky |
| More than 40 W/m2 while the sun is below the horizon for the whole interval: usually a time-zone error | light_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 future | future_interval |
| Starts more than 400 days ago | too_old |
| Time unreadable / value not a number | invalid_time / not_a_number |
| A 1-minute value whose five-minute block is incomplete | incomplete_interval |
| Interval | Refused above | Ceiling (horizontal / module plane) |
|---|---|---|
1 minute, and every instant sample | 1.6 × clear sky + 200 W/m2 | 1,600 / 1,600 W/m2 |
| 5 minutes | 1.45 × clear sky + 185 W/m2 | 1,450 / 1,550 W/m2 |
| 10 and 15 minutes | 1.3 × clear sky + 165 W/m2 | 1,350 / 1,450 W/m2 |
| 60 minutes | 1.3 × clear sky + 100 W/m2 | 1,250 / 1,350 W/m2 |
no_location: the system has no coordinates, so the values were not checked against the sun;lux_suspect: most values are far above any irradiance, as an illuminance sensor sent as W/m2 would be;time_suspect: 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.{
"code": 200,
"message": "OK",
"data": {
"dry_run": false,
"upload_id": "6f1c2a9e-3b4d-4e5f-8a7b-0c1d2e3f4a5b",
"totals": {"series": 1, "values": 4, "stored": 2, "replaced": 1, "kept": 0, "rejected": 2},
"series": [
{
"system_id": "PV1A2B3C4D5E",
"sensor_id": "roof-south",
"status": "stored",
"minutes": 5,
"averaging": "mean",
"stored": 2,
"replaced": 1,
"kept": 0,
"rejected": 2,
"first_start_utc": "2026-11-18T10:00:00Z",
"last_end_utc": "2026-11-18T10:10:00Z",
"rejections": [
{"time": "2026-11-18T10:10:00Z", "reason": "above_clear_sky"},
{"time": "2026-11-18T17:00:00Z", "reason": "light_at_night"}
],
"warnings": []
}
]
}
}| Field | Meaning |
|---|---|
dry_run | Whether this was a dry run |
upload_id | Identifies the upload; null for a dry run or when nothing was stored |
totals | series and values sent; rows stored; stored rows replaced; values kept out (an ha_sensor value where a row was already there); values rejected. replaced and kept are null in a dry run |
series[].status | stored, rejected (see reason, sometimes detail) or failed (storage_failed: send that series again) |
series[].minutes, averaging | The grain stored (1-minute values are stored as 5) and mean or sample |
series[].first_start_utc, last_end_utc | The stored span, UTC |
series[].rejections | The refused values with their reason, at most 50 listed (rejected counts them all) |
series[].warnings | {code, detail} |
series[].preview | Dry run only: grain, averaging, label, unit, span, accepted values, rows, and the first five rows with clear_sky_wm2 |
series[].reason):reason | Meaning |
|---|---|
duplicate_interval | Two values name the same 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 | The sensor holds values measured in another position or averaging: use a new id |
too_many_sensors | A ninth sensor on the system: erase one first |
storage_failed | Could not be stored: send it again |
| Status | data.reason | What to do |
|---|---|---|
| 400 | invalid_json, invalid_unit, invalid_quantity, invalid_interval, invalid_label, invalid_source, invalid_sensor, duplicate_series, timestamp_without_offset, too_many_values, too_many_series | Fix the request; detail says what. Nothing was stored |
| 401 | token_missing, token_malformed, token_invalid, token_expired, session_revoked, account_deleted, verification_unavailable, entitlements_changed | Send a valid token. For entitlements_changed, renew the token and retry once. A revoked API token answers without a reason |
| 403 | feature_required (data.feature: measured_data or ai_irradiance) | The feature is not part of your plan yet |
| 403 | measured_opt_in_required | Record the opt-in first (PUT /v1/measured/settings) |
| 403 | (none) | The token's permission does not allow sending (ReadOnly) |
| 409 | sensor_changed | No series was stored, and a sensor that holds values was sent with another position or averaging: use a new id. The body carries the whole answer. If other series were stored, the answer is a 200 and only that series says sensor_changed |
| 413 | body_too_large | At most 10 MB per request |
| 415 | unsupported_media_type | Send Content-Type: application/json |
| 429 | daily_value_cap | The request would take the account past 300,000 stored values today (UTC); nothing of it was stored. Wait for Retry-After |
| 429 | (none) | 120 requests an hour spent. Wait for Retry-After |
| 500 | (none) | Try again |
| 503 | irradiance_uploads_off | Not open yet, or paused (detail: schema_missing while Solariance is still setting it up). Try again later |
GET https://api.solariance.de/v1/measured/irradiance?system_id=PV1A2B3C4D5E{
"code": 200,
"message": "OK",
"data": {
"system_id": "PV1A2B3C4D5E",
"sensors": [
{
"sensor_id": "roof-south",
"plane": "module",
"tilt_deg": 30.0,
"azimuth_deg": 180.0,
"type": "reference_cell",
"averaging": "mean",
"first_start_utc": "2026-11-02T06:45:00Z",
"last_start_utc": "2026-11-18T10:05:00Z",
"stored": 4210,
"last_upload_utc": "2026-11-18T10:12:31Z"
}
]
}
}GET https://api.solariance.de/v1/measured/irradiance?system_id=PV1A2B3C4D5E&sensor_id=roof-south&from=2026-11-12&to=2026-11-18from and to: the{
"code": 200,
"message": "OK",
"data": {
"system_id": "PV1A2B3C4D5E",
"sensor": {"sensor_id": "roof-south", "plane": "module", "tilt_deg": 30.0, "azimuth_deg": 180.0,
"type": "reference_cell", "averaging": "mean", "first_start_utc": "2026-11-02T06:45:00Z",
"last_start_utc": "2026-11-18T10:05:00Z", "stored": 4210, "last_upload_utc": "2026-11-18T10:12:31Z"},
"time_zone": "Europe/Berlin",
"from": "2026-11-12",
"to": "2026-11-18",
"count": 2,
"rows": [
{"start_utc": "2026-11-18T10:00:00Z", "minutes": 5, "wm2": 412.5, "source": "api_upload"},
{"start_utc": "2026-11-18T10:05:00Z", "minutes": 5, "wm2": 430.0, "source": "api_upload"}
]
}
}| Status | data.reason | What to do |
|---|---|---|
| 400 | invalid_range (data.max_days: 31) | Send both from and to (YYYY-MM-DD) or neither; from not after to; at most 31 days |
| 400 | invalid_system_id | system_id was given twice with different values |
| 400 | (none) | system_id is missing |
| 401 | as for the upload | Send a valid token |
| 403 | not_owner | Not one of your systems |
| 403 | feature_required (measured_data) | The plan has no measured data |
| 404 | unknown_sensor, unknown_system | No sensor of that id on the system |
| 429 | (none) | 120 requests an hour (shared with erasing) spent. Wait for Retry-After |
DELETE https://api.solariance.de/v1/measured/irradiance?system_id=PV1A2B3C4D5E&sensor_id=roof-south| Parameters | What is erased |
|---|---|
system_id, sensor_id | The sensor and all its values |
system_id, sensor_id, from, to | The sensor's values on those days; the sensor stays |
system_id | Every sensor of the system with all its values |
system_id, from, to | Every sensor's values on those days; the sensors stay |
{"code": 200, "message": "OK", "data": {"deleted_rows": 4210, "deleted_sensors": 1, "complete": true}}ReadWrite token. Days are in the system's time zone, at most 31complete is false,id.delete_data: truePUT /v1/measured/settings) erases your sensors too, as does deleting thefeature_required; an Upload or ReadOnly"source": "ha_sensor", so