QWeather Warning Weather Alert

From 1 credits/call
ae_qweather_warning_weather_alert

Get official severe weather alerts for a specific location.

Weather
From 1 credits/call

Pricing

From 1 credits/call
Time displayCharge
UTC / Not specified1 credits/call
Local time2 credits/call

Starting price applies to Time display: UTC.

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—
latitudenumberYesLatitude of the requested location in decimal degrees—
localTimebooleanNoWhether to return local time for the requested location Possible values: `false` UTC time (default), `true` location's local time false
longitudenumberYesLongitude of the requested location in decimal degrees—

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_warning_weather_alert' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "latitude": 39.92,
    "longitude": 116.41
  }
}'

No response example available yet.