API : Getoutput always respond with the last 50 outputs

Hi,

I’m struggling to get outputs through the api for a given time range.

I’m using that request : “https://pvoutput.org/service/r2/getoutput.jsp?df=20220227?dt=20220401” (sid and token is provided through the headers) and always receive the last 50 outputs.

"20221112,1854,0.806,0,0,1056,13:05,Cloudy,7,15,NaN,NaN,NaN,NaN;20221111,2614,1.137,0,0,804,12:00,Cloudy,6,14,NaN,NaN,NaN,NaN;20221110,3542,1.540,0,0,1176,12:45,Cloudy,6,13,NaN,NaN,NaN,NaN;20221109,1918,0.834,0,0,828,14:15,Showers,11,15,NaN,NaN,NaN,NaN;20221108,1894,0.823,0,0,792,11:25,Showers,11,16,NaN,NaN,NaN,NaN;20221107,1849,0.804,0,0,888,13:45,Showers,12,14,NaN,NaN,NaN,NaN;20221106,967,0.420,0,0,456,11:15,Showers,8,12,NaN,NaN,NaN,NaN;20221105,2296,0.998,0,0,1116,13:15,Showers,3,12,NaN,NaN,NaN,NaN;20221104,996,0.433,0,0,504,14:45,Showers,8,10,NaN,NaN,NaN,NaN;20221103,1222,0.531,0,0,1056,11:15,Showers,11,17,NaN,NaN,NaN,NaN;20221102,4780,2.078,0,0,1296,12:40,Cloudy,10,15,NaN,NaN,NaN,NaN;20221101,4853,2.110,0,0,1308,12:00,Cloudy,10,16,NaN,NaN,NaN,NaN;20221031,3394,1.476,0,0,924,14:05,Cloudy,13,19,NaN,NaN,NaN,NaN;20221030,3735,1.624,0,0,1080,11:50,Cloudy,14,21,NaN,NaN,NaN,NaN;20221029,2801,1.218,0,0,1116,12:45,Cloudy,16,25,NaN,NaN,NaN,NaN;20221028,3638,1.582,0,0,1152,13:05,Cloudy,15,23,..."

Any clue ?

Thanks

My bad. The request was malformed :

https://pvoutput.org/service/r2/getoutput.jsp?df=20220227?dt=20220401 is not right. It must be
https://pvoutput.org/service/r2/getoutput.jsp?df=20220227&dt=20220401& instead of ? before the dt parameter.

1 Like

There is a limit of 50 records, which is increased to 150 for donation enabled accounts.