{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify & WooCommerce Product, Price & Stock Tracker",
    "description": "Track products, prices and stock on Shopify and WooCommerce stores. Returns variants, price, inventory and images. Monitoring returns new, changed and removed products with old and new values. $0.001/product ($0.002 if changed) and $0.002/store, with lower prices on higher Apify plans. Cap 50/store.",
    "version": "1.0",
    "x-build-id": "hWy1QUHVv84ZnV9u0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyutil~shopify-woocommerce-product-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyutil-shopify-woocommerce-product-tracker",
        "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/steadyutil~shopify-woocommerce-product-tracker/runs": {
      "post": {
        "operationId": "runs-sync-steadyutil-shopify-woocommerce-product-tracker",
        "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/steadyutil~shopify-woocommerce-product-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-steadyutil-shopify-woocommerce-product-tracker",
        "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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Store, collection or product URLs",
            "type": "array",
            "description": "One store, collection or product URL per line. A home page or domain (allbirds.com) scrapes the catalog. A Shopify collection (/collections/sale) or WooCommerce category (/product-category/shoes) scrapes that part only. Product URLs scrape those products. Works with Shopify, WooCommerce and stores that publish schema.org Product data. Each store checked costs $0.002; each product saved costs $0.001.",
            "items": {
              "type": "string"
            }
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "auto",
              "shopify",
              "woocommerce",
              "generic"
            ],
            "type": "string",
            "description": "Store platform. Leave 'auto' (default) unless auto-detect picks the wrong one. Allowed: auto, shopify, woocommerce, generic.",
            "default": "auto"
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many products per store, collection or product list. Default 50 so a first agent call stays cheap. Set 0 for no limit. Each saved product is charged at $0.001.",
            "default": 50
          },
          "outputMode": {
            "title": "Output",
            "enum": [
              "product",
              "variant"
            ],
            "type": "string",
            "description": "How to write rows: 'product' (default, one row per product including a variants array) or 'variant' (one row per SKU, easier for spreadsheets). You pay per product either way.",
            "default": "product"
          },
          "keywords": {
            "title": "Keywords (any)",
            "type": "array",
            "description": "Keep products that contain at least one of these words (whole-word, case-insensitive) in the fields chosen by keywordsScope. Leave empty for all products.",
            "items": {
              "type": "string"
            }
          },
          "keywordsScope": {
            "title": "Search keywords in",
            "enum": [
              "title",
              "title_tags",
              "all"
            ],
            "type": "string",
            "description": "Where keywords are matched. 'title' = product title only; 'title_tags' (default) = title plus tags; 'all' = title, tags, vendor, type and description.",
            "default": "title_tags"
          },
          "excludeKeywords": {
            "title": "Exclude keywords (title)",
            "type": "array",
            "description": "Drop products whose title contains any of these words, e.g. gift card, sample.",
            "items": {
              "type": "string"
            }
          },
          "collections": {
            "title": "Collections / categories",
            "type": "array",
            "description": "Keep products in any of these Shopify collections or WooCommerce categories. Use a handle, slug or name, e.g. sale, mens-shoes.",
            "items": {
              "type": "string"
            }
          },
          "productTypes": {
            "title": "Product types",
            "type": "array",
            "description": "Keep products of these Shopify product types, e.g. Hoodie, Coffee.",
            "items": {
              "type": "string"
            }
          },
          "vendors": {
            "title": "Vendors / brands",
            "type": "array",
            "description": "Keep products from these vendors or brands (case-insensitive). Leave empty for all vendors.",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Keep products that have any of these tags. Leave empty for all tags.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep variants priced at or above this number, in the store's own currency. Omit for no floor."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep variants priced at or below this number, in the store's own currency. Omit for no ceiling."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "If true, drop sold-out variants and products with no in-stock variant. Default false.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "If true, keep only variants whose compare-at (was) price is above the current price. Default false.",
            "default": false
          },
          "minDiscountPct": {
            "title": "Min discount %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep variants discounted by at least this percentage off the compare-at price. Omit for no discount floor. Allowed 0–100."
          },
          "createdWithinDays": {
            "title": "Added within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products created or published in the last N days. Shopify only; other platforms often omit this date. Omit for no recency filter."
          },
          "monitoringMode": {
            "title": "Monitoring mode (only changes)",
            "type": "boolean",
            "description": "If true, remember every product between runs and output only changes: new, removed, price, stock and variant changes, with old and new values. The first run is the baseline. Default false.",
            "default": false
          },
          "changeTypes": {
            "title": "Changes to report",
            "type": "array",
            "description": "Which changes count. Inventory quantity is only published by some stores and changes often.",
            "items": {
              "type": "string",
              "enum": [
                "price",
                "compareAt",
                "stock",
                "inventory",
                "variants",
                "content"
              ],
              "enumTitles": [
                "Price",
                "Compare-at (was) price",
                "In stock / sold out",
                "Inventory quantity",
                "Variants added/removed",
                "Title or description"
              ]
            },
            "default": [
              "price",
              "compareAt",
              "stock",
              "variants"
            ]
          },
          "minPriceChangePct": {
            "title": "Min price change %",
            "minimum": 0,
            "type": "integer",
            "description": "Ignore price changes smaller than this percentage.",
            "default": 0
          },
          "includeNewProducts": {
            "title": "Report new products",
            "type": "boolean",
            "description": "Output products that were not in the last snapshot.",
            "default": true
          },
          "includeRemovedProducts": {
            "title": "Report removed products",
            "type": "boolean",
            "description": "Output products that disappeared since the last run. Skipped when a run hit the max products limit or a page failed, so nothing is reported as removed by mistake.",
            "default": true
          },
          "outputUnchangedProducts": {
            "title": "Also output unchanged products",
            "type": "boolean",
            "description": "Output every product on every run, with changeType \"unchanged\" for the rest (charged as normal products).",
            "default": false
          },
          "monitoringStateStoreName": {
            "title": "Snapshot store name",
            "type": "string",
            "description": "Named key-value store that keeps the snapshots. Use a different name per task to keep separate histories.",
            "default": "steadyutil-shopify-woocommerce-product-tracker-state"
          },
          "descriptionFormat": {
            "title": "Description",
            "enum": [
              "text",
              "html",
              "both",
              "none"
            ],
            "type": "string",
            "description": "Product description format: 'text' (default), 'html', 'both', or 'none' to omit the body and keep items smaller.",
            "default": "text"
          },
          "includeImages": {
            "title": "Include all image URLs",
            "type": "boolean",
            "description": "Add the full image list (the main image is always included).",
            "default": true
          },
          "mapCollections": {
            "title": "Map Shopify collections",
            "type": "boolean",
            "description": "Add the collections each product belongs to. Shopify's product feed has no collections, so this reads each collection's product list: done only for stores with up to \"Max collections to map\" collections (about 1 extra request per collection).",
            "default": true
          },
          "maxCollectionsToMap": {
            "title": "Max collections to map",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Default 100. Shopify stores with more collections than this skip collection mapping (products then have collections: null). Each mapped collection costs about one extra request. Filtering by collection works regardless.",
            "default": 100
          },
          "includeStoreSummaries": {
            "title": "Store summary rows",
            "type": "boolean",
            "description": "Add one free summary row per store: platform, product counts, price range, stock and sale counts, top vendors and types, and (in monitoring) change counts.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Stores in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many stores to process at once. Default 4.",
            "default": 4
          },
          "detailConcurrency": {
            "title": "Product pages in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel product-page requests per store when the sitemap + product-page fallback is used. Default 4.",
            "default": 4
          },
          "maxRequestsPerHost": {
            "title": "Max parallel requests per store",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Max parallel requests to one store host (politeness limit). Default 4.",
            "default": 4
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (s)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout in seconds for a single HTTP request. Default 30.",
            "default": 30
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Retries for failed or rate-limited requests.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Not needed for most stores. Use Apify datacenter proxies if a store rate-limits you; residential proxy traffic is charged per MB.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}