# API questions re: rain measurements

**URL:** <https://community.tempest.earth/t/api-questions-re-rain-measurements/27969>\
**Category:** Third-Party Integrations\
**Tags:** tempest\
**Created:** [November 30, 2025, 8:56pm UTC](https://community.tempest.earth/t/api-questions-re-rain-measurements/27969 "2025-11-30T20:56:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 1, 2025, 2:20pm UTC](https://community.tempest.earth/t/api-questions-re-rain-measurements/27969/2 "2025-12-01T14:20:31Z")

</div>

Based on my understanding and experience:

> [@vinceskahan](#):
>
> My reading is that index 12 is rain in that reporting period (one obs\_st period from the hub).

Correct

> [@vinceskahan](#):
>
> Index 19 (Websocket) and 18 (REST) seem to be rain for that date in total - correct ?

Not quite. This is the same as index 12 but after NearCast calibrations have been applied

> [@vinceskahan](#):
>
> What is the difference between items 19/20 (Websocket) or between items 18/19 (REST) ?

20 (websocket) is the post-NearCast corrected total daily rain accumulation. Same with 18 (REST)

Rain in the API is currently sub-optimal, however. There is no way to access raw values that haven’t been NearCast corrected. See [Changes to precipitation API - Developers - The Tempest Weather Community](https://community.tempest.earth/t/changes-to-precipitation-api/27650)

---

_[View the full topic](https://community.tempest.earth/t/api-questions-re-rain-measurements/27969)._
