get-forecast-by-lat-long
Retrieve current or historical air quality index (AQI) forecasts for any location using latitude and longitude. Supports multiple output formats including JSON, CSV, and XML.
Instructions
Get current or historical forecasted AQI values and categories for a reporting area by latitude and longitude.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | No | Date of forecast. Format: YYYY-MM-DD. Example: 2012-02-01 | |
distance | No | Return a forecast from a nearby reporting area within this distance (in miles). Example: 150 | |
format | Yes | Format of the payload file returned. Example: application/json | |
latitude | Yes | Latitude in decimal degrees. Example: 38.33 | |
longitude | Yes | Longitude in decimal degrees. Example: -122.28 |