QWeather Warning Weather Alert
From 1 credits/call
ae_qweather_warning_weather_alert
Get official severe weather alerts for a specific location.
From 1 credits/call
Pricing
From 1 credits/call
| Time display | Charge |
|---|---|
| UTC / Not specified | 1 credits/call |
| Local time | 2 credits/call |
Starting price applies to Time display: UTC.
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 | — |
latitude | number | Yes | Latitude of the requested location in decimal degrees | — |
localTime | boolean | No | Whether to return local time for the requested location Possible values: `false` UTC time (default), `true` location's local time | false |
longitude | number | Yes | Longitude of the requested location in decimal degrees | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
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_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.
