Skip to content

Live Data API

Get irradiance weather and power estimated actuals for near real-time and past 7 days for the requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data).


The module LiveClient has the following available methods:

Endpoint Purpose API Docs
GetRadiationAndWeather Get irradiance and weather estimated actuals for near real-time and past 7 days for the requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). details
GetRooftopPvPower Get basic rooftop PV power estimated actuals for near real-time and past 7 days for the requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). The basic rooftop power simulation is only suitable for residential and smaller C&I rooftop sites, not for grid-scale sites. Attention hobbyist users If you have a hobbyist user account please use the Rooftop Sites (Hobbyist) endpoints. details
GetAdvancedPvPower Get high spec PV power estimated actuals for near real-time and past 7 days for the requested site, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). details

GetRadiationAndWeather

Parameters: latitude, longitude, hours, period, tilt, azimuth, arrayType, outputParameters, terrainShading, format

Example Usage:

using Solcast.Clients;

var liveClient = new LiveClient();
var response = await liveClient.GetRadiationAndWeather(
    latitude: -33.856784,
    longitude: 151.215297,
    period: "PT30M",
    tilt: 30.0f,
    azimuth: 180.0f,
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

air_temp dni ghi period_end period
21 0 80 2024-11-13T06:00:00Z PT30M
21 0 97 2024-11-13T05:30:00Z PT30M
... ... ... ... ...
20 0 97 2024-11-11T06:30:00Z PT30M
20 0 88 2024-11-11T06:00:00Z PT30M

GetRooftopPvPower

Parameters: latitude, longitude, capacity, hours, period, tilt, azimuth, installDate, lossFactor, outputParameters, terrainShading, format

Example Usage:

using Solcast.Clients;

var liveClient = new LiveClient();
var response = await liveClient.GetRooftopPvPower(
    latitude: -33.856784,
    longitude: 151.215297,
    capacity: 5.0f,
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

pv_power_rooftop period_end period
0.244 2024-11-13T06:00:00Z PT30M
0.32 2024-11-13T05:30:00Z PT30M
... ... ...
0.32 2024-11-11T06:30:00Z PT30M
0.279 2024-11-11T06:00:00Z PT30M

GetAdvancedPvPower

Parameters: resourceId, hours, outputParameters, period, applyAvailability, applyConstraint, applyDustSoiling, applySnowSoiling, applyTrackerInactive, terrainShading, format

Example Usage:

using Solcast.Clients;

var liveClient = new LiveClient();
var response = await liveClient.GetAdvancedPvPower(
    resourceId: "ba75-e17a-7374-95ed",
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

pv_power_advanced period_end period
0.857 2024-11-13T06:00:00Z PT30M
1.093 2024-11-13T05:30:00Z PT30M
... ... ...
2.141 2024-11-06T06:30:00Z PT30M
2.7 2024-11-06T06:00:00Z PT30M