Skip to content

Historic Data API

Historical irradiance, weather and power data, from 2007 to 7 days ago at 1-2 km and 5 minutes resolution.


The module HistoricClient has the following available methods:

Endpoint Purpose API Docs
GetRadiationAndWeather Get historical irradiance and weather estimated actuals for up to 31 days of data at a time for a requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). Data is available from 2007-01-01T00:00Z up to real-time estimated actuals. details
GetRooftopPvPower Get historical basic rooftop PV power estimated actuals for the requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). Attention hobbyist users If you have a hobbyist user account please use the Rooftop Sites (Hobbyist) endpoints. details
GetAdvancedPvPower Get historical advanced PV power estimated actuals for the requested location, derived from satellite (clouds and irradiance over non-polar continental areas) and numerical weather models (other data). details

GetRadiationAndWeather

Parameters: start, latitude, longitude, end, duration, timeZone, period, tilt, azimuth, arrayType, outputParameters, terrainShading, format

Example Usage:

using Solcast.Clients;

var historicClient = new HistoricClient();
var response = await historicClient.GetRadiationAndWeather(
    start: "2024-06-01T06:00",
    latitude: -33.856784,
    longitude: 151.215297,
    end: "2024-07-01T06:00",
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

air_temp dni ghi period_end period
15 0 5 2024-06-01T06:30:00+00:00 PT30M
15 0 1 2024-06-01T07:00:00+00:00 PT30M
... ... ... ... ...
13 23 112 2024-07-01T05:30:00+00:00 PT30M
13 0 70 2024-07-01T06:00:00+00:00 PT30M

GetRooftopPvPower

Parameters: start, latitude, longitude, capacity, end, duration, timeZone, period, tilt, azimuth, installDate, lossFactor, outputParameters, terrainShading, format

Example Usage:

using Solcast.Clients;

var historicClient = new HistoricClient();
var response = await historicClient.GetRooftopPvPower(
    start: "2024-06-01T06:00",
    latitude: -33.856784,
    longitude: 151.215297,
    capacity: 5.0f,
    end: "2024-07-01T06:00",
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

pv_power_rooftop period_end period
0 2024-06-01T06:30:00+00:00 PT30M
0 2024-06-01T07:00:00+00:00 PT30M
... ... ...
0.439 2024-07-01T05:30:00+00:00 PT30M
0.212 2024-07-01T06:00:00+00:00 PT30M

GetAdvancedPvPower

Parameters: start, resourceId, end, duration, timeZone, outputParameters, period, applyAvailability, applyConstraint, applyDustSoiling, applySnowSoiling, applyTrackerInactive, terrainShading, format

Example Usage:

using Solcast.Clients;

var historicClient = new HistoricClient();
var response = await historicClient.GetAdvancedPvPower(
    start: "2024-06-01T06:00",
    resourceId: "ba75-e17a-7374-95ed",
    end: "2024-07-01T06:00",
    format: "csv"
);
Console.WriteLine(response.RawResponse);
Sample Output:

pv_power_advanced period_end period
0.023 2024-06-01T06:30:00+00:00 PT30M
0 2024-06-01T07:00:00+00:00 PT30M
... ... ...
1.582 2024-07-01T05:30:00+00:00 PT30M
0.914 2024-07-01T06:00:00+00:00 PT30M