An API for accessing extremely accurate precipitation, soil moisture, and weather data. Provides historical observations and forecasts with flexible geographic and temporal querying capabilities.
https://api.precip.ai
Endpoints for retrieving precipitation measurements and forecasts
Map tile and visualization services
Endpoints for soil moisture and temperature data
Embeddable UI components for web integration
Returns comprehensive daily precipitation data for the given time range and location(s). Each day includes precipitation amount, type (rain/snow/mixed), probability (for forecasts), and data source. Seamlessly combines historical observations with forecast data depending on the requested time range.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
end
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
longitude
comma separated list of longitudes
latitude
comma separated list of latitudes
timeZoneId
IANA timezone identifier e.g. America/Chicago
format
Output format: geojson
, json
or csv
1
Returns comprehensive hourly precipitation data for the given time range and location(s). Each hour includes precipitation amount, type (rain/snow/mixed), probability (for forecasts), and data source. Seamlessly combines historical observations with forecast data depending on the requested time range.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
end
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
longitude
comma separated list of longitudes
latitude
comma separated list of latitudes
timeZoneId
IANA timezone identifier e.g. America/Chicago
format
Output format: geojson
, json
or csv
1
Total precipitation in the last 48 hours for the given location(s).
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
longitude
comma separated list of longitudes
latitude
comma separated list of latitudes
timeZoneId
IANA timezone identifier e.g. America/Chicago
format
Output format: geojson
, json
or csv
1
Returns detailed information about the most recent precipitation event for the given location(s), including total amounts, precipitation type (rain/snow), timing, and how long ago it occurred. A rain event is defined as more than 1/10 inch (2.5mm) of precipitation with less than a 24-hour gap between occurrences.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
longitude
comma separated list of longitudes
latitude
comma separated list of latitudes
timeZoneId
IANA timezone identifier e.g. America/Chicago
format
Output format: geojson
, json
or csv
1
Image Service compatible with Esri products. This url eg https://api.precip.ai/api/v1/map/last-48/ImageServer
can be added to ArcGIS Online, ArcGIS Pro or QGIS to load raster tiles for the last 48 hours of precipitation data.
serviceName
The layer or service name.
last-48
- total precipitation in the last 48 hourshourly
- total hourly precipitationwind-speed-hourly
- average hourly wind speedwind-direction-hourly
- average hourly wind directiontemperature-hourly
- average hourly temperature1
Map tiles compatible with most web mapping or GIS tools. Software such as Mapbox, Google Maps, ArcGIS, Leaflet, OpenLayers or QGIS will require an x/y/z
url eg https://api.precip.ai/api/v1/map/last-48/ImageServer/tile/{z}/{y}/{x}
. See the examples for more details.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
time
<start timestamp>,<end timestamp>
serviceName
The layer or service name.
last-48
- total precipitation in the last 48 hourshourly
- total hourly precipitationwind-speed-hourly
- average hourly wind speedwind-direction-hourly
- average hourly wind directiontemperature-hourly
- average hourly temperaturex
map tile id x
y
map tile id y
z
map tile id z
1
Query value of map tiles at point(s).
geometry
points to query
geometryType
time
<start timestamp>,<end timestamp>
serviceName
The layer or service name.
last-48
- total precipitation in the last 48 hourshourly
- total hourly precipitationwind-speed-hourly
- average hourly wind speedwind-direction-hourly
- average hourly wind directiontemperature-hourly
- average hourly temperature1
The soil moisture percentage relative to holding capacity
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
end
ISO 8601 date %Y-%m-%d
or datetime %Y-%m-%dT%H:%M:%S
longitude
comma separated list of longitudes
latitude
comma separated list of latitudes
timeZoneId
IANA timezone identifier e.g. America/Chicago
format
Output format: geojson
, json
or csv
1
Hourly soil temperature data at 0-10cm depth
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
Returns UI for a specific location that can be embedded in web applications.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
lat
Latitude coordinate for the location
lon
Longitude coordinate for the location
units
Units for displaying measurements (metric or imperial)
metric
imperial
1
Model Context Protocol server endpoint for AI tool integration
1