v1

latestOpenAPI 3.0.22026-07-141713124.8 KB
Electricity

Electricity Usage Estimate

This endpoint returns a home’s expected electricity usage (in kWh) over a 12-month period, as well as the carbon footprint, utility rate, expected bill, and more. Our best-in-class machine learning model is trained on millions of data points and is constantly being updated with new information to create a personalized estimation output to every home.

There are a number of ways this API can be used, depending on the amount of data you already have.

Case 1 (Zip Code Only): The minimum input required is a zip code. This allows us to apply weather and climate data in order to return a usage prediction for the average home in the area

Case 2 (Full Address): This is the most common use case. You provide the address of the user and we take care of the rest! We use the address to fill in the rest of the fields for you.

Case 3 (Housing Data): If you don't have the address but you know some other characteristics of the home (square footage, bedrooms, etc), you can manually enter those as well and we'll apply whatever you have to the model.

Case 4 (Address and Housing Data): For the best results, you can enter both the address and the housing data. We'll trust any housing data you give us, and use the address to attempt to fill in any empty fields.

get/electricity/estimation

Query parameters

wattkeystring

Our identifier for this home

addressstring

The street address of the property

citystring

City of the property

statestring

State of the property as a two letter code (e.g. "TX")

zipstring required

5-digit zip code of the property

year_builtnumber

The year the home was built. Should be four digits.

bedroomsnumber

The number of bedrooms in the home.

bathroomsnumber

The number of bathrooms in the home.

sq_ftnumber

The square footage of the home.

storiesnumber

The number of stories in the home.

house_type'house' | 'apartment'

The house type. Either house or apartment.

heating_fuel_source'Electricity' | 'Fuel Oil' | 'Natural Gas' | 'None' | 'Other Fuel' | 'Propane'
assuming_kwh_usagenumber

This field indicates the monthly average kWh usage on the given address. If the date range is provided, the usage ML model will consider it accordingly.

assuming_billnumber

This field indicates the monthly average bill in dollars on the given address. If the date range is provided, the usage ML model will consider it accordingly. This field is not allowed if assuming_kwh_usage is present.

start_datestring

The start date for the estimation period, formatted as MM/DD/YYYY. This field is required only if either assuming_kwh_usage or assuming_bill is provided.

end_datestring

The end date for the estimation period, formatted as MM/DD/YYYY. This field is required only if start_date is present.

Response

OK

state_namestring

The name of the state where the address is located.

monthly_costnumber[]

An array of monthly bill amount in USD.

avg_costnumber

The average cost of electricity per kilowatt-hour (kWh) for the address.

est_usagenumber

The estimated total electricity usage for the home for the year in kilowatt-hours (kWh).

interpolatedboolean
is_apartment_or_unitboolean
wattkeystring

The unique identifier for the address used in the estimation.

heating_fuel_sourcestring

The primary heating fuel source for the home (e.g., Natural Gas, Electricity).