cURL
curl --request GET \ --url https://api.energy-hub.io/v1.0.0/users/{userId}/tariffs/{tariffId} \ --header 'X-API-KEY: <api-key>'
{ "lastUpdated": "2023-11-07T05:31:56Z", "locationId": "7364fc92-20e1-4033-ac18-cb19c35e97e0", "isOnline": true, "id": "6eb5497d-c6bb-4290-84ef-4409fe9501f1", "userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9", "staticData": { "lastUpdated": "2023-11-07T05:31:56Z", "vendor": "TIBBER", "countryCode": "DE", "name": "Tibber Bürgerfelder Str.", "currency": "EUR" } }
Returns general data of a single tariff for the user.
API key used for authorization and authentication.
User ID
Tariff ID
Successful operation
Object of tariff response.