{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay + Etsy Scraper Pro - Vintage Watches",
    "description": "Find ANY product on eBay + Etsy using smart search or category presets. 8 categories, multi-marketplace, anti-bot protection.",
    "version": "0.4",
    "x-build-id": "OlwNvUgwWWmbuIVRi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fuzzy_bracelet~ebay-etsy-marketplace-scraper-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fuzzy_bracelet-ebay-etsy-marketplace-scraper-pro",
        "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/fuzzy_bracelet~ebay-etsy-marketplace-scraper-pro/runs": {
      "post": {
        "operationId": "runs-sync-fuzzy_bracelet-ebay-etsy-marketplace-scraper-pro",
        "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/fuzzy_bracelet~ebay-etsy-marketplace-scraper-pro/run-sync": {
      "post": {
        "operationId": "run-sync-fuzzy_bracelet-ebay-etsy-marketplace-scraper-pro",
        "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": [
          "brightDataToken"
        ],
        "properties": {
          "smartSearch": {
            "title": "Smart Search (recommended)",
            "type": "string",
            "description": "Type what you're looking for. The actor will detect brand, model, and price filters. Examples: 'Rolex Submariner', 'Wayne Gretzky autograph', 'Charizard PSA 10', 'Jordan 1 Chicago'. Works for ANY product category.",
            "default": ""
          },
          "presets": {
            "title": "Category Presets (multi-select)",
            "type": "array",
            "description": "Pick one or more from 14 pre-built categories. Each adds curated search terms. Leave empty to use only Smart Search.",
            "items": {
              "type": "string",
              "enum": [
                "watches-luxury",
                "watches-japanese",
                "watches-vintage",
                "watches-dive",
                "watches-dress",
                "watches-sports",
                "watches-pilot",
                "watches-field",
                "cards-sports",
                "cards-graded",
                "cards-pokemon",
                "cards-tcg",
                "sneakers-collectible",
                "vintage-general"
              ],
              "enumTitles": [
                "WATCHES: Luxury (Rolex, Omega, Tudor, Breitling, IWC, Patek)",
                "WATCHES: Japanese (Seiko, Casio, Citizen, Grand Seiko)",
                "WATCHES: Vintage (all eras, all brands)",
                "WATCHES: Dive (Submariner, Seamaster, SKX, Turtle)",
                "WATCHES: Dress (Tank, Calatrava, Datejust, Santos)",
                "WATCHES: Sports (Chronograph, GMT, Daytona)",
                "WATCHES: Pilot (IWC Pilot, Navitimer, Aviator)",
                "WATCHES: Field (Khaki, Military, A-11, Marathon)",
                "CARDS: Sports (MLB, NBA, NFL, NHL - all sports)",
                "CARDS: Graded (PSA, BGS, CGC, SGC)",
                "CARDS: Pokemon (Charizard, Pikachu, Base Set, 1st Edition)",
                "CARDS: TCG (MTG, Yu-Gi-Oh, One Piece)",
                "SNEAKERS: Collectible (Jordan, Yeezy, Nike, Travis Scott)",
                "VINTAGE: General (antiques, vintage toys, collectibles)"
              ]
            },
            "default": []
          },
          "customSearchTerms": {
            "title": "Custom Search Terms (optional)",
            "type": "array",
            "description": "Add your own search terms. Use exact model numbers or specific items for best results.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxListingsPerQuery": {
            "title": "Max listings per search query",
            "minimum": 5,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of listings to extract per search query (5-200).",
            "default": 50
          },
          "marketplaces": {
            "title": "Marketplaces to search",
            "type": "array",
            "description": "Which marketplaces to scrape (eBay, Etsy, or both).",
            "items": {
              "type": "string",
              "enum": [
                "ebay",
                "etsy"
              ],
              "enumTitles": [
                "eBay (active listings)",
                "Etsy (active listings)"
              ]
            },
            "default": [
              "ebay",
              "etsy"
            ]
          },
          "brightDataToken": {
            "title": "Bright Data API Token (REQUIRED)",
            "type": "string",
            "description": "Your Bright Data API token. Used to call web_unlocker1 zone which bypasses anti-bot. Get from https://brightdata.com/cp."
          },
          "brightDataZone": {
            "title": "Bright Data zone",
            "type": "string",
            "description": "Default: web_unlocker1 (anti-bot bypass).",
            "default": "web_unlocker1"
          },
          "includeSold": {
            "title": "Include sold listings (eBay only)",
            "type": "boolean",
            "description": "When true, scrapes sold listings instead of active. Returns 'last sold' prices and sale dates. Useful for deal detection (compare current vs sold). Only works for eBay marketplace. Phase 2 feature (Sept 2026).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}