### Authenticate with cURL Source: https://portal.electricitymaps.com/docs Use the auth-token header to authenticate requests to the Electricity Maps API. ```bash curl 'https://api.electricitymaps.com/v4/carbon-intensity/latest?zone=DE' \ -H 'auth-token: my-api-token' ``` -------------------------------- ### Authenticate with Basic Auth Source: https://portal.electricitymaps.com/docs Alternative authentication method using a Base64 encoded string of email and API token. ```http # The base64 encoded string should be "my-email:my-api-token" Authorization: Basic ``` -------------------------------- ### Common Query Parameters Source: https://portal.electricitymaps.com/docs Parameters applicable to API endpoints to manage data estimation and temporal resolution. ```APIDOC ### Query Parameters - **disableEstimations** (boolean) - Optional - Set to `true` to disable estimated data when measured data is unavailable. Defaults to `false`. - **temporalGranularity** (string) - Optional - Controls the temporal resolution of the returned data. Possible values: `5_minutes`, `15_minutes`, `hourly` (default), `daily` (past data only), `monthly` (past data only), `quarterly` (past data only), `yearly` (past data only). ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.