Grid Weather Real-time

Platform: API iOS Android

Weather forecast data based on numerical models, to provide current weather data at specified coordinates around the world, with a spatial resolution of 3-5 kilometers.

Hint: The grid weather data is based on Numerical Weather Prediction (NWP) models, and it is not suitable for comparison with observation station data. For station-based city weather data, please refer to the City Weather API. Grid weather uses UTC+0 as the time zone.

Interface code Interface Class
gridNow Grid Weather Real-time GridNowResponse

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

public void gridNow(GridWeatherParameter parameter, Callback<GridNowResponse> callback);

Response

GridNowResponse

  • code See 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 for weather conditions. See also QWeather 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 last 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