Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

World Air Quality Index (WAQI) Search API

Search for monitoring stations by keyword

World Air Quality Index (WAQI) Search API is one of 3 APIs that World Air Quality Index (WAQI) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.waqi.info.

1 operations 1 paths 4 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.waqi.info
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

World Air Quality Index (WAQI) Search API declares 1 security scheme for authenticating requests. An API key is passed in the query as token (tokenAuth). By default, every request must be authenticated.

  • tokenAuth — API token obtained from the Air Quality Open Data Platform at https://aqicn.org/data-platform/token/

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Search 1

Search for monitoring stations by keyword

GET
/search/
Search for monitoring stations by keyword
searchStations 2 params → 200400401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are SearchResult (4 properties), StationInfo (4 properties), ErrorResponse (2 properties), SearchResponse (2 properties). Each schema is shown below with its type and property counts.

StationInfo
object
Information about a monitoring station
4 properties 3 required
SearchResponse
object
Response from the station search endpoint
2 properties 2 required
ErrorResponse
object
Error response returned when a request fails
2 properties 2 required
SearchResult
object
A single monitoring station search result
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

waqi-search-api-openapi.yml Raw ↑

Other APIs World Air Quality Index (WAQI) publishes across the network.

World Air Quality Index (WAQI) Feed API
World Air Quality Index (WAQI) Map API