{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Product Details Scraper With Buyer Reviews & Ratings",
    "description": "🛍️ eBay Product Details Scraper extracts rich listing data in one click — title, price, images, seller, item specifics, shipping, variations & reviews. ⚡ Fast, accurate, CSV/JSON export. 🔎 Perfect for market research, price tracking, SEO, and catalog enrichment.",
    "version": "0.1",
    "x-build-id": "k0Bg2dvzhXhUUaTQq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapier~ebay-product-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapier-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/scrapier~ebay-product-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapier-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/scrapier~ebay-product-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapier-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": {
          "reviewSourceUrls": {
            "title": "🛍️ eBay listings to read feedback from",
            "type": "array",
            "description": "One eBay listing address per line, copied from the browser address bar (for example https://www.ebay.com/itm/123456789012). Works with any eBay marketplace — .com, .co.uk, .de, .com.au and the rest. Add as many as you like; each one becomes its own product row.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "🧩 Legacy listing list (still accepted)",
            "type": "array",
            "description": "Kept so an input written for the original eBay Product Details Scraper keeps running unchanged. Used only when the field above is empty.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🧩 Legacy start URL list (still accepted)",
            "type": "array",
            "description": "Second legacy alias for the same list. Used only when both fields above are empty.",
            "items": {
              "type": "string"
            }
          },
          "includeBuyerFeedback": {
            "title": "💬 Also collect buyer feedback entries",
            "type": "boolean",
            "description": "On: every listing row is followed by one row per buyer feedback entry, so the comment text sits next to the product it belongs to. Off: only the product rows (plus the feedback counters) are returned. Default is on.",
            "default": true
          },
          "feedbackSource": {
            "title": "🎯 Which feedback to include",
            "enum": [
              "both",
              "thisItemOnly",
              "sellerWide"
            ],
            "type": "string",
            "description": "This listing only = strictly the entries buyers left after buying this exact listing (the most relevant, but some listings have very few). Seller-wide only = entries left for the seller across all of their listings. Both = listing-specific entries first, then seller-wide entries to fill the remaining budget.",
            "default": "both"
          },
          "maxReviewsPerItem": {
            "title": "🔢 Feedback entries per listing",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Caps the EXTRA feedback rows produced per listing. Product rows are never limited by this number. Example: 3 listings with this set to 10 returns 3 product rows plus up to 30 feedback rows. Use 0 for as many as eBay will serve (hard ceiling 500). Default is 20.",
            "default": 20
          },
          "ratingFilter": {
            "title": "⭐ Keep only this rating",
            "enum": [
              "all",
              "positive",
              "neutral",
              "negative"
            ],
            "type": "string",
            "description": "Negative-only is the fastest way to surface complaints; positive-only is useful for pulling testimonial text. Default keeps every rating.",
            "default": "all"
          },
          "verifiedPurchaseOnly": {
            "title": "✅ Verified purchases only",
            "type": "boolean",
            "description": "Drops any feedback entry that eBay does not mark as a verified purchase. Default is off.",
            "default": false
          },
          "withBuyerPhotosOnly": {
            "title": "📸 Only entries with buyer photos",
            "type": "boolean",
            "description": "Keeps only feedback entries where the buyer attached at least one photo, and returns the photo addresses on the row. Default is off.",
            "default": false
          },
          "aiReviewTagging": {
            "title": "🤖 Tag feedback with AI",
            "type": "boolean",
            "description": "Off by default. When on, each feedback comment gets a sentiment label and a complaint category, and each listing gets a description-versus-condition contradiction check. Needs your own model key below; without one the AI columns stay empty and everything else still runs.",
            "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",
              "o3-mini",
              "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",
              "mistral-small-latest",
              "mistral-large-latest"
            ],
            "type": "string",
            "description": "Provider is picked from the model name: claude-*=Anthropic, gpt-*/o1/o3=OpenAI, gemini-*=Google, grok-*=xAI, deepseek-*=DeepSeek, sonar*=Perplexity, mistral-*=Mistral. The cheaper mini/flash/haiku models are plenty for labelling short feedback text.",
            "default": "claude-haiku-4-5"
          },
          "aiApiKey": {
            "title": "🔑 AI provider key",
            "type": "string",
            "description": "Your own key for the provider chosen above. If left empty the actor falls back to an environment variable: ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, XAI_API_KEY, DEEPSEEK_API_KEY, PERPLEXITY_API_KEY or MISTRAL_API_KEY. With no key at all the AI columns are returned empty rather than guessed."
          },
          "proxyConfiguration": {
            "title": "🌐 Connection settings",
            "type": "object",
            "description": "Leave the default on. The actor starts on the fastest available connection and moves to a steadier one by itself if a listing does not come through."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}