{
  "openapi": "3.0.1",
  "info": {
    "title": "WooCommerce Store Scraper — Products, Prices & Stock",
    "description": "Scrape any WooCommerce store: products, prices, regular and sale prices, stock, SKUs, categories, tags, brands, attributes, variations and images. Category, price, sale and stock filters, product URLs and a monitor mode for price and stock changes. No login, no API key.",
    "version": "0.1",
    "x-build-id": "haLK0yXMxgqmSfQtl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~woocommerce-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-woocommerce-products-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/yugenox~woocommerce-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-woocommerce-products-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/yugenox~woocommerce-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-woocommerce-products-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": {
          "storeUrls": {
            "title": "🛒 WooCommerce store URLs",
            "type": "array",
            "description": "Stores to scrape: a domain (\"auntfannies.com\"), a store or shop-page URL, a category / tag / brand URL (\"…/product-category/laundry/\" = only that category) or a product URL (\"…/product/<slug>/\" = only that product). Mix as many stores as you like; each store is read once.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop reading a store after this many products. 0 = the whole catalogue.",
            "default": 1000
          },
          "maxItems": {
            "title": "Max rows for the whole run",
            "minimum": 0,
            "maximum": 2000000,
            "type": "integer",
            "description": "Maximum number of dataset rows (and charged results) for the whole run, across all stores. 0 = no limit. In monitor mode it limits the saved changes; how many products are compared (and charged as \"Product checked\") is set by Max products per store.",
            "default": 0
          },
          "categories": {
            "title": "Only these categories",
            "type": "array",
            "description": "Optional: category names, slugs, IDs or category URLs (e.g. \"Laundry\", \"ice-cream\", \"23\"). Only products in at least one of them are saved. Each store's own category list is used to match them, so a store without a category is simply left out with a note. Category, tag and brand filters apply to stores and category / tag / brand URLs; product URLs you list one by one get the price, sale and stock filters only.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Only these tags",
            "type": "array",
            "description": "Optional: product tag names, slugs or IDs (e.g. \"vegan\").",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Only these brands",
            "type": "array",
            "description": "Optional: brand names, slugs or IDs, for stores that use WooCommerce brands (WooCommerce 9.6 or newer). A store whose product feed has no brands is skipped with a note and no charge.",
            "items": {
              "type": "string"
            }
          },
          "search": {
            "title": "Search",
            "type": "string",
            "description": "Optional: keep only products matching these words, the same way the store's own product search does (e.g. \"detergent\")."
          },
          "onSaleOnly": {
            "title": "Only products on sale",
            "type": "boolean",
            "description": "Keep only products the store marks as on sale.",
            "default": false
          },
          "inStockOnly": {
            "title": "Only products in stock",
            "type": "boolean",
            "description": "Keep only products that are in stock.",
            "default": false
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Optional: keep only products priced at least this much, in the store's own currency (e.g. 10 = $10.00 on a USD store)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Optional: keep only products priced at most this much, in the store's own currency."
          },
          "includeVariations": {
            "title": "Include variation details",
            "type": "boolean",
            "description": "For variable products (sizes, colours …), also read every variation's own SKU, price, regular price, sale and stock status. Without it, each product still lists its variations (id and options) and its price range. Included in the result price.",
            "default": false
          },
          "outputPerVariant": {
            "title": "One row per variation",
            "type": "boolean",
            "description": "Save one row per variation with its own SKU, price, regular price, sale price, stock and options, instead of one row per product with the variations as a list (turns on variation details). Each variation row counts as one result.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode: only what changed",
            "type": "boolean",
            "description": "Compare with the previous run that had the same store, scope and filters, and save only new products, price and regular-price changes, sell-outs, back-in-stock and removed products (each row has changeType, changes and the previous values). The first run saves everything as \"new\" (the baseline). Unchanged products are not saved and are charged as \"Product checked\", half the price of a result. Schedule it daily to track competitors.",
            "default": false
          },
          "saveUnchanged": {
            "title": "Monitor mode: also save unchanged products",
            "type": "boolean",
            "description": "In monitor mode, save unchanged products too (changeType \"unchanged\"), charged as normal results. Useful for a full daily snapshot with change flags.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan. If a store keeps throttling datacenter IPs (HTTP 429), its product data is retried on residential proxies when your account has them, at no extra charge to you.",
            "default": {
              "useApifyProxy": true
            }
          },
          "_noResidential": {
            "title": "Run as an account without residential proxies",
            "type": "boolean",
            "description": "Internal (canaries): behave exactly like an account without the RESIDENTIAL proxy group.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}