{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Multi-Marketplace Listing & Seller Data Scraper",
    "description": "Search eBay listings by keyword or category across 8 marketplaces, with titles, prices, conditions, sellers, ratings, watch counts, sold counts and shipping costs.",
    "version": "1.0",
    "x-build-id": "4kE2H1DS8w7oBB0Z1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~ebay-multi-marketplace-listing-and-seller-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-ebay-multi-marketplace-listing-and-seller-data",
        "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/vexaloom-labs~ebay-multi-marketplace-listing-and-seller-data/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-ebay-multi-marketplace-listing-and-seller-data",
        "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/vexaloom-labs~ebay-multi-marketplace-listing-and-seller-data/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-ebay-multi-marketplace-listing-and-seller-data",
        "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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "search",
              "browse",
              "item",
              "seller",
              "stores"
            ],
            "type": "string",
            "description": "Choose a data surface: keyword search, category browse, item details, seller feedback or a store's active listings.",
            "default": "search"
          },
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search on the selected marketplace. One search per entry. Use quotes for exact phrases.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Category IDs or URLs",
            "type": "array",
            "description": "Category IDs (for example 177) or eBay /b/ category URLs. Used in Browse mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "browseKeyword": {
            "title": "Keyword inside category",
            "type": "string",
            "description": "Optional keyword to narrow category browsing. Leave blank to browse the whole category."
          },
          "itemIds": {
            "title": "Item IDs or URLs",
            "type": "array",
            "description": "eBay item IDs (for example 257633093777) or full /itm/ URLs. Used in Item details mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sellerUsernames": {
            "title": "Seller usernames or profile URLs",
            "type": "array",
            "description": "eBay seller usernames (for example discountcomputerdepot) or /usr/ profile URLs. Used in Seller profile mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "storeNames": {
            "title": "Store names or URLs",
            "type": "array",
            "description": "eBay store names or /str/ store URLs. Used in Store listings mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Paste any eBay URLs (optional shortcut)",
            "type": "array",
            "description": "Legacy-friendly shortcut: paste search, category, item, seller or store URLs and each is routed to the right mode automatically. Ignored when the arrays above already cover that source.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "marketplace": {
            "title": "Marketplace",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "IT",
              "ES",
              "CA",
              "AU"
            ],
            "type": "string",
            "description": "Country site used for searches and for inputs that are not already a URL.",
            "default": "US"
          },
          "condition": {
            "title": "Item condition",
            "enum": [
              "",
              "new",
              "openBox",
              "manufacturerRefurbished",
              "refurbished",
              "used",
              "forParts"
            ],
            "type": "string",
            "description": "Filter listings by condition. Leave on All conditions for every condition.",
            "default": ""
          },
          "buyingFormat": {
            "title": "Buying format",
            "enum": [
              "",
              "buyItNow",
              "auction"
            ],
            "type": "string",
            "description": "Show only Buy It Now listings, only auctions, or both.",
            "default": ""
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Minimum item price in the marketplace's local currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Maximum item price in the marketplace's local currency."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "bestMatch",
              "priceLowest",
              "priceHighest",
              "endingSoonest",
              "newlyListed"
            ],
            "type": "string",
            "description": "How to order search results.",
            "default": "bestMatch"
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Keep only listings that advertise free shipping/delivery.",
            "default": false
          },
          "returnsAccepted": {
            "title": "Returns accepted only",
            "type": "boolean",
            "description": "Keep only listings that accept returns.",
            "default": false
          },
          "itemLocation": {
            "title": "Item location",
            "enum": [
              "",
              "domestic",
              "worldwide"
            ],
            "type": "string",
            "description": "Prefer items located in the marketplace country or show worldwide results.",
            "default": ""
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit on item rows (or seller/store records) across all sources.",
            "default": 50
          },
          "maxPages": {
            "title": "Max pages per source",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Stop after this many result pages per search, category or store. Each page holds up to 240 listings.",
            "default": 10
          },
          "includeItemSpecifics": {
            "title": "Include item specifics (Item details mode)",
            "type": "boolean",
            "description": "Add the full item-specifics table (brand, model, MPN, dimensions, features and other aspects) to item records.",
            "default": true
          },
          "includeRecentFeedback": {
            "title": "Include recent feedback (Seller profile mode)",
            "type": "boolean",
            "description": "Add up to 25 recent feedback entries with buyer, rating, price and date to seller records.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}