QWeather Weather Now

1 credits/call
ae_qweather_weather_now

Get current weather conditions, including temperature, wind, humidity, and visibility.

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—
locationstringYesThe 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-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_qweather_weather_now' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "location": "101020100"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": "200",
  "fxLink": "https://www.qweather.com/weather/shanghai-101020100.html",
  "now": {
    "cloud": "90",
    "dew": "24",
    "feelsLike": "14",
    "humidity": "63",
    "icon": "104",
    "obsTime": "2026-11-11T20:37+08:00"
  },
  "refer": {
    "license": [
      "QWeather Developers License"
    ],
    "sources": [
      "QWeather"
    ]
  },
  "updateTime": "2026-11-11T20:47+08:00"
}

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

Guides using this tool

See how this tool fits into real workflows