Grid Weather Real-time

Get high-precision real-time weather at any latitude and longitude around the world.

The spatial resolution is 1x1, 3x3 or 5x5 KM, depending on the region.

Request URL

  • Prohttps://api.qweather.com/v7/grid-weather/now?[params]

Request parameters

All parameters are separated by &. If no optional parameters are set, the default value will be used.

location

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

API authentication key, please refer to How To Get Your Key. Support Signature Authentication.

For example: key=12334567890ABC

lang

Multi-language setting, if data does not match the language you set, it will return results in English or its native language.

unit

Select weather data unit, for unit parameters of all data, please refer Unit

  • m metric unit, default
  • i imperial unit

Response

// Real-time weather in 116.41,39.92
// Pro: https://api.qweather.com/v7/grid-weather/now?location=116.41,39.92&lang=en&key=YOUR_KEY

{
  "code": "200",
  "updateTime": "2021-12-16T18:27+08:00",
  "fxLink": "http://hfx.link/1",
  "now": {
    "obsTime": "2021-12-16T10:00+00:00",
    "temp": "-1",
    "icon": "150",
    "text": "Clear",
    "wind360": "287",
    "windDir": "NW",
    "windScale": "2",
    "windSpeed": "10",
    "humidity": "27",
    "precip": "0.0",
    "pressure": "1021",
    "cloud": "0",
    "dew": "-17"
  },
  "refer": {
    "sources": [
      "QWeather"
    ],
    "license": [
      "commercial license"
    ]
  }
}
Parameters Description
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

now.obsTime

Observation time

now.temp

temperature

now.icon

Icon code of weather conditions, free to download weather icons

now.text

Weather conditions

now.wind360

Wind direction in azimuth degree

now.windDir

Wind direction

now.windScale

Wind scale

now.windSpeed

Wind speed, KM/H

now.humidity

Relative humidity in percent

now.precip

Accumulated precipitation in the current hour

now.pressure

Atmospheric pressure, hPa

now.cloud

Cloud cover in percent, may be null

now.dew

Dew point temperature, may be null

refer.sources

Data source and other statements, may be null

refer.license

Data license, may be null