Skip to main content
The API is deliberately small: submit a portfolio forecast, or submit the master, metered and profile data the bridge builds a forecast from. The endpoint pages in this section are generated from the service’s OpenAPI specification.

Base URL and authentication

n:lead provides your service URL and API key. Send the key in the X-API-Key header on every request:
Keep the key secret and treat it as a credential for your portfolio data. 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) or MWH (energy per quarter-hour); metered data also accepts KWH.
  • 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: