Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak location_id.
Body
RFC 3339 timestamp marking the start of the data window, e.g. 2023-06-15T09:00:00Z or 2023-06-15T08:00:00+01:00; use either UTC or time offset—if offsets differ, end_time takes precedence.
"2023-06-15T09:00:00Z"
RFC 3339 timestamp marking the start of the data window, e.g. 2023-06-15T09:00:00Z or 2023-06-15T08:00:00+01:00; use either UTC or time offset—if offsets differ, end_time takes precedence. The maximum period between start_time and end_time for a single request is 3 days.
"2023-06-16T09:00:00Z"
Set to HIGH to get the most expensive rate segment and to LOW to get the cheapest segment.
"HIGH"
Indicates the direction you want to work with. Set to IMPORT or EXPORT. Defaults to IMPORT.
"IMPORT"
Relative tariff threshold. The highest tariff is 1, and the lowest is 0.01. Either relative or absolute must be provided.
0.1
Absolute tariff threshold in local currency. Either absolute or relative must be provided. Absolute threshold overrides relative if it was provided. Use major currency units.
Response
Response example
This object is a container for tariff rate segments.
Flatpeak unique object id.
"spl_65e42cdd73e9f861edda35d7"
Represents the object's type.
"schedule_limit"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
The unique Flatpeak ID of the location.
"loc_65e42ce4d3b813479b252160"
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
"Europe/London"
Currency at the location in ISO 4217.
"EUR"
Direction of tariff. Supported options are IMPORT, EXPORT and LOCAL.
"IMPORT"
Total amount of time in minutes for all calculated slots.
180
Time when we recommend fetching new rates. In the format of the request, e.g. UTC or time-offset.
"2022-05-24T23:00:00Z"
Your original request.
Rates response data.
Time when this response was calculated. In UTC.
"2022-05-24T15:15:22Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"

