Map tile and visualization services
Esri Image Server Integration
Image Service compatible with Esri products. This url eg https://api.precip.ai/api/v1/map/last-48/ImageServer (or last-12, last-24, last-168) can be added to ArcGIS Online, ArcGIS Pro or QGIS to load raster tiles. ArcGIS cannot send custom headers; use the apiKey query parameter instead of Authorization header, e.g. .../ImageServer?f=json&apiKey=YOUR_API_KEY.
path Parameters
serviceNameThe layer or service name.
last-12- total precipitation in the last 12 hourslast-24- total precipitation in the last 24 hourslast-48- total precipitation in the last 48 hourslast-168- total precipitation in the last 168 hours (7 days)hourly- total hourly precipitationwind-speed-hourly- average hourly wind speedwind-direction-hourly- average hourly wind directiontemperature-hourly- average hourly temperature
query Parameters
apiKeyAPI key as query parameter. Use for ArcGIS and other clients that cannot send Authorization headers.
Headers
AuthorizationAPI key as Bearer token. Use this or the apiKey query parameter (required for ArcGIS).
Esri Image Server Integration › Responses
Successful Response
Map Layer Tiles
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} (or use last-12, last-24, last-168 for other windows). See the examples for more details.
path Parameters
serviceNameThe layer or service name.
last-12- total precipitation in the last 12 hourslast-24- total precipitation in the last 24 hourslast-48- total precipitation in the last 48 hourslast-168- total precipitation in the last 168 hours (7 days)hourly- total hourly precipitationwind-speed-hourly- average hourly wind speedwind-direction-hourly- average hourly wind directiontemperature-hourly- average hourly temperature
xmap tile id x
ymap tile id y
zmap tile id z
query Parameters
apiKeyAPI key as query parameter for ArcGIS and other clients that cannot send headers.
timeHeaders
AuthorizationAPI key as Bearer token. Use this or the apiKey query parameter (required for ArcGIS).
Map Layer Tiles › Responses
Successful Response
Query
Query value of map tiles at point(s).
path Parameters
serviceNameThe layer or service name.
last-12- total precipitation in the last 12 hourslast-24- total precipitation in the last 24 hourslast-48- total precipitation in the last 48 hourslast-168- total precipitation in the last 168 hours (7 days)hourly- total hourly precipitationwind-speed-hourly- average hourly wind speedwind-direction-hourly- average hourly wind directiontemperature-hourly- average hourly temperature
query Parameters
points to query
geometryTypeapiKeyAPI key as query parameter for ArcGIS and other clients that cannot send headers.
timeHeaders
AuthorizationAPI key as Bearer token. Use this or the apiKey query parameter (required for ArcGIS).