{
  "openapi": "3.0.1",
  "info": {
    "title": "🛒✨ eBay Search Scraper",
    "description": "🛒✨ eBay Search Scraper pulls live marketplace data from eBay search results—titles, prices, shipping, seller ratings, condition, bids, Buy It Now, images & URLs. ⚡ Ideal for price monitoring, competitor analysis, product research & SEO-ready catalogs.",
    "version": "0.1",
    "x-build-id": "o19CMaafAliNyldMe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapio~ebay-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapio-ebay-search-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/scrapio~ebay-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapio-ebay-search-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/scrapio~ebay-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapio-ebay-search-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": {
          "query": {
            "title": "🔎 Search query",
            "type": "string",
            "description": "Type what you want to find — products, brands, categories. This drives your search together with Country & filters below. ☕ Example: coffee, vintage camera, running shoes.",
            "default": "coffee"
          },
          "domain": {
            "title": "🌍 Country (eBay site)",
            "enum": [
              "ebay.com.au",
              "ebay.at",
              "ebay.ca",
              "ebay.fr",
              "ebay.de",
              "ebay.com.hk",
              "ebay.ie",
              "ebay.it",
              "ebay.com.my",
              "ebay.nl",
              "ebay.ph",
              "ebay.pl",
              "ebay.com.sg",
              "ebay.es",
              "ebay.ch",
              "ebay.co.uk",
              "ebay.com"
            ],
            "type": "string",
            "description": "Which eBay storefront to search — prices, currency, and inventory follow the site you pick. 🌐",
            "default": "ebay.com"
          },
          "location": {
            "title": "📍 Ship-to location",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17",
              "18",
              "19",
              "20",
              "21",
              "22",
              "23",
              "24",
              "25",
              "26",
              "27",
              "28",
              "29",
              "30",
              "31",
              "32",
              "33",
              "34",
              "35",
              "36",
              "37",
              "38",
              "39",
              "40",
              "41",
              "42",
              "43",
              "44",
              "45",
              "46",
              "47",
              "48",
              "49",
              "50",
              "51",
              "52",
              "53",
              "55",
              "56",
              "57",
              "58",
              "59",
              "60",
              "61",
              "62",
              "63",
              "64",
              "65",
              "66",
              "67",
              "68",
              "69",
              "70",
              "71",
              "72",
              "73",
              "74",
              "75",
              "76",
              "77",
              "78",
              "79",
              "80",
              "81",
              "82",
              "83",
              "84",
              "85",
              "86",
              "87",
              "88",
              "89",
              "90",
              "91",
              "92",
              "93",
              "94",
              "95",
              "96",
              "99",
              "100",
              "101",
              "102",
              "104",
              "105",
              "106",
              "107",
              "108",
              "109",
              "111",
              "112",
              "113",
              "114",
              "115",
              "116",
              "120",
              "121",
              "122",
              "123",
              "124",
              "125",
              "126",
              "127",
              "128",
              "129",
              "130",
              "131",
              "132",
              "133",
              "134",
              "135",
              "136",
              "137",
              "138",
              "139",
              "140",
              "141",
              "142",
              "143",
              "144",
              "145",
              "146",
              "147",
              "148",
              "149",
              "150",
              "151",
              "152",
              "153",
              "154",
              "155",
              "156",
              "157",
              "158",
              "159",
              "160",
              "161",
              "162",
              "163",
              "164",
              "165",
              "166",
              "167",
              "168",
              "169",
              "170",
              "171",
              "172",
              "173",
              "174",
              "175",
              "176",
              "177",
              "178",
              "179",
              "180",
              "181",
              "182",
              "183",
              "184",
              "185",
              "186",
              "187",
              "189",
              "191",
              "192",
              "193",
              "196",
              "197",
              "198",
              "199",
              "200",
              "201",
              "202",
              "203",
              "204",
              "205",
              "206",
              "207",
              "208",
              "209",
              "210",
              "211",
              "212",
              "213",
              "214",
              "215",
              "216",
              "217",
              "218",
              "219",
              "220",
              "221",
              "226",
              "227",
              "228",
              "229"
            ],
            "type": "string",
            "description": "Roughly where items should ship — helps align search results with buyer / delivery context. ✈️",
            "default": "1"
          },
          "sort": {
            "title": "⬆️ Sort order",
            "enum": [
              "12",
              "1",
              "10",
              "15",
              "16",
              "7",
              "3",
              "2"
            ],
            "type": "string",
            "description": "How listings are ranked — best match, ending soon, newest, price high/low, distance, and more. 📊",
            "default": "12"
          },
          "show_only": {
            "title": "🏷️ Show only",
            "type": "array",
            "description": "Optional shortcuts: sold ✔️, free shipping 🚚, returns ↩️, deals 🏷️, authenticity ✓, charity ❤️, and more — pick what matters to you.",
            "items": {
              "type": "string",
              "enum": [
                "completed_items",
                "sold_items",
                "free_returns",
                "returns_accepted",
                "authorized_seller",
                "deals_and_savings",
                "sale_items",
                "listed_as_lots",
                "benefits_charity",
                "authenticity_guarantee",
                "free_shipping",
                "local_pickup"
              ],
              "enumTitles": [
                "✅ Completed items",
                "🏷️ Sold items",
                "↩️ Free returns",
                "📋 Returns accepted",
                "⭐ Authorized seller",
                "🏷️ Deals & savings",
                "💸 Sale items",
                "📦 Listed as lots",
                "❤️ Benefits charity",
                "✓ Authenticity Guarantee",
                "🚚 Free shipping",
                "📍 Local pickup"
              ]
            }
          },
          "buying_format": {
            "title": "🛒 Buying format",
            "enum": [
              "Auction",
              "BIN",
              "BO"
            ],
            "type": "string",
            "description": "Auction 🔔 · Buy It Now 🛍️ · Accepts offers 💬 — focus on how the listing is sold.",
            "default": "BIN"
          },
          "max_pages": {
            "title": "📄 Max pages to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "How many search result pages to walk — more pages = more candidate listings (then capped by Max listings). 📚",
            "default": 1
          },
          "maxItems": {
            "title": "🎯 Max listings to scrape",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on rows in your dataset this run — great for samples (small) or big sweeps (up to limit). 📥",
            "default": 20
          },
          "useProxy": {
            "title": "🛡️ Use Apify Proxy",
            "type": "boolean",
            "description": "When on, the Actor can route traffic through Apify Proxy (configure groups below). 🔐",
            "default": true
          },
          "fetch_description_iframe": {
            "title": "📜 Fetch full item description",
            "type": "boolean",
            "description": "Slower ⏱️ but richer: pulls more seller description text when eBay exposes it. Great for detail-heavy listings.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy configuration",
            "type": "object",
            "description": "Fine-tune Apify Proxy (groups, sessions) for your workspace — used when 🛡️ Use Apify Proxy is enabled."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}