分钟级降水

和风天气分钟级降水API接口提供中国地区未来2小时内每5分钟降水数据、降水类型以及未来2小时的降水概况信息。可实现精确到1公里格点的全国分钟级降雨/降雪预报,为每一分钟的降雨进行预测。

请求URL #

  • 商业版https://api.qweather.com/v7/minutely/5m?[请求参数]

请求参数 #

请求参数包括必选和可选参数,如不填写可选参数将使用其默认值,参数之间使用&进行分隔。

location

需要查询地区的以英文逗号分隔的经度,纬度坐标(十进制)。例如 location=116.41,39.92

key

用户认证key,请参考如何获取你的KEY。支持数字签名方式进行认证。例如 key=123456789ABC

lang

多语言设置,本数据仅支持中文和英文

  • zh 中文, 默认
  • en 英语

返回数据 #

// 分钟降水 
// 商业版 https://api.qweather.com/v7/minutely/5m?location=116.38999,39.9099&key=你的KEY
// 开发版 https://devapi.qweather.com/v7/minutely/5m?location=116.38999,39.9099&key=你的KEY

{
  "code": "200",
  "updateTime": "2020-08-09T16:30+08:00",
  "fxLink": "http://hfx.link/1",
  "summary": "未来两小时无降水",
  "minutely": [
    {
      "fxTime": "2020-08-09T16:30+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T16:35+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T16:40+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T16:45+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T16:50+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T16:55+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:00+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:05+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:10+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:15+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:20+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:25+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:30+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:35+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:40+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:45+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:50+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T17:55+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:00+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:05+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:10+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:15+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:20+08:00",
      "precip": "0.0",
      "type": "rain"
    },
    {
      "fxTime": "2020-08-09T18:25+08:00",
      "precip": "0.0",
      "type": "rain"
    }
  ],
  "refer": {
    "sources": [
      "Weather China"
    ],
    "license": [
      "commercial license"
    ]
  }
}
参数 描述
code

API状态码,具体含义请参考状态码

updateTime

当前API的最近更新时间

fxLink

当前数据的响应式页面,便于嵌入网站或应用

summary

分钟降水描述

minutely.fxTime

预报时间

minutely.precip

10分钟累计降水量,单位毫米

minutely.type

降水类型
rain
snow

refer.sources

原始数据来源,或数据源说明,可能为空

refer.license

数据许可或版权声明,可能为空