Grid Weather Daily Forecast
Get daily weather forecasts at any latitude and longitude in the world, including: temperature, humidity, atmospheric pressure, weather conditions, wind, wind direction, etc.
The spatial resolution is 1x1, 3x3 or 5x5 KM, depending on the region.
Request URL
3 Days Forecast by Grid
-
Pro
https://api.qweather.com/v7/grid-weather/3d?[params]
7 Days Forecast by Grid
-
Pro
https://api.qweather.com/v7/grid-weather/7d?[params]
Request Parameters
All parameters are separated by &
. If no optional parameters are set, the default value will be used.
key
API authentication key, please refer to How To Get Your Key. Support Signature Authentication.
For example: key=12334567890ABC
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
lang
Multi-language setting, if data does not match the language you set, it will return results in English or its native language.
zh
Chinese, defaulten
Englishfr
Frenches
Spanishja
Japaneseko
Korean- See more language code
unit
Select weather data unit, for unit parameters of all data, please refer Unit
m
metric unit, defaulti
imperial unit
Response
// Daily forecast weather in 116.41,39.92
// Pro: https://api.qweather.com/v7/grid-weather/3d?location=116.41,39.92&lang=en&key=YOUR_KEY
{
"code": "200",
"updateTime": "2021-12-16T18:30+08:00",
"fxLink": "http://hfx.link/1",
"daily": [
{
"fxDate": "2021-12-16",
"tempMax": "2",
"tempMin": "-7",
"iconDay": "104",
"iconNight": "154",
"textDay": "Overcast",
"textNight": "Overcast",
"wind360Day": "344",
"windDirDay": "NW",
"windScaleDay": "4-5",
"windSpeedDay": "9",
"wind360Night": "304",
"windDirNight": "NW",
"windScaleNight": "4-5",
"windSpeedNight": "6",
"humidity": "36",
"precip": "0.0",
"pressure": "1026"
},
{
"fxDate": "2021-12-17",
"tempMax": "-1",
"tempMin": "-8",
"iconDay": "104",
"iconNight": "154",
"textDay": "Overcast",
"textNight": "Overcast",
"wind360Day": "28",
"windDirDay": "NE",
"windScaleDay": "5-6",
"windSpeedDay": "15",
"wind360Night": "55",
"windDirNight": "NE",
"windScaleNight": "4-5",
"windSpeedNight": "7",
"humidity": "44",
"precip": "0.0",
"pressure": "1028"
},
{
"fxDate": "2021-12-18",
"tempMax": "4",
"tempMin": "-8",
"iconDay": "100",
"iconNight": "150",
"textDay": "Sunny",
"textNight": "Sunny",
"wind360Day": "10",
"windDirDay": "N",
"windScaleDay": "5-6",
"windSpeedDay": "17",
"wind360Night": "48",
"windDirNight": "NE",
"windScaleNight": "3-4",
"windSpeedNight": "5",
"humidity": "61",
"precip": "0.0",
"pressure": "1016"
}
],
"refer": {
"sources": [
"QWeather"
],
"license": [
"commercial license"
]
}
}
Parameters | Description |
---|---|
code |
API status code, please refer to Status Code |
updateTime |
|
fxLink |
Responsive web page of this data, for embedded in website or APP |
daily.fxDate |
Forecast date |
daily.tempMax |
The highest temperature of the day |
daily.tempMin |
The lowest temperature of the day |
daily.iconDay |
Icon code for daytime weather conditions, free to download weather icons |
daily.textDay |
Weather conditions for daytime |
daily.iconNight |
Icon codes for night weather conditions, free to download weather icons |
daily.textNight |
Weather conditions for night |
daily.wind360Day |
Daytime wind direction in azimuth degree |
daily.windDirDay |
Daytime wind direction |
daily.windScaleDay |
Daytime wind scale |
daily.windSpeedDay |
Daytime wind speed, KM/H |
daily.wind360Night |
Nightly wind direction in azimuth degree |
daily.windDirNight |
Nightly Wind direction |
daily.windScaleNight |
Nightly wind scale |
daily.windSpeedNight |
Nightly wind speed, KM/H |
daily.precip |
Estimated total precipitation for the day |
daily.humidity |
Relative humidity in percent |
daily.pressure |
Atmospheric pressure, hPa |
refer.sources |
Data source and other statements, may be null |
refer.license |
Data license, may be null |