api-definitions icon indicating copy to clipboard operation
api-definitions copied to clipboard

No generation data after the new year (2022)

Open adfi opened this issue 3 years ago • 1 comments

Hi, I'm using the /generation endpoint from the API to query carbon intensity generation percentages for a range of dates. My query url is https://api.carbonintensity.org.uk/generation/<start date>/<end date>. The range of dates is usually the next 5 days.

However in the last 2 days my query did not produce any data for the new year. I've managed to recreate this in the browser. If I submit the query https://api.carbonintensity.org.uk/generation/2021-12-30/2022-01-02 I don't get data after the 31st. However when I submit a different query https://api.carbonintensity.org.uk/generation/2022-01-01/2022-01-02 the data does appear.

adfi avatar Jan 02 '22 22:01 adfi