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.aiEndpoints for retrieving precipitation measurements and forecasts
Endpoints for soil moisture and temperature data
Endpoints for hourly atmospheric variables: temperature, humidity, wind, clouds
Map tile and visualization services
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
Daily soil moisture percentage relative to holding capacity 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.
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 moisture percentage relative to holding capacity 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.
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 in Celsius (°C)
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
Hourly near-surface air temperature in Celsius (°C)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly specific humidity (kg/kg)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly relative humidity as a percentage (0-100%)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly near-surface wind speed in meters per second (m/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.
start
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly wind gust speed in meters per second (m/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.
start
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly wind direction in compass degrees (0-360)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly cloud cover fraction (0-1, where 0 is clear and 1 is overcast)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
format
Output format: geojson, json or csv
1
Hourly downward short-wave radiation flux in watts per square meter (W/m²)
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
Start date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
end
End date/time in ISO 8601 format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
longitude
Comma-separated list of longitude coordinates (WGS84)
latitude
Comma-separated list of latitude coordinates (WGS84)
timeZoneId
IANA timezone identifier for localizing timestamps
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
Returns a complete, HTML page displaying comprehensive weather data for a specific location. See the examples page for more details.
Authorization headers set automatically from query parameters on this endpoint.
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 (-90 to 90) for the location center of the precipitation widget
lon
Longitude coordinate (-180 to 180) for the location center of the precipitation widget
apiKey
Your API key for authentication. Gets automatically applied as header.
units
Unit system for displaying precipitation amounts and temperatures. 'metric' shows mm and °C, 'imperial' shows inches and °F.
metric
imperial
widgets
Comma-separated list of widget keys to display.
Available options:
current, event, calendar, cumulative, total, precip, table, wind, temp, soiltemp, soilmoisture, snow
When not provided, shows all widgets.
1
Model Context Protocol server endpoint for AI tool integration
1