QWeather Weather Daily Forecast
1 credits/call
ae_qweather_weather_daily_forecast
Get the 3-day daily weather forecast, including temperature and conditions.
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 |
|---|---|---|---|---|
lang | string | No | Language setting. See [Language](https://dev.qweather.com/en/docs/resource/language/) for behavior, configuration, and data availability | — |
location | string | Yes | The location to be queried, support [LocationID](https://dev.qweather.com/en/docs/resource/glossary/#locationid) or comma-separated [longitude and latitude](https://dev.qweather.com/en/docs/resource/glossary/#coordinate) (decimal, up to 2 decimal places), LocationID can be obtained by [GeoAPI](https://dev.qweather.com/en/docs/api/geoapi/). Example: `location=101010100` or `location=116.41,39.92` | — |
Invocation example
Copy the request and explore its response example.
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_weather_daily_forecast' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"lang": "zh",
"location": "114.05,22.54"
}
}'Response exampleresponse.json
{
"code": "200",
"daily": [
{
"cloud": "1",
"fxDate": "2026-11-11",
"humidity": "79",
"iconDay": "101",
"iconNight": "150",
"moonPhase": "蛾眉月"
}
],
"fxLink": "https://www.qweather.com/weather/futian-101280603.html",
"refer": {
"license": [
"QWeather Developers License"
],
"sources": [
"QWeather"
]
},
"updateTime": "2026-11-11T15:11+08:00"
}This example shows part of the response. Copied content is valid JSON.
