Minutely Precipitation
Get minute-level precipitation forecast data every 5 minutes for the next 2 hours in China.
This data is only supported for Chinese cities.
Request URL
https://api.qweather.com/v7/minutely/5m?[params]
For Free subscription, change the API Host to devapi.qweather.com
. See data available for Free subscription.
Request Parameters
All parameters are separated by &
. If no optional parameters are set, the default value will be used.
-
location
(required)The comma-separated longitude and latitude (decimal, up to 2 decimal places) of the location to be queried. For example:location=116.41,39.92
-
key
(required)API authentication key, please refer to How To Get Your Key. Support Signature Authentication. Example:key=12334567890ABC
-
lang
Multi-language settings, only support Chinese and English for this data. The available value arelang=zh
andlang=en
Request Example
Minutely precipitation for 116.38N, 39.91E
curl -L -X GET --compressed 'https://api.qweather.com/v7/minutely/5m?location=116.38,39.91&key=YOUR_KEY'
Response
The response is in JSON format and is Gzip compressed, all fields are Strings.
{
"code": "200",
"updateTime": "2021-12-16T18:55+08:00",
"fxLink": "http://hfx.link/1",
"summary": "95分钟后雨就停了",
"minutely": [
{
"fxTime": "2021-12-16T18:55+08:00",
"precip": "0.15",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:00+08:00",
"precip": "0.23",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:05+08:00",
"precip": "0.21",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:10+08:00",
"precip": "0.17",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:15+08:00",
"precip": "0.18",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:20+08:00",
"precip": "0.24",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:25+08:00",
"precip": "0.31",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:30+08:00",
"precip": "0.37",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:35+08:00",
"precip": "0.41",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:40+08:00",
"precip": "0.43",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:45+08:00",
"precip": "0.41",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:50+08:00",
"precip": "0.36",
"type": "rain"
},
{
"fxTime": "2021-12-16T19:55+08:00",
"precip": "0.32",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:00+08:00",
"precip": "0.27",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:05+08:00",
"precip": "0.22",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:10+08:00",
"precip": "0.17",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:15+08:00",
"precip": "0.11",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:20+08:00",
"precip": "0.06",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:25+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:30+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:35+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:40+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:45+08:00",
"precip": "0.0",
"type": "rain"
},
{
"fxTime": "2021-12-16T20:50+08:00",
"precip": "0.0",
"type": "rain"
}
],
"refer": {
"sources": [
"QWeather"
],
"license": [
"commercial license"
]
}
}
-
code
API status code, please refer to Status Code -
updateTime
API last update time -
fxLink
Responsive web page of this data, for embedded in website or APP -
summary
Precipitation description -
minutely.fxTime
Forecast time -
minutely.precip
Accumulated precipitation in 10 minutes, unit is millimeter. -
minutely.type
Type of precipitation,rain
andsnow
-
refer.sources
Data source and other statements, may be null -
refer.license
Data license, may be null