OpenWeatherMap · Example Payload

Air Pollution Current Example

WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIs

Air Pollution Current Example is an example object payload from OpenWeatherMap, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationrequestresponse

Example Payload

Raw ↑
{
  "operation": "getCurrentAirPollution",
  "request": {
    "method": "GET",
    "url": "https://api.openweathermap.org/data/2.5/air_pollution?lat=50.0&lon=50.0&appid={API_KEY}"
  },
  "response": {
    "coord": { "lon": 50.0, "lat": 50.0 },
    "list": [
      {
        "dt": 1748505600,
        "main": { "aqi": 1 },
        "components": {
          "co": 224.0,
          "no": 0.0,
          "no2": 0.45,
          "o3": 92.0,
          "so2": 0.83,
          "pm2_5": 5.36,
          "pm10": 7.21,
          "nh3": 0.49
        }
      }
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/air-pollution-current-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.