Get weather forecast
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
GET /modules/weatherapi/forecast
Operation
Operation ID: weatherApiForecast
Get forecast weather data from WeatherAPI
Authentication
Security requirements:
Scheme | Scopes |
|---|---|
BearerAuth | - |
Parameters
Name | In | Required | Type | Description |
|---|---|---|---|---|
q | query | yes | string | Location query (e.g. city, postal code, or latitude,longitude) |
days | query | no | integer | Number of forecast days |
Responses
Status | Description | Content Types |
|---|---|---|
200 | Forecast weather retrieved successfully | application/json |
Schema for response 200 (application/json):
{
"$ref": "#/components/schemas/WeatherApiObjectResponse"
}
17 March 2026