{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Product Details Scraper — Watchlist & Price Details",
    "description": "🛍️ eBay Product Details Scraper grabs rich listing data in one click — titles, prices, images, specs, seller & shipping, variations, stock, category, ratings & reviews. ⚡ Fast, API-ready. Export CSV/JSON. 🔍 Ideal for market research, price tracking, SEO, analytics & dropshipping.",
    "version": "0.1",
    "x-build-id": "1fQzBAFoWPUxE6u4X"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scraper-engine~ebay-product-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scraper-engine-ebay-product-details-scraper",
        "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/scraper-engine~ebay-product-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scraper-engine-ebay-product-details-scraper",
        "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/scraper-engine~ebay-product-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scraper-engine-ebay-product-details-scraper",
        "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": {
          "watchlistUrls": {
            "title": "🔗 Listings on your watchlist",
            "type": "array",
            "description": "One eBay item link per line, copied from the address bar (for example https://www.ebay.com/itm/123456789012). Add as many as you like — each one gets its own price history. Tip: keep the same list between runs so the comparison has something to compare against.",
            "items": {
              "type": "string"
            }
          },
          "watchlistId": {
            "title": "🗂️ Watchlist name",
            "type": "string",
            "description": "Groups price history under one name so separate projects never mix. Runs sharing this name share their price history; change it to start a clean, independent history. Example: sneaker-deals.",
            "default": "default"
          },
          "priceDropAlertPercent": {
            "title": "🚨 Flag a drop of at least (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Sets isPriceDropAlert to true when a listing's price fell by at least this percentage since the previous run. Example: 5 flags a $100 → $94 move but not $100 → $97. On a listing's very first run there is nothing to compare with, so the flag is reported as empty.",
            "default": 5
          },
          "onlyPriceChangedItems": {
            "title": "🔀 Save only listings whose price moved",
            "type": "boolean",
            "description": "When on, a listing whose price is identical to the previous run is skipped instead of saved — handy for a daily re-run where you only want the movers. Its price history is still updated, and first-time listings are always saved. Default is off.",
            "default": false
          },
          "minWatchers": {
            "title": "👀 Minimum watchers",
            "minimum": 0,
            "type": "integer",
            "description": "Only save listings that at least this many shoppers are watching right now — a direct demand signal read from the listing page. Example: 50 keeps only listings with 50 or more watchers. Use 0 to keep everything. Default is 0.",
            "default": 0
          },
          "listingFormatFilter": {
            "title": "🏷️ Listing format to keep",
            "enum": [
              "any",
              "auction",
              "fixed_price"
            ],
            "type": "string",
            "description": "Keep every listing, only live auctions (these carry a bid count and a countdown), or only fixed-price listings. Default keeps everything.",
            "default": "any"
          },
          "urls": {
            "title": "🧩 Legacy URL list",
            "type": "array",
            "description": "Compatibility field. Older setups that send their listing links under this name keep working unchanged — it is used only when the watchlist list above is empty. Leave it alone if you filled in the watchlist above.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🧩 Legacy start URL list",
            "type": "array",
            "description": "Second compatibility field for setups that send listing links under this name. Used only when both lists above are empty.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "🌐 Connection settings",
            "type": "object",
            "description": "Leave enabled so the run can switch routes automatically if a listing page is slow to respond. Turn it off to connect directly only."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}