{"api":{"id":"api_21f8ea87868261ed6fc8d167","slug":"denmark-energy-data","name":"Danish Electricity Prices & CO2 API","description":"Danish and neighbouring-area electricity data from Energinet: day-ahead spot prices in EUR and DKK, grid CO2 emissions per kWh and hourly production and consumption, newest first, as typed rows.","kind":"ready_made","visibility":"public","domain":"energidataservice.dk","source_url":"https://www.energidataservice.dk/","category":"public_data","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.634Z","updated_at":"2026-12-06T03:57:27.634Z","runnable":true},"version":"1.0","contract_hash":"8fd61f4312ee1f6ef3c2218ba3df97623cb231de3070f8262fe6f05e58946189","fields":[{"name":"id","type":"string","description":"Row id made of dataset, area and time, such as day_ahead_prices:DK1:2026-12-04T23:00:00.000Z.","required":true,"coverage":1,"example":"day_ahead_prices:DK1:2026-12-06T22:45:00.000Z"},{"name":"dataset_code","type":"string","description":"day_ahead_prices, co2_emissions or production_consumption.","required":false,"coverage":1,"example":"day_ahead_prices"},{"name":"interval_start_at","type":"datetime","description":"Start of the interval (UTC).","required":false,"coverage":1,"example":"2026-12-06T22:45:00.000Z"},{"name":"interval_start_dk","type":"string","description":"The same moment in Danish local time, as written by Energinet (no zone).","required":false,"coverage":1,"example":"2026-12-06T23:45:00"},{"name":"price_area","type":"string","description":"Bidding area: DK1 (west Denmark), DK2 (east), or a neighbour such as DE, NO2, SE3, SE4.","required":false,"coverage":1,"example":"DK1"},{"name":"day_ahead_price_eur","type":"number","description":"Day-ahead spot price in EUR per MWh.","required":false,"coverage":0.4,"example":248.960007},{"name":"day_ahead_price_dkk","type":"number","description":"Day-ahead spot price in DKK per MWh.","required":false,"coverage":0.4,"example":1860.503028},{"name":"co2_g_kwh","type":"number","description":"Grid CO2 emission in grams per kWh consumed (5-minute average).","required":false,"coverage":0.4,"example":96},{"name":"production_mwh","type":"number","description":"Total electricity produced in the hour in MWh: power plants plus wind, solar and hydro.","required":false,"coverage":0.2,"example":1860.937968},{"name":"wind_mwh","type":"number","description":"Wind production in the hour in MWh, onshore plus offshore.","required":false,"coverage":0.2,"example":1371.704622},{"name":"solar_mwh","type":"number","description":"Solar production in the hour in MWh.","required":false,"coverage":0.2,"example":33.858451},{"name":"gross_consumption_mwh","type":"number","description":"Gross electricity consumption in the hour in MWh.","required":false,"coverage":0.2,"example":3587.254044}],"inputs":[{"name":"dataset_codes","type":"array","description":"Which data to read: day_ahead_prices, co2_emissions and/or production_consumption. Default: day_ahead_prices.","example":["day_ahead_prices","co2_emissions"]},{"name":"price_areas","type":"array","description":"Only these areas, for example DK1, DK2, DE, NO2, SE3 or SE4. Default: every area the dataset has.","example":["DK1","DK2"]},{"name":"start","type":"string","description":"From this time (Danish local time), as 2026-12-04 or 2026-12-04T00:00.","example":"2026-12-04T00:00"},{"name":"end","type":"string","description":"Until this time (Danish local time, not included), same format as start.","example":"2026-12-05T00:00"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"co2_g_kwh":{"description":"Grid CO2 emission in grams per kWh consumed (5-minute average).","type":"number"},"dataset_code":{"description":"day_ahead_prices, co2_emissions or production_consumption.","type":"string"},"day_ahead_price_dkk":{"description":"Day-ahead spot price in DKK per MWh.","type":"number"},"day_ahead_price_eur":{"description":"Day-ahead spot price in EUR per MWh.","type":"number"},"gross_consumption_mwh":{"description":"Gross electricity consumption in the hour in MWh.","type":"number"},"id":{"description":"Row id made of dataset, area and time, such as day_ahead_prices:DK1:2026-12-04T23:00:00.000Z.","type":"string"},"interval_start_at":{"description":"Start of the interval (UTC).","format":"date-time","type":"string"},"interval_start_dk":{"description":"The same moment in Danish local time, as written by Energinet (no zone).","type":"string"},"price_area":{"description":"Bidding area: DK1 (west Denmark), DK2 (east), or a neighbour such as DE, NO2, SE3, SE4.","type":"string"},"production_mwh":{"description":"Total electricity produced in the hour in MWh: power plants plus wind, solar and hydro.","type":"number"},"solar_mwh":{"description":"Solar production in the hour in MWh.","type":"number"},"wind_mwh":{"description":"Wind production in the hour in MWh, onshore plus offshore.","type":"number"}},"required":["id"],"title":"Danish Electricity Prices & CO2 API","type":"object"},"samples":[{"id":"day_ahead_prices:DK1:2026-12-06T22:45:00.000Z","dataset_code":"day_ahead_prices","interval_start_at":"2026-12-06T22:45:00.000Z","interval_start_dk":"2026-12-06T23:45:00","price_area":"DK1","day_ahead_price_eur":248.960007,"day_ahead_price_dkk":1860.503028,"co2_g_kwh":null,"production_mwh":null,"wind_mwh":null,"solar_mwh":null,"gross_consumption_mwh":null},{"id":"co2_emissions:DK1:2026-12-06T03:45:00.000Z","dataset_code":"co2_emissions","interval_start_at":"2026-12-06T03:45:00.000Z","interval_start_dk":"2026-12-06T04:45:00","price_area":"DK1","day_ahead_price_eur":null,"day_ahead_price_dkk":null,"co2_g_kwh":96,"production_mwh":null,"wind_mwh":null,"solar_mwh":null,"gross_consumption_mwh":null},{"id":"production_consumption:DK1:2026-11-25T23:00:00.000Z","dataset_code":"production_consumption","interval_start_at":"2026-11-25T23:00:00.000Z","interval_start_dk":"2026-11-26T00:00:00","price_area":"DK1","day_ahead_price_eur":null,"day_ahead_price_dkk":null,"co2_g_kwh":null,"production_mwh":1860.937968,"wind_mwh":1371.704622,"solar_mwh":33.858451,"gross_consumption_mwh":3587.254044}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"co2_g_kwh":0.33,"dataset_code":1,"day_ahead_price_dkk":0.33,"day_ahead_price_eur":0.33,"gross_consumption_mwh":0.33,"id":1,"interval_start_at":1,"interval_start_dk":1,"price_area":1,"production_mwh":0.33,"solar_mwh":0.33,"wind_mwh":0.33},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.634Z","activated_at":"2026-12-06T03:57:27.634Z","active":true,"contract_hash":"8fd61f4312ee1f6ef3c2218ba3df97623cb231de3070f8262fe6f05e58946189","fields_count":12}]}