{
  "openapi": "3.0.1",
  "info": {
    "title": "Home Improvement Prices: Home Depot, Lowe's, Menards & Ace",
    "description": "Compare Home Depot, Lowe's, Menards, Ace Hardware, Tractor Supply and Harbor Freight prices for drills: hardware store prices, tool prices, sales, dated coupons, stock, aisle and models. $0.004/product: 100 cost $0.40; Lowe's browser fallback adds $0.20 once. No login.",
    "version": "1.0",
    "x-build-id": "mB1YOW1LbdYkXPVob"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moggedhq~home-improvement-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moggedhq-home-improvement-prices-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/moggedhq~home-improvement-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-moggedhq-home-improvement-prices-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/moggedhq~home-improvement-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-moggedhq-home-improvement-prices-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": {
          "retailers": {
            "title": "Retailers",
            "type": "array",
            "description": "Select home-depot, lowes, menards, ace-hardware, tractor-supply, harbor-freight. Omitted means all six. Harbor Freight returns dated advertised offers, without verified store stock. Lowe's adds one $0.20 browser setup charge only when a priced result is delivered.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Search every selected retailer, for example drill, hammer or work gloves. Shared words group comparison results; they do not prove identical models.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category URLs",
            "type": "array",
            "description": "Optional public HTTPS category links. Each link goes only to its retailer. Combine with search terms or known product links.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Product, search, category or deals URLs",
            "type": "array",
            "description": "Optional public HTTPS links from the six supported retailers. Links are routed by their domain. Clear searchTerms to read only these URLs.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "Use retailer:id, such as home-depot:317987598 or lowes:5013207487. When exactly one retailer is selected, bare IDs also work. These are source product IDs, not barcodes.",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "US ZIP codes",
            "type": "array",
            "description": "Nearest public store per selected retailer. Empty uses each site default where supported. Harbor Freight echoes ZIP requests but does not verify store prices. ZIP+4 is normalized.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Additional US ZIP codes",
            "type": "array",
            "description": "Family-compatible ZIP input. Combined with postalCodes and deduplicated; no prefilled canonical default overrides this field.",
            "items": {
              "type": "string"
            }
          },
          "storeIds": {
            "title": "Exact store IDs",
            "type": "array",
            "description": "Use retailer:id when multiple retailers are selected, for example home-depot:0121, ace-hardware:18244. Bare IDs work with one retailer. Exact stores override ZIPs only for that retailer.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerRetailer": {
            "title": "Maximum products per retailer",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Total distinct product/store rows for each retailer across its inputs and stores.",
            "default": 10
          },
          "maxItems": {
            "title": "Maximum products in the whole run",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global row ceiling. At $0.004/product, 60 rows cost $0.24 plus the setup charge only if Lowe's returns a priced result and the platform start charge.",
            "default": 60
          },
          "maxItemsPerSearch": {
            "title": "Maximum products per input and store",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Optional limit per source and store. Omitted means the retailer ceiling up to 1,000. Retailer-specific pagination and source limits still apply."
          },
          "dealsOnly": {
            "title": "Deals only",
            "type": "boolean",
            "description": "Keep advertised promotions, clearance, rebates, coupons or sale prices. Conditions remain separate from the single-unit price.",
            "default": false
          },
          "includeDetails": {
            "title": "Include product details",
            "type": "boolean",
            "description": "Add optional description and specifications where supported. No detail surcharge.",
            "default": false
          },
          "includeUnpriced": {
            "title": "Include products without a price or dated promotion",
            "type": "boolean",
            "description": "Optional free observations when source data provides identity or stock only. Off by default. These rows never incur a Product charge.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Automatic default datacenter first; US residential fallback where required. Lowe's uses its proven warmed residential browser. Explicit disable, country, group and custom proxy choices remain unchanged.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}