Solar Radiation

Platform: API

Get the net solar radiation, diffuse solar radiation and direct solar radiation for any coordinate position in the world.

Request URL

Hourly Forecast (24hrs)
https://api.qweather.com/v7/solar-radiation/24h
Hourly Forecast (72hrs)
https://api.qweather.com/v7/solar-radiation/72h

Note: Hourly Forecast (72hrs) may be missing the last few hours data under some conditions.

Request Parameters

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

  • location(required)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

Request Example

curl -X GET --compressed \
-H 'Authorization: Bearer your_token' \
'https://api.qweather.com/v7/solar-radiation/24h?location=116.41,39.92'

Replace your_token with your JWT or learn more about Authentication

Response

This data is refers to the downward solar short-wave radiation at the surface, and unit in W/m2

  • code See Status Code
  • updateTime API last update time
  • radiation.fxTime Hourly forecast time
  • radiation.net Net surface solar radiation, W/m2
  • radiation.diffuse Diffuse solar radiation, W/m2
  • radiation.direct Direct solar radiation, W/m2
  • refer.sources Data source and other statements, may be null
  • refer.license Data license, may be null