> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Precip

> Hyper-local observed rainfall, snowfall, soil moisture and soil temperature for any point in the US and Canada from radar and gauges, plus minutely nowcasts and a 10-day hourly forecast.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/precip.svg?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=edff53ca392fb4599da3f69a3dd6d769)

[Web Catalog · Environment](https://docs.webrouter.net/data-apis.md?category=environment)

Needs&#x20;

`PRECIP_API_KEY`

Endpoints

9

Auth

Key in header

[Vendor docs](https://api-docs.precip.ai/overview)

&#x20;·&#x20;

[Pricing](https://precip.ai/developers)

## Setup

| Variable | | What it is |
| - | - | - |
| `PRECIP_API_KEY` | required | A Precip API key (personal keys come with any Precip app plan; commercial keys by demo). Sent as a Bearer token. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* A personal key allows 100 requests a day and one location per request; commercial keys get higher limits and comma-separated coordinate lists.
* Observed rain and snow history runs from 2019; minutely radar history from 2026-01-01. One point per request: latitude and longitude, not addresses or ZIP codes.
* Free and personal access is for non-commercial use.

## Endpoints

GET

Get a weather forecast with recent history

Hourly and daily forecast (up to 252 hours) plus observed past hours for one point.

[Open](#precip-forecast)

GET

Get daily precipitation

Observed daily precipitation, type and probability for a point and date range.

[Open](#precip-precip-daily)

GET

Get hourly precipitation

Observed hourly precipitation for a point and date range.

[Open](#precip-precip-hourly)

GET

Get minutely precipitation rate

Minute-by-minute precipitation rate, observed then nowcast for the next 60 minutes.

[Open](#precip-precip-minutely)

GET

Get precipitation over the last N hours

Total precipitation over the last 12, 24, 48 or 168 hours.

[Open](#precip-precip-last)

GET

Get the most recent rain event

Amount, rain/snow split, when it ended and how long ago, for the latest event at a point.

[Open](#precip-precip-recent-event)

GET

Get daily soil moisture

0-10 cm soil moisture as percent of holding capacity, per day.

[Open](#precip-soil-moisture-daily)

GET

Get hourly soil temperature

0-10 cm soil temperature in degrees C, per hour.

[Open](#precip-soil-temperature)

GET

Get daily snow depth

Snow depth on the ground in mm per day, from SNODAS.

[Open](#precip-snow-depth)

### Get a weather forecast with recent history

GET

`/forecast`

`precip.forecast`

Hourly and daily forecast (up to 252 hours) plus observed past hours for one point.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`latitude` required</td><td>number</td><td>query</td><td>Latitude, -90 to 90. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>number</td><td>query</td><td>Longitude, -180 to 180. Example `-93.625`</td></tr>

    <tr>
      <td>
        `forecast_hours`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Hours ahead, 1 to 252, default 168.
      </td>
    </tr>

    <tr>
      <td>
        `past_hours`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Observed hours before now, 0 to 744, default 24.
      </td>
    </tr>

    <tr><td>`temperature_unit`</td><td>string</td><td>query</td><td>Default celsius. One of `celsius`, `fahrenheit`</td></tr>
    <tr><td>`precipitation_unit`</td><td>string</td><td>query</td><td>Default mm (snowfall then in cm); inch puts all amounts in inches. One of `mm`, `inch`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone; default the location's own.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/forecast) · Same job: [US National Weather Service](https://docs.webrouter.net/data-apis/nws.md#nws-forecast-get), [Open-Meteo](https://docs.webrouter.net/data-apis/openmeteo.md#openmeteo-forecast-get), [OpenWeather](https://docs.webrouter.net/data-apis/openweather.md#openweather-forecast-get), [Tomorrow.io](https://docs.webrouter.net/data-apis/tomorrow-io.md#tomorrow-io-weather-forecast), [WeatherAPI.com](https://docs.webrouter.net/data-apis/weatherapi.md#weatherapi-forecast)

```python Python theme={null}
router.call_data_api("precip.forecast", {'latitude': 41.5868, 'longitude': -93.625})
```

```text MCP theme={null}
call_data_api(endpoint="precip.forecast", params={"latitude": 41.5868, "longitude": -93.625})
```

### Get daily precipitation

GET

`/daily`

`precip.precip.daily`

Observed daily precipitation, type and probability for a point and date range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Example `2026-10-01`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>End, same format. Example `2026-10-31`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/precipitation-data)

```python Python theme={null}
router.call_data_api("precip.precip.daily", {'start': '2026-10-01', 'end': '2026-10-31', 'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.precip.daily", params={"start": "2026-10-01", "end": "2026-10-31", "latitude": "41.5868", "longitude": "-93.625"})
```

### Get hourly precipitation

GET

`/hourly`

`precip.precip.hourly`

Observed hourly precipitation for a point and date range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Example `2026-10-01`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>End, same format. Example `2026-10-31`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/precipitation-data)

```python Python theme={null}
router.call_data_api("precip.precip.hourly", {'start': '2026-10-01', 'end': '2026-10-31', 'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.precip.hourly", params={"start": "2026-10-01", "end": "2026-10-31", "latitude": "41.5868", "longitude": "-93.625"})
```

### Get minutely precipitation rate

GET

`/minutely`

`precip.precip.minutely`

Minute-by-minute precipitation rate, observed then nowcast for the next 60 minutes.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `start`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Date, datetime or relative (now-1h); default now-1h.
      </td>
    </tr>

    <tr>
      <td>
        `end`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Date, datetime or relative (now+1h); default now+1h; at most 7 days after start.
      </td>
    </tr>

    <tr><td>`units`</td><td>string</td><td>query</td><td>metric gives mm/h, imperial in/h; default metric. One of `metric`, `imperial`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/precipitation-data)

```python Python theme={null}
router.call_data_api("precip.precip.minutely", {'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.precip.minutely", params={"latitude": "41.5868", "longitude": "-93.625"})
```

> [!NOTE]
>
> * source on each row says observation, nowcast or forecast.

### Get precipitation over the last N hours

GET

`/last-{hours}`

`precip.precip.last`

Total precipitation over the last 12, 24, 48 or 168 hours.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`hours` required</td><td>string</td><td>path</td><td>Look-back window in hours. One of `12`, `24`, `48`, `168`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/precipitation-data)

### Get the most recent rain event

GET

`/recent-rain`

`precip.precip.recent_event`

Amount, rain/snow split, when it ended and how long ago, for the latest event at a point.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/precipitation-data)

```python Python theme={null}
router.call_data_api("precip.precip.recent_event", {'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.precip.recent_event", params={"latitude": "41.5868", "longitude": "-93.625"})
```

### Get daily soil moisture

GET

`/soil-moisture-daily`

`precip.soil.moisture_daily`

0-10 cm soil moisture as percent of holding capacity, per day.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Example `2026-10-01`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>End, same format. Example `2026-10-31`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/soil-data)

```python Python theme={null}
router.call_data_api("precip.soil.moisture_daily", {'start': '2026-10-01', 'end': '2026-10-31', 'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.soil.moisture_daily", params={"start": "2026-10-01", "end": "2026-10-31", "latitude": "41.5868", "longitude": "-93.625"})
```

### Get hourly soil temperature

GET

`/temp-0-10cm-hourly`

`precip.soil.temperature`

0-10 cm soil temperature in degrees C, per hour.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Example `2026-10-01`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>End, same format. Example `2026-10-31`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/soil-data)

```python Python theme={null}
router.call_data_api("precip.soil.temperature", {'start': '2026-10-01', 'end': '2026-10-31', 'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.soil.temperature", params={"start": "2026-10-01", "end": "2026-10-31", "latitude": "41.5868", "longitude": "-93.625"})
```

### Get daily snow depth

GET

`/snow-depth-daily`

`precip.snow.depth`

Snow depth on the ground in mm per day, from SNODAS.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Example `2026-10-01`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>End, same format. Example `2026-10-31`</td></tr>
    <tr><td>`latitude` required</td><td>string</td><td>query</td><td>WGS84 latitude; a comma-separated list only with a commercial key. Example `41.5868`</td></tr>
    <tr><td>`longitude` required</td><td>string</td><td>query</td><td>WGS84 longitude; a comma-separated list only with a commercial key. Example `-93.625`</td></tr>

    <tr>
      <td>
        `timeZoneId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for timestamps and day boundaries, default America/Chicago.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>Output format, default json. One of `json`, `geojson`, `csv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.precip.ai/api/soil-data)

```python Python theme={null}
router.call_data_api("precip.snow.depth", {'start': '2026-10-01', 'end': '2026-10-31', 'latitude': '41.5868', 'longitude': '-93.625'})
```

```text MCP theme={null}
call_data_api(endpoint="precip.snow.depth", params={"start": "2026-10-01", "end": "2026-10-31", "latitude": "41.5868", "longitude": "-93.625"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.