saylorinnovations.com/api/energy/bill-estimator
Estimate a monthly electricity bill from usage under tiered (block) rates or time-of-use rates: the energy charge by tier, the fixed customer charge, delivery charges per kWh, taxes and fees, the average and marginal price per kWh, the bill at 10 and 20 percent lower use, the effect of shifting peak usage to off-peak, the annual cost with a summer and winter pattern, and the break-even between a f
GET
https://saylorinnovations.com/api/energy/bill-estimatorUptime100% of 2 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/energy/bill-estimator?tiers=500%3A0.11%7C1000%3A0.15%7Cinf%3A0.21&kwh_month=1150&peak_rate=0.34&tax_percent=6&fixed_charge=12&offpeak_rate=0.12&delivery_per_kwh=0.04&peak_share_percent=35" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"tiers": "500:0.11|1000:0.15|inf:0.21",
"kwh_month": "1150",
"peak_rate": "0.34",
"tax_percent": "6",
"fixed_charge": "12",
"offpeak_rate": "0.12",
"delivery_per_kwh": "0.04",
"peak_share_percent": "35"
}