Base URL and authentication
n:lead provides your service URL and API key. Send the key in theX-API-Key header on every request:
GET /health needs no key and can be used for availability checks.
Endpoints at a glance
Conventions
- Time: delivery days are calendar days in Europe/Berlin; series run from local midnight to local midnight with 96 / 92 / 100 quarter-hours depending on daylight saving.
- Units:
MW(average per quarter-hour) orMWH(energy per quarter-hour); metered data also acceptsKWH. - Idempotency: re-sending the same delivery day replaces the previous submission; an identical payload changes nothing.
Errors
Validation errors carry a
detail message naming the offending series and
the rule it broke, for example: