{
  "openapi": "3.0.1",
  "info": {
    "title": "Woodcraft Scraper",
    "description": "Scrape Woodcraft (woodcraft.com) - a leading US woodworking tools, hardware & fasteners retailer. Search products, browse by category (power tools, hardware, router bits, sanding & abrasives, wood & finishing, hand tools), look up exact products by handle/URL, and list the full category taxonomy.",
    "version": "1.0",
    "x-build-id": "FhgRsWPA3HiNSd6D5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~woodcraft-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-woodcraft-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/crawlerbros~woodcraft-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-woodcraft-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/crawlerbros~woodcraft-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-woodcraft-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCollection",
              "byProductHandles",
              "listCollections"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text query matched against product title, brand and type.",
            "default": "router bit"
          },
          "collectionHandle": {
            "title": "Category (mode=byCollection)",
            "enum": [
              "",
              "hardware",
              "furniture-hardware",
              "door-hardware",
              "drawer-hardware",
              "cabinet-hardware",
              "pulls",
              "knobs",
              "power-tools-accessories",
              "power-tool-accessories",
              "power-tools",
              "drills-drivers",
              "routers-shapers",
              "router-bits",
              "router-accessories",
              "edge-treatment-router-bits",
              "universal-power-tool-accessories",
              "woodriver-tools-kits",
              "festool-woodworking-tools",
              "freud-tools",
              "whiteside-machine-company",
              "woodworking-hand-tools",
              "woodworking-machines",
              "woodworking-jigs",
              "saw-blades-accessories",
              "bandsaw-blades",
              "sanding-tools",
              "sanding-abrasives",
              "dust-collection-air-filtration",
              "measuring-tools",
              "marking-measuring-tools",
              "safety",
              "wood-finishing",
              "finishing",
              "wood",
              "wood-blanks-project-materials",
              "turning-blanks",
              "turning-wood",
              "turning-kits",
              "all-turning-tools",
              "dimensional-lumber",
              "tool-boxes-storage",
              "organization-storage",
              "table-legs",
              "woodworking-books-magazines",
              "woodworking-plans",
              "project-kits",
              "kitchen-project-kits",
              "home-garden",
              "lawn-garden",
              "sale-items",
              "hardware-deals",
              "limited-time-savings",
              "woodcraft-standard-items"
            ],
            "type": "string",
            "description": "Pick a common category. Choose \"(custom — use field below)\" to browse any of the site's 450+ collections by exact handle.",
            "default": "hardware"
          },
          "customCollectionHandle": {
            "title": "Custom category handle (mode=byCollection)",
            "type": "string",
            "description": "Exact collection handle (from a woodcraft.com/collections/<handle> URL). Overrides the dropdown above when set."
          },
          "productHandles": {
            "title": "Product handles or URLs (mode=byProductHandles)",
            "type": "array",
            "description": "Product handles (e.g. `whiteside-flush-trim-spiral-router-bit-1-4-sh`) or full product URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Drop products priced below this (search/byCollection/byProductHandles)."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Drop products priced above this."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Only emit products with at least one available variant.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only emit products currently discounted (has a was-price above the current price).",
            "default": false
          },
          "brand": {
            "title": "Brand contains",
            "type": "string",
            "description": "Case-insensitive substring match against the product's brand/vendor (e.g. `Festool`, `Freud`, `WoodRiver`)."
          },
          "keyword": {
            "title": "Keyword contains",
            "type": "string",
            "description": "Case-insensitive substring match against the product's title, vendor, and description. Most useful with mode=byCollection to narrow a broad category (e.g. category=\"router-bits\" + keyword=\"flush trim\"); also applies to search/byProductHandles."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "titleAsc",
              "titleDesc",
              "newest"
            ],
            "type": "string",
            "description": "Result ordering, applied by the actor after fetching a candidate pool (the store's own products.json endpoint does not honor sort order).",
            "default": "relevance"
          },
          "minProductsCount": {
            "title": "Min products count (mode=listCollections)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only emit categories with at least this many products."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}