{
  "openapi": "3.0.1",
  "info": {
    "title": "$3/1K | Home Depot Scraper - Prices, Stock & Reviews",
    "description": "Scrape Home Depot products: search by keyword or category with price, was-price, discount, clearance and rating; full product details with specs; one product's shelf stock in every store near a ZIP code; and product reviews. Find stores by ZIP. Made by ScraperCompany.",
    "version": "1.0",
    "x-build-id": "tdWmI1U4GzRDJxOBn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapercompany~homedepot-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapercompany-homedepot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapercompany~homedepot-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapercompany-homedepot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapercompany~homedepot-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapercompany-homedepot-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "product",
              "stock",
              "stores",
              "reviews"
            ],
            "type": "string",
            "description": "Search products, read products in full, check one product's stock in the stores near a ZIP code, find stores, or read a product's reviews.",
            "default": "search"
          },
          "searches": {
            "title": "Searches (Search products)",
            "type": "array",
            "description": "One search per line: words such as <code>cordless drill</code> or <code>2x4 lumber</code>, or a Home Depot category link such as <code>https://www.homedepot.com/b/Appliances-Refrigerators/N-5yc1vZc3pi</code>.",
            "default": [
              "cordless drill"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Pages per query",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many pages to fetch for each search (up to 84 pages) or each product's reviews (up to 500 pages of 10). Each page is a separate request and is charged separately; paging stops at the last page.",
            "default": 1
          },
          "pageSize": {
            "title": "Products per page",
            "minimum": 1,
            "maximum": 48,
            "type": "integer",
            "description": "Products per search page (1-48). The price is per page.",
            "default": 24
          },
          "products": {
            "title": "Products (Product details, Stock, Reviews)",
            "type": "array",
            "description": "One product per line: its 9-digit item id such as <code>312528776</code> (the <code>item_id</code> from a search, or the number at the end of a product link) or a homedepot.com/p/ link.",
            "default": [
              "312528776"
            ],
            "items": {
              "type": "string"
            }
          },
          "zipCode": {
            "title": "ZIP code",
            "type": "string",
            "description": "US ZIP code. Required for Stock in nearby stores (the stores around it are checked); optional elsewhere, for delivery options.",
            "default": "10001"
          },
          "storeId": {
            "title": "Store id (Search, Product details)",
            "type": "string",
            "description": "A Home Depot store number such as <code>6175</code> (from Find stores), for that store's prices and shelf stock."
          },
          "maxStores": {
            "title": "Stores to check (Stock)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Nearest stores to check (1-20). One price for the whole check.",
            "default": 10
          },
          "radius": {
            "title": "Radius in miles",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Search radius around the ZIP code or place.",
            "default": 25
          },
          "places": {
            "title": "Places (Find stores)",
            "type": "array",
            "description": "One ZIP code or address per line, such as <code>10001</code> or <code>Atlanta, GA</code>.",
            "default": [
              "10001"
            ],
            "items": {
              "type": "string"
            }
          },
          "storesLimit": {
            "title": "Stores per place",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Stores to return per place, nearest first (1-50).",
            "default": 10
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "oldest",
              "highest_rating",
              "lowest_rating",
              "most_helpful",
              "with_photos"
            ],
            "type": "string",
            "description": "Reviews only: the order Home Depot lists them in.",
            "default": "newest"
          },
          "reviewRating": {
            "title": "Only this star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Reviews only: keep reviews with this star rating (1-5). Leave empty for all."
          },
          "customRequests": {
            "title": "Custom requests (advanced)",
            "type": "array",
            "description": "Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Add <code>\"mode\": \"stock\"</code> with an <code>item_id</code> and <code>zip_code</code> to mix in stock checks, or <code>\"mode\": \"reviews\"</code> with an <code>item_id</code> for reviews. Example: <code>{\"query\":\"hammer\",\"store_id\":\"6175\"}</code>"
          },
          "includeErrors": {
            "title": "Include failed requests in the dataset",
            "type": "boolean",
            "description": "When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.",
            "default": 3
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.",
            "default": 2
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}