Table of Contents
Octopus Energy France APIs¶
API basics¶
Looking for migration APIs? Find them here.
Base URL¶
All API requests should use a base URL of: https://api.oefr-kraken.energy
Note, all API requests must be made over HTTPS.
Authentication¶
Authentication is required for some API end-points. This is performed via HTTP Basic Auth.
Provide your API key as the Basic Auth username value. You do not need to provide a password, eg:
curl -u "$API_KEY:" https://api.oefr-kraken.energy/v1/accounts/
Note the colon after $API_KEY
which prevents cURL from asking for a
password.
Parameters¶
Datetimes¶
Some API end-points accept datetime strings as parameters. These should be passed in ISO 8601 format. Eg:
"2018-05-17T16:00:00Z"
We strongly recommend that timezone information is included on all datetime parameters. If no timezone information is included, the “Europe/London” timezone will be assumed and results may vary between GMT and British Summer Time.