# API Change 2025-01-12

**URL:** https://community.tempest.earth/t/api-change-2025-01-12/26434
**Category:** Developers
**Tags:** api, rest\_api
**Created:** [January 13, 2025, 3:30am UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434 "2025-01-13T03:30:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chrisarnoldonline](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@chrisarnoldonline](https://community.tempest.earth/u/chrisarnoldonline)
#### Post date: [January 12, 2025, 6:23pm UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/1 "2025-01-12T18:23:28Z")

</div>

For more than a year, I was getting “uv” values returned for the Better Forecast \> Current Conditions using the command down below. But just recently (maybe Jan 10 2025?), it stopped and broke my script.

Just wondering if this is on purpose? I tried looking through the API documentation, and it seems “uv” should still be supported.

`https://swd.weatherflow.com/swd/rest/better_forecast?station_id=12345&units_temp=f&units_wind=mph&units_pressure=mb&units_precip=in&units_distance=mi&token=redacted`

---

<div class="post-metadata">

### Author: ![matt6](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@matt6](https://community.tempest.earth/u/matt6)
#### Post date: [January 13, 2025, 3:30am UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/2 "2025-01-13T03:30:37Z")

</div>

I have an app that collects observation data several times a day for my station and it stopped working as of 224-01-12.

I was able to update my code to the currently documented API but I’m curious if there was an announcement that what I was using was EOL as of this date and I just missed it or what?

The whole structure of the response is different now.

I’d like not to be caught off guard again in the future.

---

<div class="post-metadata">

### Author: ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)
#### Post date: [January 13, 2025, 6:21pm UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/3 "2025-01-13T18:21:32Z")

</div>

I haven’t heard or noticed a change in the API. Can you share more details of what has changed?

---

<div class="post-metadata">

### Author: ![matt6](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@matt6](https://community.tempest.earth/u/matt6)
#### Post date: [January 13, 2025, 10:40pm UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/4 "2025-01-13T22:40:34Z")

</div>

Peter - Now that I’ve spent hours “getting it to work” it looks like nothing actually changed on the API end (or my end) - I’m left scratching my head about what broke. I have a Google Cloud Function that calls the API every 5 minutes and stores the data where a web page of mine can pull and report on the conditions and forecast and charts conditions over time. It’s been working for a year with no problems and then suddenly stopped working at midnight on Jan 12. I’m now running the same code as I was a week ago and it’s working. Ugh

---

<div class="post-metadata">

### Author: ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)
#### Post date: [January 14, 2025, 10:05am UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/5 "2025-01-14T10:05:12Z")

</div>

perhaps a change in the year caused a problem with the code you are using??

---

<div class="post-metadata">

### Author: ![chrisarnoldonline](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@chrisarnoldonline](https://community.tempest.earth/u/chrisarnoldonline)
#### Post date: [January 14, 2025, 6:39pm UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/6 "2025-01-14T18:39:33Z")

</div>

And magically on Jan 13, it started working again.

Turns out a bunch of values were not getting returned, not just “uv”.

---

<div class="post-metadata">

### Author: ![chrisarnoldonline](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@chrisarnoldonline](https://community.tempest.earth/u/chrisarnoldonline)
#### Post date: [January 14, 2025, 6:40pm UTC](https://community.tempest.earth/t/api-change-2025-01-12/26434/7 "2025-01-14T18:40:57Z")

</div>

I noticed around Jan 10 or 11 that my REST calls for Better Forecast were not returning certain values, like “uv”.

Then on Jan 13, magically it started working again.

We did nothing wrong and there seems to be silence from whomever fixed it on the Tempest side.

See my thread here:

> [@Better Forecast Calls no longer return "UV" for Current Conditions](https://community.tempest.earth/t/better-forecast-calls-no-longer-return-uv-for-current-conditions/26419):
>
> For more than a year, I was getting “uv” values returned for the Better Forecast \> Current Conditions using the command down below. But just recently (maybe Jan 10 2025?), it stopped and broke my script. Just wondering if this is on purpose? I tried looking through the API documentation, and it seems “uv” should still be supported. https://swd.weatherflow.com/swd/rest/better\_forecast?station\_id=12345&units\_temp=f&units\_wind=mph&units\_pressure=mb&units\_precip=in&units\_distance=mi&token=redacted …
