> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /energystar/product_types

> 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.

**Price:** 1 credit

**⚠️ Common errors:** 412: No category matched.



## OpenAPI

````yaml /openapi/gov-public-sector.json post /api/energystar/product_types
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/energystar/product_types:
    post:
      tags:
        - /energystar
      summary: /energystar/product_types
      description: >-
        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.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No category matched.
      operationId: __api_energystar_product_types_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnergystarProductTypesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EnergystarProductType'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EnergystarProductTypesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        product_category:
          anyOf:
            - $ref: '#/components/schemas/EnergystarProductCategory'
            - type: 'null'
        count:
          type: integer
          maximum: 60
          minimum: 1
      type: object
      required:
        - count
    EnergystarProductType:
      properties:
        '@type':
          type: string
          default: EnergystarProductType
        id:
          type: string
        alias:
          type: string
        name:
          type: string
        model_count:
          anyOf:
            - type: integer
            - type: 'null'
        columns:
          items:
            type: string
          type: array
          default: []
        product_types:
          items:
            type: string
          type: array
          default: []
        most_efficient_alias:
          anyOf:
            - type: string
            - type: 'null'
        most_efficient_model_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - alias
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    EnergystarProductCategory:
      type: string
      enum:
        - boilers
        - ceiling_fans
        - commercial_boilers
        - commercial_clothes_washers
        - commercial_coffee_brewers
        - commercial_dishwashers
        - commercial_electric_cooktops
        - commercial_fryers
        - commercial_griddles
        - commercial_hot_food_holding_cabinet
        - commercial_ice_machines
        - commercial_ovens
        - commercial_refrigerators_and_freezers
        - commercial_steam_cookers
        - commercial_water_heaters
        - computers_v9_0
        - data_center_storage_block_i_o
        - data_center_storage_file_i_o
        - dehumidifiers
        - displays
        - electric_vehicle_supply_equipment_ac_output
        - electric_vehicle_supply_equipment_dc_output
        - enterprise_servers
        - furnaces
        - geothermal_heat_pumps
        - heat_pumps
        - imaging_equipment
        - laboratory_grade_refrigerators_and_freezers
        - large_network_equipment
        - light_commercial_hvac
        - light_fixtures_downlights
        - medical_imaging_equipment
        - pool_pumps
        - residential_clothes_dryers
        - residential_clothes_washers
        - residential_dishwashers
        - residential_electric_cooking_products
        - residential_freezers
        - residential_refrigerators
        - room_air_cleaners_v3_0
        - room_air_conditioners
        - smart_thermostats
        - storm_windows
        - telephones
        - televisions
        - uninterruptible_power_supplies
        - vending_machines
        - ventilating_fans
        - water_coolers
        - water_heaters
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````