{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Seller Scraper : Reviews & Feedback Analytics",
    "description": "🔍 eBay Seller Scraper extracts seller profiles, ratings, feedback, listings, prices & categories at scale. 📊 Export to CSV/JSON for analytics. 🚀 Perfect for competitor research, price monitoring & market insights. ⚡ Fast, reliable, and easy to integrate.",
    "version": "0.1",
    "x-build-id": "rek7wCc2MjpuEyaWC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/api-empire~ebay-seller-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-api-empire-ebay-seller-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/api-empire~ebay-seller-scraper/runs": {
      "post": {
        "operationId": "runs-sync-api-empire-ebay-seller-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/api-empire~ebay-seller-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-api-empire-ebay-seller-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": {
          "sellerProfileUrls": {
            "title": "🔗 Seller profile URLs",
            "type": "array",
            "description": "📋 **Add your targets here.** One URL per line — supports a single seller or a whole list for bulk runs.\n\n✅ Example format: `https://www.ebay.co.uk/usr/your_seller_name`\n\n💡 A plain `urls` list (the base actor's field) is still accepted for backward compatibility.",
            "items": {
              "type": "string"
            }
          },
          "feedbackSortBy": {
            "title": "📊 Sort reviews by",
            "enum": [
              "TIME",
              "RELEVANCE"
            ],
            "type": "string",
            "description": "**Time (newest first)** is recommended — it's also what the review-recency analytic relies on. **Relevance** mirrors eBay's own default ordering."
          },
          "feedbackRatingFilter": {
            "title": "👍 Rating type filter",
            "enum": [
              "All ratings",
              "POSITIVE",
              "NEUTRAL",
              "NEGATIVE"
            ],
            "type": "string",
            "description": "Collect **all feedback**, or zoom in on **positive**, **neutral**, or **negative** only. Note: a specific rating filter is scoped to eBay's own **last-12-months** window (a real platform limitation, not narrowed by this actor) — choose **All ratings** for full-history coverage."
          },
          "feedbackPhotosOnly": {
            "title": "🖼️ Photos only",
            "type": "boolean",
            "description": "Keep only feedback rows that include a buyer-submitted photo. Off by default."
          },
          "maxFeedbackPerSeller": {
            "title": "🔢 Max feedback rows per seller",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap how many feedback/review rows to collect **per seller**. Use **0** for no limit (internally safety-capped at ~4,000 rows/seller to protect against runaway pagination on very high-volume sellers)."
          },
          "computeFeedbackAnalytics": {
            "title": "📈 Compute feedback analytics",
            "type": "boolean",
            "description": "When on, each seller row gets a `feedbackAnalytics` object: positive/neutral/negative %, review velocity (reviews/month), verified-purchase ratio, and review-recency estimate."
          },
          "enableSentimentAnalysis": {
            "title": "🤖 Enable AI sentiment/topic tagging",
            "type": "boolean",
            "description": "Analyzes each review's comment text for sentiment (positive/neutral/negative/mixed) and up to 3 topic keywords. Requires `aiApiKey` below (or a matching provider env var). Leave off to keep runs free of AI cost.",
            "default": false
          },
          "aiModel": {
            "title": "🤖 AI Model / Provider",
            "enum": [
              "claude-haiku-4-5",
              "claude-sonnet-5",
              "claude-opus-4-8",
              "gpt-4o-mini",
              "gpt-4o",
              "gpt-4.1-mini",
              "gpt-4.1",
              "gemini-2.0-flash-lite",
              "gemini-2.0-flash",
              "gemini-2.5-flash",
              "gemini-2.5-pro",
              "grok-3-mini",
              "grok-3",
              "deepseek-chat",
              "sonar",
              "sonar-pro",
              "mistral-small-latest",
              "mistral-large-latest"
            ],
            "type": "string",
            "description": "Provider auto-detected from the name: claude-*=Anthropic, gpt-*/o1/o3=OpenAI, gemini-*=Google, grok-*=xAI, deepseek-*=DeepSeek, sonar*=Perplexity, mistral-*=Mistral. Cheaper mini/flash/haiku models are recommended for classification.",
            "default": "claude-haiku-4-5"
          },
          "aiApiKey": {
            "title": "🔑 AI provider API key",
            "type": "string",
            "description": "Your own API key for the selected provider. Falls back to the matching environment variable (e.g. `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`) if left blank. Ignored entirely when AI sentiment/topic tagging is off."
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy & connection (optional)",
            "type": "object",
            "description": "🌐 **You can skip this section** — the actor works with seller URLs only.\n\nIf you open this block:\n- ✅ Choose **No proxy** for normal runs, **or**\n- ✅ Turn on **Apify Proxy** and pick a group (Datacenter / Residential), **or**\n- ✅ Add your own proxy URLs under **Own proxies**.\n\n⚠️ **Do not** select **Own proxies** and leave it empty — Apify will show a validation error. Pick **No proxy** instead."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}