Skip to content

how to get the history data by using the free api #7752

Closed
@damon-lab

Description

Description

hi guys, i just apply the free api from the electric map website, but I find I can't use this API to get the historical data, how can l get the historical carbon intensity data?
I try to use this command but meet some wrongs.
curl 'https://api.electricitymap.org/v3/carbon-intensity/past?zone=DE&datetime=2025-01-19T00:00:00Z' \

-H 'my_api_key'
{"error":"Invalid auth-token"}

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions