The Home Depot Sorting API

SerpApi's Home Depot Sorting API enables you to change the ordering of scraped data according to various product details such as price, overall rating of customer reviews, etc., offering a more efficient way to analyze and compare product information.


For The Home Depot Canada, the parameter is  sort.
For The Home Depot US, the parameter is  hd_sort.


By utilizing SerpApi's Home Depot Sorting API, you can effectively organize product data to better understand and compare the offerings, streamlining your e-commerce research and decision-making process.

API Parameters

hd_sort

Optional

Parameter defines results sorted by diferent options.

It can be set to:
top_sellers: Top Sellers,
price_low_to_high: Price Low to High,
price_high_to_low: Price High to Low,
top_rated: Top Rated,
best_match: Best Match

sort

Optional

Parameter defines results sorted by different options in Home Depot Canada.

It can be set to:
priceSaving: Top Sellers,
price-asc: Price Low to High,
price-desc: Price High to Low,
reviewAvgRating: Top Rated,
relevance: Recommended (Default)

API Examples

Example results for q: chair and hd_sort:top_rated (the Home Depot US)

Example results for q: chair and hd_sort:top_rated (the Home Depot US)

JSON Example

{
  "products": [
    {
      "thumbnail": "https://images.homedepot-static.com/catalog/productImages/400/d6/d689f81a-f4c1-4b4f-b8f7-95312ec32ce2_400.jpg",
      "title": "PPF-40 Rocking Chair Red Paint",
      "brand": "BEHR ULTRA",
      "rating": 4.9,
      "reviews": 1799,
      "price": "$12.98",
      "link": "https://www.homedepot.com/p/BEHR-ULTRA-1-qt-PPF-40-Rocking-Chair-Red-Eggshell-Enamel-Interior-Paint-and-Primer-in-One-275304/310907198",
      "product_id": "310907198",
      "serpapi_link": "https://serpapi.com/search.json?engine=home_depot_product&product_id=310907198",
      "delivery": "Free delivery with $45 order"
    },
    {
      "thumbnail": "https://images.homedepot-static.com/productImages/0a93764a-d660-409c-9f7a-7ac597a04393/svn/polywood-plastic-adirondack-chairs-ad440gy-64_400.jpg",
      "variants": [
        "https://images.homedepot-static.com/catalog/swatchImages/35/09/09d2404a-6f5b-4373-8e66-951c6088b8c2_35.jpg",
        "https://images.homedepot-static.com/catalog/swatchImages/35/48/48878675-2f5a-4fe1-a5a9-3d3cd5d8418f_35.jpg",
        "https://images.homedepot-static.com/catalog/swatchImages/35/d0/d02f6460-5542-48e9-8633-fa5e6b2a3e59_35.jpg",
        "https://images.homedepot-static.com/catalog/swatchImages/35/a7/a7a566a1-c36d-4d12-b82b-ad4a28628afd_35.jpg",
        "https://images.homedepot-static.com/catalog/swatchImages/35/d7/d7dc57a3-7ac2-4b7c-956b-a89ecc11b4e3_35.jpg"
      ],
      "title": "Grant Park Traditional Curveback Gray Plastic Outdoor Patio Adirondack Chair",
      "brand": "POLYWOOD",
      "rating": 4.9,
      "reviews": 870,
      "badge": "Best Seller",
      "price": "$169.00",
      "link": "https://www.homedepot.com/p/POLYWOOD-Grant-Park-Traditional-Curveback-Gray-Plastic-Outdoor-Patio-Adirondack-Chair-AD440GY/303508177",
      "product_id": "303508177",
      "serpapi_link": "https://serpapi.com/search.json?engine=home_depot_product&product_id=303508177",
      "price_was": "$189.00",
      "price_saving": "Save $20.00 (11%)",
      "delivery": "Free delivery"
    },
    {
      "thumbnail": "https://images.homedepot-static.com/productImages/2bd1add2-570e-4dd0-859c-a124de6376b1/svn/white-lifetime-folding-chairs-80359-64_400.jpg",
      "variants": [
        "https://images.homedepot-static.com/catalog/swatchImages/35/58/581296c7-f179-43ca-b3df-40d868daacb1_35.jpg",
        "https://images.homedepot-static.com/catalog/swatchImages/35/2f/2f2b31cd-a1f2-43c0-a915-1fa3509de265_35.jpg"
      ],
      "title": "White Plastic Seat Metal Frame Outdoor Safe Folding Chair (Set of 4)",
      "brand": "Lifetime",
      "rating": 5.0,
      "reviews": 209,
      "price": "$140.97",
      "link": "https://www.homedepot.com/p/Lifetime-White-Plastic-Seat-Metal-Frame-Outdoor-Safe-Folding-Chair-Set-of-4-80359/205054104",
      "product_id": "205054104",
      "serpapi_link": "https://serpapi.com/search.json?engine=home_depot_product&product_id=205054104",
      "delivery": "Free delivery"
    },
    ...
  ],
  ...
}

Example results for country: ca,  q: Heavy Duty Hand Tools and sort:price-asc (the Home Depot Canada)

Example results for country: ca, &nbspq: Heavy Duty Hand Tools and sort:price-asc (the Home Depot Canada)

JSON Example

{
  ...
  "products": [
    {
      "position": 1,
      "product_id": "1001341740",
      "title": "Power Cleaner Heavy-Duty Pad",
      "thumbnails": [
        [
          "https://images.homedepot.ca/productimages/p_1001341740.jpg?product-images=s",
          "https://images.homedepot.ca/productimages/p_1001341740.jpg?product-images=m",
          "https://images.homedepot.ca/productimages/p_1001341740.jpg?product-images=l"
        ]
      ],
      "link": "https://www.homedepot.ca/product/dremel-power-cleaner-heavy-duty-pad/1001341740",
      "model_number": "PC361-3",
      "brand": "Dremel",
      "rating": 4.7778,
      "reviews": 18,
      "price": 13.68,
      "currency": "CAD",
      "aisle": "OA",
      "add_to_cart": true,
      "pickup": {
        "free_ship_to_store": true
      },
      "delivery": {
        "free": true,
        "free_delivery_threshold": false
      },
      "stock_information": {
        "general_stock": 142,
        "general_stock_status": "In Stock",
        "store_stock": 0,
        "store_stock_status": "Out Of Stock"
      }
    },
    {
      "position": 2,
      "product_id": "1001680116",
      "title": "9/16 in. Heavy-Duty Nut Driver",
      "thumbnails": [
        [
          "https://images.homedepot.ca/productimages/p_1001680116.jpg?product-images=s",
          "https://images.homedepot.ca/productimages/p_1001680116.jpg?product-images=m",
          "https://images.homedepot.ca/productimages/p_1001680116.jpg?product-images=l"
        ]
      ],
      "link": "https://www.homedepot.ca/product/klein-tools-9-16-in-heavy-duty-nut-driver/1001680116",
      "model_number": "635916",
      "brand": "Klein Tools",
      "rating": 4.3846,
      "reviews": 26,
      "price": 21.46,
      "currency": "CAD",
      "aisle": "OA",
      "add_to_cart": true,
      "pickup": {
        "free_ship_to_store": true
      },
      "delivery": {
        "free": true,
        "free_delivery_threshold": false
      },
      "stock_information": {
        "general_stock": 25,
        "general_stock_status": "In Stock",
        "store_stock": 0,
        "store_stock_status": "Out Of Stock"
      }
    },
    {
      "position": 3,
      "product_id": "1000749397",
      "title": "Multi-Bit Screwdriver/Nut Driver, Heavy Duty",
      "thumbnails": [
        [
          "https://images.homedepot.ca/productimages/p_1000749397.jpg?product-images=s",
          "https://images.homedepot.ca/productimages/p_1000749397.jpg?product-images=m",
          "https://images.homedepot.ca/productimages/p_1000749397.jpg?product-images=l"
        ]
      ],
      "link": "https://www.homedepot.ca/product/klein-tools-multi-bit-screwdriver-nut-driver-heavy-duty/1000749397",
      "model_number": "32557",
      "brand": "Klein Tools",
      "rating": 4.6092,
      "reviews": 238,
      "price": 25.99,
      "currency": "CAD",
      "aisle": "LA",
      "add_to_cart": true,
      "pickup": {
        "pick_up_at_store": true
      },
      "delivery": {
        "free": true,
        "free_delivery_threshold": false,
        "schedule_delivery": true
      },
      "stock_information": {
        "general_stock": 10,
        "general_stock_status": "In Stock",
        "store_stock": 2,
        "store_stock_status": "In Stock"
      }
    },
    ...
  ],
  ...
}