Common API Queries

The following list provides common API queries based on particular industries and/or applications.

Note: You will need to append your client credentials to the URLs provided below (e.g. &client_id=[ID]&client_secret=[SECRET]), which can be found under the Apps section of the members area. For queries that rely on specific date ranges, replace the [START_DATE] and [END_DATE] variables in the URLs below with a valid date string.

All
Agriculture
Digital Marketing
Energy & Utilities
Mobile Apps
Smart Home
Transportation & Logistics

https://api.aerisapi.com/airquality/beijing,cn?filter=china&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/airquality/closest?p=beijing,cn&limit=10&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/airquality/forecasts/dallas,texas?&from=[START_DATE]&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=168&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.windDir80m,periods.windSpeedMax80mMPH,periods.windSpeedMax80mKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.dewpointF,periods.dewpointC,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.comhttps://api.aerisapi.com/observations/archive/31.43799,121.186?&from=[START_DATE]&filter=allstations&limit=1&plimit=50&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/archive/minneapolis,mn?filter=allstations&query=temp:!NULL,rh:!NULL,wind:!NULL,dewpt:!NULL,pressure:!NULL&limit=3&from=[START_DATE]&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=[START_DATE]&to=[END_DATE]&plimit=30&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=[START_DATE]&to=[END_DATE}&plimit=30&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=-3days&plimit=4&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/minneapolis,mn?filter=allstations,hasprecip,interp&query=temp:!NULL,rh:!NULL,wind:!NULL,dewpt:!NULL,pressure:!NULL&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/39.630661,-105.709282?query=temp:!NULL,wind:!NULL,pressure:!NULL,winddir:!NULL&filter=allstations,hasprecip&fields=id,loc,relativeTo.distanceMI,ob.dateTimeISO,ob.weather,ob.tempF,ob.precipIN,ob.windSpeedMPH,ob.windDir,ob.pressureIN,ob.sunriseISO,ob.sunsetISO&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/precip/summary/minneapolis,mn?from=-3days&plimit=4&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/stormreports/search?query=state:pa,detail:1:2&filter=hail&from=[START_DATE]&limit=100&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/stormcells/summary?filter=geo&format=geojson&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=168&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=[START_DATE]&to=[END_DATE]&plimit=30&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=[START_DATE]&to=[END_DATE}&plimit=30&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/minneapolis,mn?filter=allstations,hasprecip,interp&query=temp:!NULL,rh:!NULL,wind:!NULL,dewpt:!NULL,pressure:!NULL&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.windDir80m,periods.windSpeedMax80mMPH,periods.windSpeedMax80mKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/archive/minneapolis,mn?filter=allstations&query=temp:!NULL,rh:!NULL,wind:!NULL,dewpt:!NULL,pressure:!NULL&limit=3&from=[START_DATE]&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/39.630661,-105.709282?query=temp:!NULL,wind:!NULL,pressure:!NULL,winddir:!NULL&filter=allstations,hasprecip&fields=id,loc,relativeTo.distanceMI,ob.dateTimeISO,ob.weather,ob.tempF,ob.precipIN,ob.windSpeedMPH,ob.windDir,ob.pressureIN,ob.sunriseISO,ob.sunsetISO&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/airquality/beijing,cn?filter=china&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/airquality/closest?p=beijing,cn&limit=10&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.sky,periods.solradWM2,periods.dewpointF,periods.dewpointC,periods.windDir,periods.windSpeedMaxMPH,periods.windSpeedMaxKPH,periods.weather&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/observations/summary/minneapolis,mn?from=-3days&plimit=4&limit=3&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/precip/summary/minneapolis,mn?from=-3days&plimit=4&client_id=[ID]&client_secret=[SECRET]

https://api.aerisapi.com/forecasts/minneapolis,mn?filter=1hr&limit=72&fields=periods.dateTimeISO,periods.maxTempF,periods.maxTempC,periods.pop,periods.precipIN,periods.precipMM,periods.humidity,periods.dewpointF,periods.dewpointC,periods.weather&client_id=[ID]&client_secret=[SECRET]

Last modified: January 02, 2020