WeatherAPI
Data API keyRead current conditions, forecasts and historical weather from WeatherAPI.com in any Windmill script, flow or app.
Set up in 3 steps
1
Get your credential
In the WeatherAPI.com dashboard, your API key is on the account page.
2
Add the resource in Windmill
Open Resources, add a resource of type weatherapi, and fill it in.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Weather History
Script weatherapi Verified
Weather Future
Script weatherapi Verified
Weather Forecast
Script weatherapi Verified
Timezone
Script weatherapi Verified
Marine Weather
Script weatherapi Verified
Location Search
Script weatherapi Verified
IP Lookup
Script weatherapi Verified
Current Weather
Script weatherapi Verified
Astronomy
Script weatherapi Verified
Resource type
weatherapi — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes |
Questions
Lookups are metered
WeatherAPI counts calls per month against your plan. Poll on the cadence the forecast actually changes, not every minute.
Is my credential stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.