QWeather Time Machine Air
1 credits/call
ae_qweather_time_machine_air
Retrieve historical hourly air quality data, such as AQI and pollutant levels, for the past 10 days.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
date | string | Yes | Date in yyyyMMdd format, limited to the most recent 10 days. | — |
lang | string | No | Language code. | — |
location | string | Yes | LocationID only. Historical APIs do not support free-form coordinates here. | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_qweather_time_machine_air' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"date": "xxx",
"location": "xxx"
}
}'No response example available yet.
