Back to API Presets
API Preset
November 14, 2025By Product API TeamDishwasher

Building a Dishwasher API with The Product API: A Complete Guide

Build a Dishwasher Product API with capacity, noise level, energy efficiency, wash cycles, and features. Ideal for appliance marketplaces and home improvement platforms.

Introduction to Dishwashers

Dishwashers are essential kitchen appliances for efficient dish cleaning. With numerous models available from brands like Bosch, KitchenAid, Whirlpool, LG, and Samsung, finding the right dishwasher with the right features can be overwhelming. Whether you're a homeowner looking for a quiet model, a family needing a large capacity, or a developer building an appliance marketplace, having structured dishwasher product data is crucial.

Imagine being able to search for dishwashers and instantly get detailed information about each appliance - from capacity and noise level to wash cycles and energy efficiency, from installation type to special features. This is exactly what a specialized Dishwasher Product API can provide.

What Makes a Dishwasher API Special?

A Dishwasher Product API goes beyond basic product listings. It understands the unique characteristics that matter to dishwasher buyers:

  • Capacity: Place settings and interior space
  • Noise Level: Decibel rating for quiet operation
  • Energy Efficiency: Energy Star rating and water usage
  • Installation: Built-in, portable, or drawer style
  • Wash Cycles: Number and types of cleaning cycles
  • Features: Third rack, sanitize mode, and smart connectivity
  • Dimensions: Size for fitting into kitchen spaces
  • Drying: Drying method and effectiveness

With this structured data, you can build powerful features like filtering by noise level, comparing energy efficiency, or recommending dishwashers based on household size.

Try It Out: Search for Dishwashers

Use the search bar below to search for dishwashers. Try queries like "Bosch 800 Series quiet", "KitchenAid built-in", or "LG smart dishwasher". The results will include detailed specifications automatically extracted from product information across the web.

Try the Dishwasher API

Search for dishwashers and see detailed specifications automatically extracted from product information.

How It Works: Technical Implementation

Now that you've seen the API in action, let's dive into how it's implemented. This specialized Dishwasher API is built on top of The Product API which is an AI-based product search API that works with any product and any type of query. It responds with structured JSON and supports custom structured responses, allowing you to build specialized APIs for any product category.

The Product API's powerful custom_data_schema feature allows you to define additional structured fields specific to your product category, enabling you to create category-specific APIs like this Dishwasher API. For more details on how the API works, see the full documentation.

Understanding APIs for Product Data

An API (Application Programming Interface) enables different software applications to communicate. For product data:

  • Input: You send a search query (e.g., "dishwasher Bosch 800")
  • Processing: The API searches across multiple sources and uses AI to extract relevant information
  • Output: You receive structured product data in JSON format

The flexibility of a product API means you can customize it for specific categories by defining additional data fields through JSON Schema.

Creating a Dishwasher-Specific JSON Schema to pass as custom_data_schema of search request

Here's the JSON Schema we use for dishwasher products:

{
  "type": "object",
  "properties": {
    "capacity": {
      "type": "string",
      "description": "Place settings capacity (e.g., '14 place settings', '16 place settings')"
    },
    "noise_level": {
      "type": "string",
      "description": "Noise level in decibels (e.g., '42 dB', '44 dB', 'quiet')"
    },
    "energy_star_rated": {
      "type": "boolean",
      "description": "Energy Star certification"
    },
    "annual_energy_consumption": {
      "type": "string",
      "description": "Annual energy consumption in kWh (e.g., '270 kWh/year')"
    },
    "water_usage": {
      "type": "string",
      "description": "Water usage per cycle (e.g., '3.5 gallons', '4.2 gallons')"
    },
    "installation_type": {
      "type": "string",
      "enum": ["built_in", "portable", "drawer", "countertop"],
      "description": "Installation type"
    },
    "wash_cycles": {
      "type": "number",
      "description": "Number of wash cycles"
    },
    "cycle_options": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Available wash cycles (e.g., ['normal', 'heavy', 'light', 'quick', 'sanitize', 'eco'])"
    },
    "third_rack": {
      "type": "boolean",
      "description": "Third rack for utensils and small items"
    },
    "adjustable_racks": {
      "type": "boolean",
      "description": "Adjustable upper and lower racks"
    },
    "sanitize_mode": {
      "type": "boolean",
      "description": "Sanitize/sterilize cycle option"
    },
    "delay_start": {
      "type": "boolean",
      "description": "Delay start timer"
    },
    "smart_features": {
      "type": "boolean",
      "description": "Smart connectivity and app control"
    },
    "drying_method": {
      "type": "string",
      "enum": ["heated_dry", "air_dry", "fan_dry", "zeolite", "crystal_dry"],
      "description": "Drying technology"
    },
    "interior_material": {
      "type": "string",
      "description": "Interior material (e.g., 'stainless steel', 'plastic', 'stainless steel tub')"
    },
    "width": {
      "type": "string",
      "description": "Width in inches (standard is 24 inches)"
    },
    "depth": {
      "type": "string",
      "description": "Depth in inches"
    },
    "height": {
      "type": "string",
      "description": "Height in inches"
    },
    "color_finish": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Available color/finish options (e.g., ['stainless steel', 'black', 'white', 'black stainless'])"
    },
    "price_range": {
      "type": "string",
      "description": "Price range category (budget, mid-range, premium)"
    }
  },
  "required": ["capacity", "noise_level", "installation_type"]
}

Using the Category Prefix

When searching for dishwashers, we prefix the search query with "dishwasher" to help the AI understand the context and return more relevant results.

Example Search Queries:

  • dishwasher Bosch 800 Series
  • dishwasher KitchenAid built-in
  • dishwasher LG smart
  • dishwasher Whirlpool quiet

The prefix "dishwasher" ensures the API understands you're looking specifically for dishwasher appliances and not other products.

Complete Example: Making a Request

Here's how to make a request to The Product API with a dishwasher-specific schema. For complete API reference including authentication, endpoints, and all parameters, see the documentation:

const response = await fetch('https://api.example.com/api?search=dishwasher%20Bosch%20800&with_image=true', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    custom_data_schema: {
      type: "object",
      properties: {
        capacity: {
          type: "string",
          description: "Place settings capacity"
        },
        noise_level: {
          type: "string",
          description: "Noise level in decibels"
        },
        energy_star_rated: {
          type: "boolean",
          description: "Energy Star certification"
        },
        annual_energy_consumption: {
          type: "string",
          description: "Annual energy consumption in kWh"
        },
        water_usage: {
          type: "string",
          description: "Water usage per cycle"
        },
        installation_type: {
          type: "string",
          enum: ["built_in", "portable", "drawer", "countertop"],
          description: "Installation type"
        },
        wash_cycles: {
          type: "number",
          description: "Number of wash cycles"
        },
        cycle_options: {
          type: "array",
          items: { type: "string" },
          description: "Available wash cycles"
        },
        third_rack: {
          type: "boolean",
          description: "Third rack for utensils"
        },
        adjustable_racks: {
          type: "boolean",
          description: "Adjustable upper and lower racks"
        },
        sanitize_mode: {
          type: "boolean",
          description: "Sanitize/sterilize cycle option"
        },
        delay_start: {
          type: "boolean",
          description: "Delay start timer"
        },
        smart_features: {
          type: "boolean",
          description: "Smart connectivity and app control"
        },
        drying_method: {
          type: "string",
          enum: ["heated_dry", "air_dry", "fan_dry", "zeolite", "crystal_dry"],
          description: "Drying technology"
        },
        interior_material: {
          type: "string",
          description: "Interior material"
        },
        width: {
          type: "string",
          description: "Width in inches"
        },
        depth: {
          type: "string",
          description: "Depth in inches"
        },
        height: {
          type: "string",
          description: "Height in inches"
        },
        color_finish: {
          type: "array",
          items: { type: "string" },
          description: "Available color/finish options"
        },
        price_range: {
          type: "string",
          description: "Price range category"
        }
      },
      required: ["capacity", "noise_level", "installation_type"]
    }
  })
});

const data = await response.json();
console.log(data.products);

Expected Response

The API will return products with standard fields plus your custom custom_data field:

{
  "status": "success",
  "products": [
    {
      "name": "Bosch 800 Series SHPM88Z75N Built-In Dishwasher",
      "description": "The Bosch 800 Series features CrystalDry technology...",
      "brand": "Bosch",
      "image": "https://example.com/image.jpg",
      "custom_data": {
        "capacity": "16 place settings",
        "noise_level": "42 dB",
        "energy_star_rated": true,
        "annual_energy_consumption": "270 kWh/year",
        "water_usage": "3.5 gallons per cycle",
        "installation_type": "built_in",
        "wash_cycles": 6,
        "cycle_options": ["normal", "heavy", "light", "quick", "sanitize", "eco"],
        "third_rack": true,
        "adjustable_racks": true,
        "sanitize_mode": true,
        "delay_start": true,
        "smart_features": true,
        "drying_method": "crystal_dry",
        "interior_material": "stainless steel",
        "width": "24 inches",
        "depth": "24 inches",
        "height": "34.5 inches",
        "color_finish": ["stainless steel", "black stainless"],
        "price_range": "premium"
      }
    }
  ]
}

Conclusion

By combining the flexible Product API with a dishwasher-specific JSON Schema, you can create a powerful, specialized API for dishwasher products. The key is:

  1. Define your schema based on what dishwasher data matters to your application
  2. Use category prefixes in search queries for better context
  3. Leverage the custom_data field to build rich, category-specific features

The same approach works for any product category - you just need to define the right schema for your needs!

Ready to get started? Create your own product API on The Product API and start building your own category-specific APIs today!


Ready to build your own category-specific API? Check out our other API preset guides for vacuums, microwaves, refrigerators, and more!