Migrating from One Call API 3.0 to One Call API 4.0
Migrating from One Call API 3.0 to One Call API 4.0
Thanks for building with OpenWeather. We've just launched One Call API 4.0, the next generation of our flagship weather product, and we want to make your move from 3.0 as smooth as possible.
This guide walks you through what's new, what's changed, how your existing fields map across, and what to expect on billing. If at any point you'd rather just ask us directly, our support team and Ulla, the OpenWeather AI assistant, are both available - see the FAQ or Support Centre.
What's new in One Call 4.0
One Call 3.0 has served developers well as an all-in-one weather response. With 4.0, we've rebuilt the product around a few things our customers asked for most:
One Call 3.0 remains available today and isn't being switched off as part of this release. We recommend 4.0 for all new integrations, and this guide is here to help existing 3.0 customers move over at their own pace.
At a glance: what changes
Parameters | One Call 3.0 | One Call 4.0 |
|---|---|---|
How you get your data | One combined response, with an | Separate, focused endpoints - call only what you need |
Endpoints | 5: current+forecast, timestamp lookup, daily aggregation, weather overview, AI assistant | 6: current, 1-minute, 15-minute, hourly, daily, alert detail |
Minute-by-minute forecast | 1-minute steps, next 60 minutes | Same - unchanged |
15-minute forecast | Not available | New - 15-minute steps, next 48 hours |
Hourly data | Forecast only, next 48 hours | Forecast and history, one continuous 47-year-back-to-48-hour-ahead timeline |
Daily data | Forecast only, next 8 days | Forecast and history, one continuous 47-year-back-to-1.5-year-ahead timeline |
Looking up a specific past date/time | Dedicated | Folded into the hourly/daily timeline - request a |
Weather alerts | Full alert text included directly in your response | We return an alert ID first; a quick second call gets you the full detail |
Large data requests | Always returned in a single response | We paginate - you'll get |
Free daily calls | 1,000/day, with your account defaulting to a 2,000/day cap once you subscribe. You can always change the cap in your Personal Account | Same - unchanged |
Field mapping, endpoint by endpoint
Good news: the actual field names, units, and meanings you already know from 3.0 carry over almost entirely unchanged in 4.0. What moves is the path the data sits at (most 3.0 sections like current, hourly, daily simply become data in 4.0's dedicated endpoints), and — for alerts — the workflow.
3.0 | One Call 4.0 | Notes |
|---|---|---|
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
|
| Path only |
Full |
| You'll now call the alert detail endpoint for full text |
One Call 3.0 | One Call 4.0 | Notes |
|---|---|---|
|
| Path only |
|
| Unchanged |
Not available in 3.0 |
| New addition in 4.0 |
There's no One Call 3.0 equivalent to map from here — this is a new capability. If you've been downsampling our hourly data to approximate 15-minute granularity, you can now call this directly:
One Call 4.0 field | Meaning |
|---|---|
| Forecast time |
| Temperature and Feels like temperature |
| Atmospheric conditions - pressure, humidity level and dew point temperature |
| Sky conditions |
| Wind |
| Probability of precipitation |
| Precipitation |
| Condition summary |
| Alert IDs |
3.0 | 4.0 | Notes |
|---|---|---|
|
| Path only |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
Not available in 3.0 hourly |
| New addition |
Historical hours required a separate | Same endpoint — just request an earlier | One endpoint now covers both |
3.0 | 4.0 | Notes |
|---|---|---|
|
| Path only |
|
| Path only |
| Not available in One Call 4.0 | |
|
| Path only |
|
|
|
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged units |
|
| Unchanged |
Not available in 3.0 daily |
| New addition |
For that particular case please use Hourly endpoint in One Call 4.0 (/timeline/1h) instead of Time machine endpoint in One Call 3.0 (/timemachine).
One Call 3.0 | One Call 4.0 | Notes |
|---|---|---|
|
| Unchanged |
|
| Unchanged |
| Same fields, same path | Unchanged |
|
| Limited historical UV data to 5 days back. |
| Same fields, same path | Unchanged |
| Same fields, same path | Unchanged |
| Same fields, same path | Unchanged |
In practice: rather than calling a dedicated timestamp endpoint, you'll request a timeline window around your target time and pick out the matching record from the page returned.
For that particular case please use Weather alerts endpoint in One Call 4.0 (/onecall/alert/{alert_id}) instead of Current&Forecasts endpoint in One Call 3.0 (inline alerts[]).
One Call 3.0 | One Call 4.0 | Notes |
|---|---|---|
(alerts were identified only by position in the array) |
| Alerts are now individually addressable |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
|
| Unchanged |
| Not available in One Call 4.0 | - |
Your migration checklist
current, minutely, hourly, daily, alerts) your integration actually uses today - this tells you exactly which 4.0 endpoints you'll need. Billing
Parameters | One Call 3.0 | One Call 4.0 |
|---|---|---|
Subscription | "One Call by Call" | "One Call by Call" (separate subscription) |
Free calls per day | 1,000 | 1,000 |
Default cap after subscribing | 2,000/day (adjustable in your account) | 2,000/day (adjustable in your account) |
Cost beyond free tier | Pay-as-you-call — see pricing | Pay-as-you-call — see pricing |
Paginated requests | N/A | Each |
Worth knowing: because One Call 4.0 paginates large responses, a query that was one billed call in One Call 3.0 via Current&Forecasts endpoint could become several billed calls in One Call 4.0 if it spans a long timeline.
We're here to help
One Call 4.0 is a young product, and we know migration guides like this one work best when they keep pace with what we ship. If you hit a gap — especially around Daily Aggregation, Weather Overview, or the AI Assistant — please reach out via our Support Centre or ask Ulla. We'll keep this guide updated as those areas are documented.
Thanks for building with OpenWeather.
Sources:
One Call API 4.0 documentation