Grid Weather Hourly Forecast

Platform: API iOS Android

Get hourly weather forecasts at any latitude and longitude in the world, including: temperature, humidity, atmospheric pressure, weather conditions, wind direction, etc.

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

Interface code Interface Class
grid24h Hourly Forecast by Grid (24hrs)) GridHourlyResponse
grid72h Hourly Forecast by Grid (72hrs) GridHourlyResponse

Parameters

GridWeatherParameter

Name Type Required Example
longitude double true 116.41
latitude double true 39.92
lang Lang false ZH_HANS
unit Unit false METRIC

Sample code

/*
* Hourly Forecast by Grid (24hrs))
*/
public void grid24h(GridWeatherParameter parameter, Callback<GridHourlyResponse> callback);

/*
* Hourly Forecast by Grid (72hrs)
*/
public void grid72h(GridWeatherParameter parameter, Callback<GridHourlyResponse> callback);

Response

GridHourlyResponse

  • code See Status Code
  • updateTime API last update time
  • fxLink Responsive web page of this data, for embedded in website or APP
  • hourly.fxTime Forecast time
  • hourly.temp temperature
  • hourly.icon Icon code for weather conditions. See also QWeather Icons
  • hourly.text Weather conditions
  • hourly.wind360 Wind direction in azimuth degree
  • hourly.windDir Wind direction
  • hourly.windScale Wind scale
  • hourly.windSpeed Wind speed, KM/H
  • hourly.humidity Relative humidity in percent
  • hourly.precip Accumulated precipitation in the current hour
  • hourly.cloud Cloud cover in percent, may be null
  • hourly.dew Dew point temperature, may be null
  • refer.sources Data source and other statements, may be null
  • refer.license Data license, may be null