Skip to navigation

Get a destination forecast

Returns a daily forecast for a destination, resolved SERVER-SIDE from an airport code, city name, or explicit coordinates (at least one is required). Coordinates are server-resolved from a small reference table when only an airport or city is given. weatherAvailable is honestly false — with an empty forecast, never a synthesized one — whenever the locator does not resolve to a known place or the weather provider call itself fails. No session header is required: a forecast lookup carries no per-member state.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

This endpoint expects an object.
airportstring or nullOptional
citystring or nullOptional
latdouble or string or nullOptional
londouble or string or nullOptional
daysinteger or string or nullOptional

Requested forecast horizon in days; provider-bounded, a provider-specific default applies when null.

Response

OK
correlationIdstring
forecastlist of objects
weatherAvailableboolean

False when the weather provider failed or was unavailable — forecast is empty in that case, never a fabricated forecast.

schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error