get-current-observations-by-reporting-area-by-lat-long
Retrieve current Air Quality Index (AQI) values and categories for a specific location using latitude and longitude. Supports multiple output formats and includes nearby reporting area data if necessary.
Instructions
Get current AQI values and categories for a reporting area by latitude and longitude.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
distance | No | If no reporting area is associated with the latitude and longitude, current observations from a nearby reporting area within this distance (in miles) will be returned, if available. 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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"distance": {
"description": "If no reporting area is associated with the latitude and longitude, current observations from a nearby reporting area within this distance (in miles) will be returned, if available. Example: 150",
"type": "string"
},
"format": {
"description": "Format of the payload file returned. Example: application/json",
"enum": [
"text/csv",
"application/json",
"application/xml"
],
"type": "string"
},
"latitude": {
"description": "Latitude in decimal degrees. Example: 38.33",
"type": "string"
},
"longitude": {
"description": "Longitude in decimal degrees. Example: -122.28",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"format"
],
"type": "object"
}