v1
latestOpenAPI 3.1.02026-07-1342111193.6 KBSpark
Calculate Tariff Rate ($/kWh)
Calculates marginal rate ($/kWh) for a short-term time period on the electric tariff a given utility account is subscribed to. This endpoint will report appropriate costs for TOU periods (daily peak/off-peak hours, weekend schedules, seasonal changes). This endpoint is not recommended for monthly bill reproduction. Marginal rates generally do not include monthly adjustments or charges such as tiering (costs are generally reported at the base tier), fixed charges, monthly discounts, special event days, etc.
post/spark/tariff_rates
Headers
Arcadia-Versionstring required
The Arcadia-Version for the request
Request body
Example request
{
"main_tariff_id": "gen_mtid_3331108",
"start_time": "2021-03-18T22:00:00-07:00",
"end_time": "2021-03-19T08:00:00-07:00"
}Response
Success
Example response
{
"tariff": {
"main_tariff_id": "gen_mtid_3331108",
"property_inputs": [
{
"id": "territoryId"
}
],
"supplier_name": "East Bay Community Energy",
"tariff_code": "EV-2A-TOU",
"tariff_name": "Residential - Time of Use - Plug-In Electric Vehicle 2",
"utility_name": "Pacific Gas & Electric"
}
}