get
https://api.genability.com/rest/v1/typicals/baselines/best
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Retrieve the typical baseline that best matches a location and building description.
Use this endpoint when you need an estimated electricity usage profile and do not have real-world usage data. Pass a location and, when available, building details such as buildingType, buildingArea, and buildingVintage.
Resource URI
GET /rest/v1/typicals/baselines/bestRequired input
Provide at least one location input:
addressStringzipCodeorpostCodewithcountrylatandlng
For better matching, also pass buildingType or customerClass.
Common query parameters
| Parameter | Type | Description |
|---|---|---|
zipCode | String | ZIP or postal code used to look up local buildings. Use with country. Optional. |
country | String | ISO country code. Use with zipCode or postCode. Optional. |
addressString | String | Address string used for geocoding. Optional. |
lat | Number | Latitude. Use with lng. Optional. |
lng | Number | Longitude. Use with lat. Optional. |
customerClass | String | Customer class, such as RESIDENTIAL, GENERAL, or SPECIAL_USE. Optional. |
buildingType | String | Building type, such as RESIDENTIAL, singleFamilyDetached, or largeHotel. Optional. |
serviceType | String | Service type. Currently limited to ELECTRICITY. Optional. |
buildingArea | Integer | Building size in square feet. Optional. |
buildingVintage | String | Construction era: Pre1980, Post1980, or New. Optional. |
excludeMeasures | Boolean | When true, omits measures for a faster response. Defaults to false. Optional. |
measuresUnit | String | Controls how measures are returned. Use total for total usage, intensity for energy intensity, or proportion for values that add up to 100. Optional. |
groupBy | String | Rolls up measures by MONTH, DAY, or YEAR. Optional. |
sizingKeyName | String | Set to loadSize to scale the load. Use with sizingDataValue and sizingUnit. Optional. |
sizingDataValue | Number | Target quantity used for sizing, such as 12000 for 12,000 kWh. Optional. |
sizingUnit | String | Unit for sizingDataValue. Currently supports kWh. Optional. |
intervalFromDateTime | Date | Start date for populated intervals. Use with intervalToDateTime. Optional. |
intervalToDateTime | Date | End date for populated intervals. Use with intervalFromDateTime. Optional. |
For the full data model, building type guidance, and response examples, see Typical Baselines.
Example
GET /rest/v1/typicals/baselines/best?addressString=94105&buildingType=RESIDENTIAL&excludeMeasures=false&groupBy=MONTHA successful response returns a standard response payload with type set to Baseline and one best-fit baseline in the results array.
