{
  "openapi": "3.0.1",
  "info": {
    "title": "Multi Store Price Tracker Amazon EBay Newegg Shopify",
    "description": "Monitor Amazon, eBay, Newegg & Shopify prices and stock in one run. Detect price drops, restocks, and changes. Build history, filter alerts, and send results to Slack, Sheets, or Zapier.",
    "version": "0.0",
    "x-build-id": "LQLSdPocW3Z24rtVL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify",
        "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/b2b_leads~Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify",
        "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/b2b_leads~Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-Multi-Store-Price-Tracker-Amazon-eBay-Newegg-Shopify",
        "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": {
          "startUrls": {
            "title": "Product page URLs",
            "type": "array",
            "description": "Paste links to the exact product pages you want to watch. We auto-detect Amazon, eBay, Newegg, and Shopify. For Shopify, use a URL that contains /products/.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searches": {
            "title": "Keyword searches (optional)",
            "type": "array",
            "description": "Instead of pasting URLs, search Amazon, eBay, or Newegg by keyword and track the top matching products. Leave empty if you only use product URLs above.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "keyword": {
                  "title": "Search keyword",
                  "type": "string",
                  "description": "What to search for, e.g. wireless mouse, RTX 4070, airpods pro.",
                  "editor": "textfield",
                  "minLength": 1,
                  "prefill": "wireless mouse"
                },
                "platform": {
                  "title": "Store",
                  "type": "string",
                  "description": "Which store to run the search on. Shopify is not supported for keyword search — use product URLs instead.",
                  "editor": "select",
                  "enum": [
                    "amazon",
                    "ebay",
                    "newegg"
                  ],
                  "enumTitles": [
                    "Amazon",
                    "eBay",
                    "Newegg"
                  ],
                  "default": "amazon"
                },
                "maxResults": {
                  "title": "Max products to track",
                  "type": "integer",
                  "description": "How many products from the search results to open and monitor (1–50).",
                  "editor": "number",
                  "default": 10,
                  "minimum": 1,
                  "maximum": 50
                }
              },
              "required": [
                "keyword",
                "platform"
              ]
            }
          },
          "trackHistory": {
            "title": "Save price history",
            "type": "boolean",
            "description": "Keep a running history of each product’s price so you can see lowest, highest, and average over time.",
            "default": true
          },
          "alertOnPriceDrop": {
            "title": "Alert when price drops",
            "type": "boolean",
            "description": "Mark a product as an alert when the price falls by at least the threshold below.",
            "default": true
          },
          "priceDropThresholdPercent": {
            "title": "Minimum price drop to alert (%)",
            "minimum": 0,
            "type": "number",
            "description": "Example: 5 means you only get a price-drop alert if the price falls by 5% or more. Use 0 to alert on any decrease.",
            "default": 5
          },
          "alertOnAnyPriceChange": {
            "title": "Alert on any price change",
            "type": "boolean",
            "description": "Also alert when the price goes up, not just down. Useful for competitor tracking.",
            "default": false
          },
          "alertOnStockChange": {
            "title": "Alert when stock status changes",
            "type": "boolean",
            "description": "Get notified when an item goes from in stock to out of stock, or the other way around.",
            "default": true
          },
          "alertOnBackInStock": {
            "title": "Alert when back in stock",
            "type": "boolean",
            "description": "Get a dedicated alert when a product that was out of stock becomes available again.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Use Apify Proxy with US Residential for best results on Amazon and eBay. Leave the default unless you know you need something else.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}