curl --request POST \
--url https://api.flatpeak.com/prices/loc_641b90b758fb8e6293716e40 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"start_time": "2023-06-15T09:00:00Z",
"end_time": "2023-06-15T23:00:00Z",
"tariff_direction": "IMPORT"
}'
```json5 Response example
{
"id": "prs_68ba8186d1926f4da39601b5",
"object": "price",
"location_id": "loc_65e42ce4d3b813479b252160",
"location_timezone": "Australia/Sydney",
"currency_code": "AUD",
"data":
[
{
"valid_from": "2025-09-15T10:00:00Z",
"valid_to": "2025-09-16T10:00:00Z",
"tariff":
{
"rate": 0.014
"confidence": 1,
}
}
]
}