QWeather Air Station

1 credits/call
ae_qweather_air_station

Retrieve real-time pollutant data from a specific air quality monitoring station.

Weather
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
langstringNoLanguage setting. See [Language](https://dev.qweather.com/en/docs/resource/language/) for behavior, configuration, and data availability—
LocationIDstringYesLocationID of the air-quality monitoring station, obtained from GeoAPI. Example: `P58911`.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_qweather_air_station' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "LocationID": "P58911"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "metadata": {
    "attributions": [
      "https://developer.qweather.com/attribution.html"
    ],
    "tag": "fe6f79b9e2c76d3a379de0525631cd4b317e0ded5fa9a9e8a14b6745cf8d8ab4",
    "zeroResult": false
  },
  "pollutants": [
    {
      "code": "pm2p5",
      "concentration": {
        "unit": "μg/m³",
        "value": 59.0
      },
      "fullName": "颗粒物(粒径小于等于2.5µm)",
      "name": "PM 2.5"
    }
  ]
}

This example shows part of the response. Copied content is valid JSON.