Find Stations
find_stationsFind OpenAQ air-quality monitoring stations by location: a city or place name, coordinates+radius (nearest first), a country (ISO 3166-1 alpha-2 code), or a bounding box. Returns station id, name, country, coordinates, and the pollutants each measures (with sensor ids), plus resolved_place echoing the coordinates a city name resolved to. This is the first step for a historical series: find the station here, then pass its sensor_id to get_measurements. At least one location argument is required — the tool will not return an unfiltered global list.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"city": "Delhi"
},
"name": "find_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Bounding box "minLon,minLat,maxLon,maxLat" to search within. | |
| city | No | City or place name, e.g. "Delhi", "Los Angeles", "Kraków". Geocoded to coordinates, then searched by radius. Add the country for ambiguous names ("Cambridge, UK"). | |
| limit | No | Max stations to return (1-100, default 20). | |
| _apiKey | No | OpenAQ API key (optional; the gateway supplies one). | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. "US", "IN", "GB"). | |
| latitude | No | Latitude for a radius search (use with longitude). | |
| longitude | No | Longitude for a radius search (use with latitude). | |
| radius_km | No | Radius in km for a coordinate or city search (default 12, max 25). |