/energystar/product_types

POST /api/energystar/product_types

Price: 1 credit

List the ENERGY STAR certification categories. Each is a separate dataset with its own set of measured columns, and every other ENERGY STAR endpoint is scoped to one of them. Returns the category's dataset id, the alias the other endpoints take, its display name, how many certified models it currently holds, the full list of column names it publishes, the sub-types found within it, and the alias and current size of its Most Efficient list where one exists.

How to use it

Read this before building a product search: `alias` is what the other endpoints take as `product_category`, and `columns` is the only place the category's filterable and sortable column names are listed — they differ almost completely between categories, and a name from the wrong one is rejected. `model_count` is counted live, so it also answers how big a category is before pulling it; asking for every category counts them all, so pass `product_category` when only one is wanted. `most_efficient_alias` is what energystar/products/most_efficient takes, and a `most_efficient_model_count` of zero means that list is empty between annual cycles.

Parameters

Request body

Response

Errors

Response headers