{
  "openapi": "3.0.1",
  "info": {
    "title": "WooCommerce Products Scraper — Prices, SKUs & Stock",
    "description": "Export any public WooCommerce store's catalog by domain — no API key: name, SKU, price, sale price, stock, categories, attributes and images. Many stores in one run. For competitor price tracking and supplier imports. $0.50 per 1,000 products, usage included.",
    "version": "0.1",
    "x-build-id": "tdzJe8Q954QErmhd9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~independent-woocommerce-catalog/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-independent-woocommerce-catalog",
        "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/peerless_columbine~independent-woocommerce-catalog/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-independent-woocommerce-catalog",
        "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/peerless_columbine~independent-woocommerce-catalog/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-independent-woocommerce-catalog",
        "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": {
          "domains": {
            "title": "Store homepages",
            "type": "array",
            "description": "Required. List of WooCommerce store homepages to export, one per entry. Give only the store root: bare domain, with or without https:// and www, trailing slash OK (e.g. `porterandyork.com`, `https://www.shop.example/`). Product, category or other path URLs are rejected. The store must have the public WooCommerce Store API enabled (the WooCommerce default). Invalid entries are reported and skipped; other stores still run.",
            "items": {
              "type": "string"
            }
          },
          "maxProducts": {
            "title": "Products per store (0 = unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of unique products to export from EACH store. 0 = no limit (whole catalog). Set a small number such as 5–50 for a quick sample. When the limit is reached the store is reported as partial coverage. Minimum: 0.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Source proxy",
            "type": "object",
            "description": "Leave as default (direct connection, no proxy) unless a store blocks direct requests. Accepts Apify Proxy groups/country or your own HTTP(S) proxy URLs (not both). If a proxy is set, requests never fall back to a direct connection. Apify proxy usage during the run is included. Custom proxy providers may charge separately.",
            "default": {
              "useApifyProxy": false
            }
          },
          "datasetId": {
            "title": "Existing additional Dataset ID",
            "type": "string",
            "description": "Advanced, leave empty unless you want an extra copy of the products appended to an existing Apify Dataset you own. Must be a 17-character Apify Dataset ID (letters and digits), e.g. `aBcD3fGh1JkLmN0pQ`. Products always go to the run's default Dataset first; the copy adds no extra product fee. The Actor never creates datasets or writes to datasets you don't own."
          },
          "runId": {
            "title": "Associated previous run ID",
            "type": "string",
            "description": "Advanced, leave empty unless you want to tag output with a previous run for your own tracking. Must be a 17-character Apify run ID, e.g. `aBcD3fGh1JkLmN0pQ`. It is only copied into each product's `associatedRunId` and the reports; nothing from that run (input or data) is fetched or reused."
          },
          "search": {
            "title": "Optional source search",
            "type": "string",
            "description": "Optional keyword filter passed to the store's own product search (matches product names/descriptions as WooCommerce does). Leave empty to export all products. Example: `steak`. Applied to every store in `domains`.",
            "default": ""
          },
          "pageSize": {
            "title": "Source page size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Products requested per API page, 1–100. Leave at 100 (default) for full exports; smaller pages only mean more requests. Allowed range: 1–100.",
            "default": 100
          },
          "requestDelayMillis": {
            "title": "Source request delay",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Minimum pause in milliseconds between requests to the same store. Raised automatically if the store's robots.txt sets a Crawl-delay. Failed requests are not retried. Leave at default unless the store rate-limits you. Allowed range: 0–60,000.",
            "default": 500
          },
          "requestTimeoutSecs": {
            "title": "Per source attempt deadline",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Timeout in seconds for a single page request, including robots.txt check, DNS and redirects. Leave at default unless a store is very slow. Allowed range: 1–300.",
            "default": 30
          },
          "runTimeoutSecs": {
            "title": "Source work deadline",
            "minimum": 5,
            "maximum": 86400,
            "type": "integer",
            "description": "Overall time budget in seconds for fetching products across all stores. When it runs out the Actor stops and keeps the products already saved (reported as partial). Raise it for very large catalogs; the platform run timeout still applies. Allowed range: 5–86,400.",
            "default": 900
          },
          "maxRequests": {
            "title": "Source transport cap (0 = unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of HTTP requests for the whole run (includes robots.txt, redirects and diagnostic checks). 0 = no cap. Use it to bound cost on unknown stores. Minimum: 0.",
            "default": 0
          },
          "maxResponseBytes": {
            "title": "Per-response raw/decoded byte limit",
            "minimum": 1024,
            "maximum": 52428800,
            "type": "integer",
            "description": "Maximum size in bytes of one API response (checked both compressed and decompressed). A larger response stops that store instead of being truncated. Leave at default (8 MiB) unless pages are huge. Allowed range: 1024–52,428,800.",
            "default": 8388608
          },
          "maxRecordBytes": {
            "title": "Per product/report JSON byte limit",
            "minimum": 1024,
            "maximum": 8388608,
            "type": "integer",
            "description": "Maximum size in bytes of one output product (plain UTF-8 JSON). Larger products are skipped (not truncated) and coverage is marked partial; an oversized report record fails the run. Leave at default (8 MiB = maximum). Allowed range: 1024–8,388,608.",
            "default": 8388608
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}