QWeather Grid Weather Now

1 credits/call
ae_qweather_grid_weather_now

Get current weather conditions for specific GPS coordinates based on numerical weather models.

Weather
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
langstringNoLanguage code.—
unitenum (m | i)NoUnit system.—
locationstringYes必填。必须传和风天气支持的 LocationID、经纬度坐标或接口明确支持的位置编码。若用户只给城市名、中文地名、景点名或模糊地址,必须先调用 qweather_geo_city_lookup 或 qweather_geo_poi_lookup 获取 LocationID 后再调用本工具,禁止猜测 location。—

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_grid_weather_now' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "lang": "zh",
    "location": "116.4074,39.9042",
    "unit": "m"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": "200",
  "fxLink": "https://www.qweather.com",
  "now": {
    "cloud": "4",
    "dew": "17",
    "feelsLike": "30",
    "humidity": "45",
    "icon": "100",
    "obsTime": "2026-09-17T06:15+00:00"
  },
  "refer": {
    "license": [
      "QWeather Developers License"
    ],
    "sources": [
      "QWeather"
    ]
  },
  "updateTime": "2026-09-17T14:00+08:00"
}

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