See below for our available endpoints.
https://api.precip.ai
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.
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.
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 daily precipitation data for the given time range and location(s). Includes historical and/or forecast data depending on the time range requested.
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 hourly precipitation data for the given time range and location(s). Includes historical and/or forecast data depending on the time range requested.
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 the most recent rain event for the given location(s). How long ago and how much it rained. An event is defined as more than 1/10 inch of rain with less than a 24 hour gap.
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