{
  "openapi": "3.0.1",
  "info": {
    "title": "WooCommerce Products Scraper - Prices, Stock, SKUs, Variations",
    "description": "WooCommerce products scraper and API: paste store, category or product URLs, filter by keyword, category, price, sale or stock. One row per product: name, SKU, price, sale price, stock qty, categories, attributes, variations, rating, images. No login. Daily price monitoring. $0.75 per 1,000.",
    "version": "1.0",
    "x-build-id": "TUEMaORnZohRolvj0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~woocommerce-store-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-woocommerce-store-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/rel8ble~woocommerce-store-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-woocommerce-store-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/rel8ble~woocommerce-store-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-woocommerce-store-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 stores, categories or products",
            "type": "array",
            "description": "Required (empty = demo store barefootbuttons.com). One per line, any mix of: a store domain or URL (\"nalgene.com\", \"https://porterandyork.com\") = every product; a category URL (\"https://example.com/product-category/shoes/\") = only that category; a product URL (\"https://example.com/product/blue-shirt/\") = that one product. Works for any WordPress + WooCommerce store whose public Store API is on (WooCommerce 4+, the default). Paste hundreds of stores for bulk runs. Sites that are not WooCommerce, block bots, or bar /wp-json/ in robots.txt are listed as failed in the run summary and never charged.",
            "items": {
              "type": "string"
            }
          },
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Optional. One store search per keyword in every store (the store's own WooCommerce product search: name, description, SKU), e.g. \"bottle\", \"gift card\", \"SKU-123\". Bulk: up to 100 keywords x many stores; a product found by two keywords is saved once. Empty = all products.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories (slug or name)",
            "type": "array",
            "description": "Optional. Keep only products in these store categories, by slug or name as the store shows it (\"accessories\", \"Water Bottles\"); case does not matter. Unknown names are listed in the run summary with the store's real category slugs. Applies to whole-store inputs; a category URL already sets its category.",
            "items": {
              "type": "string"
            }
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Optional. true = only products with a sale price (the store filters, then the actor double-checks). Default false.",
            "default": false
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Optional. true = only products in stock. Default false.",
            "default": false
          },
          "minPrice": {
            "title": "Min price",
            "type": "string",
            "description": "Optional. Lowest price in the store's own currency, e.g. \"10\" or \"49.99\". Empty = no limit."
          },
          "maxPrice": {
            "title": "Max price",
            "type": "string",
            "description": "Optional. Highest price in the store's own currency, e.g. \"100\". Empty = no limit."
          },
          "nameKeywords": {
            "title": "Name must contain",
            "type": "array",
            "description": "Optional. Keep only products whose name contains at least one of these words (case- and accent-insensitive). Filtered rows are not charged.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Name must not contain",
            "type": "array",
            "description": "Optional. Drop products whose name contains any of these words, e.g. \"gift card\", \"sample\". Not charged.",
            "items": {
              "type": "string"
            }
          },
          "withSkuOnly": {
            "title": "Only products with a SKU",
            "type": "boolean",
            "description": "Optional. true = skip products without a SKU. Default false.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "date",
              "price",
              "popularity",
              "rating",
              "title",
              "menu_order",
              "modified"
            ],
            "type": "string",
            "description": "Optional. Order the store returns products in (matters when Max products per store cuts the list): date (newest, default), price, popularity (best sellers), rating, title, menu_order (the store's own order), modified (last changed).",
            "default": "date"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Optional. desc (default: newest, most expensive, best selling first) or asc.",
            "default": "desc"
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Products to save per store, counted after filters. Default 100; 0 = every product. Typical cost: 1,000 products = $0.75.",
            "default": 100
          },
          "includeVariations": {
            "title": "Include variations",
            "type": "boolean",
            "description": "Optional. true = for variable products (sizes / colours) add a variations array with each variation's SKU, attributes, price, sale price and stock. One extra request per variable product; still one charged result per product. Default false.",
            "default": false
          },
          "includeDescription": {
            "title": "Include full description",
            "type": "boolean",
            "description": "Optional. true (default) = full product description as plain text. false = short description only (smaller rows).",
            "default": true
          },
          "maxConcurrency": {
            "title": "Stores in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Stores read at the same time, 1-20. Default 5. Pages of one store are always read one after another, and robots.txt Crawl-delay is honoured (up to 10 s).",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Default: direct connection, with an automatic retry through Apify Proxy when a store times out or refuses. Set a proxy group here only if many stores fail with access denied.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}