{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Price Tracker — Title, Image & Product Updates",
    "description": "Amazon Price Tracker monitors product prices and updates, including product titles, images, current prices, availability, ratings, and product changes. Ideal for price monitoring, competitor research, product tracking, and e-commerce analysis.",
    "version": "0.1",
    "x-build-id": "7GWSfEsytTSnt3JTs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simpleapi~amazon-price-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simpleapi-amazon-price-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/simpleapi~amazon-price-tracker/runs": {
      "post": {
        "operationId": "runs-sync-simpleapi-amazon-price-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/simpleapi~amazon-price-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-simpleapi-amazon-price-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",
        "properties": {
          "watchListLinks": {
            "title": "🔗 Amazon Search or Category Links",
            "type": "array",
            "description": "Paste one or more Amazon search/category URLs (e.g. `https://www.amazon.com/s?k=laptop`). Each link is paginated automatically until the product target is reached.",
            "items": {
              "type": "string"
            }
          },
          "productIdsOrUrls": {
            "title": "🆔 Direct ASINs or Product URLs (optional)",
            "type": "array",
            "description": "Optional. Add specific 10-character ASINs (e.g. `B0CZL2SLCJ`) or full `/dp/` product URLs to track exactly those products, in addition to (or instead of) the search links above.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsToTrack": {
            "title": "🎯 Max Products To Track",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on how many products to extract across all search links and direct IDs. Stops the run cleanly once reached."
          },
          "resultsOrder": {
            "title": "🔀 Sort Search Results By",
            "enum": [
              "relevance",
              "price low to high",
              "price high to low",
              "avg. customer review",
              "newest arrival",
              "popularity"
            ],
            "type": "string",
            "description": "Choose how Amazon should order results before scraping. Only affects the search-link discovery path."
          },
          "priceFloor": {
            "title": "💵 Minimum Price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Skip products priced below this value. Use `0` to disable."
          },
          "priceCeiling": {
            "title": "💰 Maximum Price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Skip products priced above this value. Use `0` to disable (no ceiling)."
          },
          "ratingFloor": {
            "title": "⭐ Minimum Star Rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Skip products rated below this (0–5 scale). Use `0` to disable."
          },
          "reviewFloor": {
            "title": "💬 Minimum Review Count",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products with fewer than this many reviews. Use `0` to disable."
          },
          "fetchConcurrency": {
            "title": "⚡ Parallel Requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many products to fetch in parallel.",
            "default": 4
          },
          "requestPaceSeconds": {
            "title": "⏱️ Delay Between Requests (seconds)",
            "minimum": 0.25,
            "maximum": 10,
            "type": "number",
            "description": "Minimum spacing between outgoing requests. Lower is faster but more likely to trigger extra retries.",
            "default": 1
          },
          "start_urls": {
            "title": "🔗 Amazon Search URLs (legacy key)",
            "type": "array",
            "description": "Legacy alias of \"Amazon Search or Category Links\" above (same field, original base key name).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "🎯 Maximum Products to Collect (legacy key)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Legacy alias of \"Max Products To Track\" above."
          },
          "sort_by": {
            "title": "🔀 Sort Results By (legacy key)",
            "enum": [
              "relevance",
              "price low to high",
              "price high to low",
              "avg. customer review",
              "newest arrival",
              "popularity"
            ],
            "type": "string",
            "description": "Legacy alias of \"Sort Search Results By\" above."
          },
          "minPrice": {
            "title": "💵 Minimum Price (legacy key)",
            "minimum": 0,
            "type": "number",
            "description": "Legacy alias of \"Minimum Price\" above. Use `0` to disable."
          },
          "maxPrice": {
            "title": "💰 Maximum Price (legacy key)",
            "minimum": 0,
            "type": "number",
            "description": "Legacy alias of \"Maximum Price\" above. Use `0` to disable."
          },
          "minRating": {
            "title": "⭐ Minimum Star Rating (legacy key)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Legacy alias of \"Minimum Star Rating\" above. Use `0` to disable."
          },
          "minReviews": {
            "title": "💬 Minimum Review Count (legacy key)",
            "minimum": 0,
            "type": "integer",
            "description": "Legacy alias of \"Minimum Review Count\" above. Use `0` to disable."
          },
          "concurrency": {
            "title": "⚡ Parallel Product Workers (legacy key)",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Legacy alias of \"Parallel Requests\" above."
          },
          "requestDelay": {
            "title": "⏱️ Average Delay Between Requests (seconds) (legacy key)",
            "minimum": 0.25,
            "maximum": 10,
            "type": "number",
            "description": "Legacy alias of \"Delay Between Requests\" above."
          },
          "enableIntegrityTracking": {
            "title": "🧭 Track Title, Brand, Image & Category Changes",
            "type": "boolean",
            "description": "When on, every product's title/brand/image/category is compared against the value recorded on its most recent prior run, and drift is flagged on the row.",
            "default": true
          },
          "integrityCheckFields": {
            "title": "🔍 Fields To Watch For Drift",
            "type": "array",
            "description": "Choose which fields count toward the listing-integrity score and alerts. All fields are still recorded either way.",
            "items": {
              "type": "string",
              "enum": [
                "title",
                "image",
                "brand",
                "category",
                "attributes"
              ],
              "enumTitles": [
                "📝 Title",
                "🖼️ Main image",
                "🏷️ Brand",
                "🗂️ Category",
                "📋 Spec attributes"
              ]
            },
            "default": [
              "title",
              "image",
              "brand",
              "category",
              "attributes"
            ]
          },
          "alertOnCategoryChange": {
            "title": "🚩 Alert On Category Reassignment",
            "type": "boolean",
            "description": "A listing being moved into an unrelated category is a known hijack technique. When on, a category change also lowers the listing-integrity score, not just informational.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy Configuration",
            "type": "object",
            "description": "Optional. Tune this only if you want to force a specific Apify proxy group from the start.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}