Layer parameters · API reference
Hourly sun position and forecast wind for the slope layers (pre-flight only).
GET /v1/slope-conditions
Sun position and forecast wind per hour for the slope layers (pre-flight only)
Authentication: X-Api-Key header; required scope: scope table.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
lat required | query | number | Latitude of the map view; snapped to its 0.25° cell-90 ≤ x ≤ 90 |
lon required | query | number | Longitude of the map view; snapped to its 0.25° cell-180 ≤ x ≤ 180 |
date | query | string (date) | null | Local date (Europe/Istanbul), default today; the forecast covers today to today + 4 days, other dates give the sun only example "2026-11-06" |
Responses
| Status | Description | Content |
|---|---|---|
200 | Hours 05-21 of the local day; Cache-Control header | application/json → SlopeConditions |
401 | code: auth_missing, auth_invalid, auth_revoked | application/json → ErrorBody |
403 | code: auth_scope | application/json → ErrorBody |
422 | code: request_invalid, date_out_of_range | application/json → ErrorBody |
429 | code: rate_limited, quota_exceeded (Retry-After seconds)Headers: Retry-After — Seconds until the exhausted window resets | application/json → ErrorBody |