{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify & WooCommerce Products Scraper and Price Monitor",
    "description": "Get every product, price, variant and stock status from any Shopify or WooCommerce store, detected automatically. Monitoring mode returns only new products, price drops and stock changes. Best sellers on WooCommerce, free store summary. $0.50 per 1,000 products.",
    "version": "1.0",
    "x-build-id": "jrqDbb5tIoqEjGpi2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blueberry_rainstorm~shopify-products-price-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blueberry_rainstorm-shopify-products-price-monitor",
        "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/blueberry_rainstorm~shopify-products-price-monitor/runs": {
      "post": {
        "operationId": "runs-sync-blueberry_rainstorm-shopify-products-price-monitor",
        "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/blueberry_rainstorm~shopify-products-price-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-blueberry_rainstorm-shopify-products-price-monitor",
        "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": [
          "stores"
        ],
        "properties": {
          "stores": {
            "title": "Stores",
            "type": "array",
            "description": "One store per line: a store link or domain (https://www.allbirds.com), a Shopify collection link (https://kith.com/collections/kith-tops) or a WooCommerce category link (https://shop.com/product-category/shoes/). Shopify or WooCommerce is detected for you.",
            "default": [
              "https://www.deathwishcoffee.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "emailTo": {
            "title": "Email me the report at",
            "type": "string",
            "description": "Your Apify account's email address (Apify's own Send Email actor only sends to that address). After each run you get the short report by email: price drops, stock changes, new and removed products. Costs well under a cent per email. Leave empty for no email."
          },
          "emailWhen": {
            "title": "Send the email",
            "enum": [
              "changes",
              "always"
            ],
            "type": "string",
            "description": "With monitoring on, days with no changes send no email unless you choose \"After every run\".",
            "default": "changes"
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Shopify stores give 250 products per request and WooCommerce stores 100, so even big catalogs take seconds to a few minutes. Removed products are only reported when the whole catalog (or collection) fits under this limit.",
            "default": 100
          },
          "bestSellersFirst": {
            "title": "Best sellers first (WooCommerce)",
            "type": "boolean",
            "description": "WooCommerce stores return products by sales, with a bestSellerRank on each row. Shopify stores don't publish sales order, so they keep the store's own order.",
            "default": false
          },
          "monitorChanges": {
            "title": "Only changes since my last run (monitoring)",
            "type": "boolean",
            "description": "The first run saves every product as a baseline. Every later run returns only what changed: new products, removed products, price drops and increases (old and new price, % change), out of stock and back in stock, per variant. Schedule it daily to watch competitors.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Use a different name to keep separate monitoring histories for the same stores."
          },
          "includePriceHistory": {
            "title": "Price history on changes",
            "type": "boolean",
            "description": "With monitoring, each change row gets the product's price history (every price change seen since you started watching it), its lowest and highest price, and a \"lowest price seen\" flag on price drops. The history is kept in your own Apify storage and grows with every scheduled run.",
            "default": true
          },
          "includeDescription": {
            "title": "Include product descriptions",
            "type": "boolean",
            "description": "Plain-text product description (up to 5,000 characters). Switch off for smaller exports.",
            "default": true
          },
          "includeSummary": {
            "title": "Free store summary",
            "type": "boolean",
            "description": "One free row per store: product and variant counts, price range and median, share on sale and average discount, out-of-stock share, top vendors, product types and categories, newest products, and in monitoring mode the count of each change type and the biggest price drops.",
            "default": true
          },
          "includeDigest": {
            "title": "Digest you can read in an email",
            "type": "boolean",
            "description": "One free row (and a DIGEST text file) per run that reads like a short email: \"Allbirds: 3 prices dropped, 1 item out of stock\", then one line per change. Its first line is also the run's status message, so Apify's Slack and email notifications can show it.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}