{
  "openapi": "3.0.1",
  "info": {
    "title": "Ebay Store Scraper",
    "description": "Turn any eBay store into clean, structured data. You can monitor any eBay stores with ease. Give it a store link and it collects every product; titles, prices, photos, descriptions, conditions, part numbers — plus the seller's reviews. Run it once, or on a schedule to track price and stock.",
    "version": "0.0",
    "x-build-id": "SojWqmiYdkWoyx925"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/enckay~ebay-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-enckay-ebay-store-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/enckay~ebay-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-enckay-ebay-store-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/enckay~ebay-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-enckay-ebay-store-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",
        "required": [
          "storeUrls"
        ],
        "properties": {
          "storeUrls": {
            "title": "Store URLs or seller usernames",
            "type": "array",
            "description": "eBay stores to scrape. Accepts a full store URL (https://www.ebay.com/str/<store>), a seller profile URL (https://www.ebay.com/usr/<user>), a search URL containing _ssn=<user>, or a bare seller username.\n\nTo scrape a store on a specific marketplace, append country codes to the line — e.g. \"mystore,de\" (German site) or \"mystore,de,us\" (both, compared) — which overrides the Marketplace option for that store only.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "eBay marketplace (country)",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "IT",
              "ES",
              "AU",
              "CA",
              "AT",
              "CH",
              "IE",
              "NL",
              "BE",
              "PL"
            ],
            "type": "string",
            "description": "Which eBay country site to load stores from — sets currency, language and which listings are shown. Applies to every store unless a line overrides it. Override per line by appending a country code: \"mystore,de\" scrapes it on ebay.de; \"mystore,de,us\" scrapes it on both (charged per market). Reviews are the same on every site, so they're collected once per store regardless.",
            "default": "US"
          },
          "maxListings": {
            "title": "Max listings per store",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of listings enumerated per store. 0 = all listings in the store.",
            "default": 0
          },
          "monitorMode": {
            "title": "Monitor mode (fast: prices & availability only)",
            "type": "boolean",
            "description": "Enumerate listing cards only (itemId, title, price, image, availability) without opening each item page. Fastest option — ideal for scheduled price/inventory monitoring. Overrides 'Scrape item details'.",
            "default": false
          },
          "scrapeItemDetails": {
            "title": "Scrape full item details",
            "type": "boolean",
            "description": "Open each listing's item page to extract condition, brand, MPN, all images, item specifics and the full description. Slower (one HTTP request per item).",
            "default": false
          },
          "scrapeReviews": {
            "title": "Scrape seller reviews/feedback",
            "type": "boolean",
            "description": "Pull the seller's feedback score, positive-feedback percentage and recent review comments.",
            "default": false
          },
          "maxReviews": {
            "title": "Max reviews per store",
            "minimum": 0,
            "type": "integer",
            "description": "Cap reviews collected per store. 0 = all available (paginated).",
            "default": 100
          },
          "itemsPerPage": {
            "title": "Listings per page (_ipg)",
            "minimum": 48,
            "maximum": 240,
            "type": "integer",
            "description": "eBay storefront page size. Higher = fewer requests to enumerate a store. 240 is the recommended maximum.",
            "default": 240
          },
          "sortNewest": {
            "title": "Sort by newly listed",
            "type": "boolean",
            "description": "Enumerate newest listings first (_sop=10). Useful for monitoring new additions to a store.",
            "default": false
          },
          "detailConcurrency": {
            "title": "Item-detail concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of item pages fetched in parallel over HTTP. Higher is faster but more detectable; 5–10 is a good range.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for warm + HTTP requests. Residential is strongly recommended; the actor pins warm and HTTP to one sticky session so cookies stay IP-consistent.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}