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.

Weather
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
datestringYesDate in yyyyMMdd format, limited to the most recent 10 days.—
langstringNoLanguage code.—
locationstringYesLocationID only. Historical APIs do not support free-form coordinates here.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

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_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.