Solar Radiation
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?[params]
Hourly Forecast (72hrs)https://api.qweather.com/v7/solar-radiation/72h?[params]
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.
-
key
(required)API authentication key, please refer to How To Get Your Key. Support Signature Authentication. Example:key=12334567890ABC
-
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
Forecast for the next 24 hours at 116.41,39.92
curl -L -X GET --compressed 'https://api.qweather.com/v7/solar-radiation/24h?location=116.41,39.92&key=YOUR_KEY'
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