{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Scraper — Product Listings & Prices",
    "description": "[💰 $3.0 / 1K] Extract eBay listings at scale — price, price range, currency, buying format, condition, shipping cost, item location, seller name and feedback, bids and time left. Filter by 35 departments, 7 conditions, price band, auction or Buy It Now, and seller. Export to JSON, CSV or Excel.",
    "version": "1.0",
    "x-build-id": "mJs7WHhPb4Cpu7WaG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~ebay-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-ebay-com-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/solidcode~ebay-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-ebay-com-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/solidcode~ebay-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-ebay-com-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": {
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Paste eBay search addresses here. Run your search on eBay, set any filters you like using eBay's own left-hand panel, then copy the address from your browser's address bar - it will start with \"ebay.com/sch/\". Everything you set on eBay is kept, and the filters below are ignored for that address. Category browse pages (\"ebay.com/b/...\") and seller shopfronts (\"ebay.com/usr/...\") are not search addresses and will not work - search for the seller's name, or set the Seller field below, instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Search keywords",
            "type": "string",
            "description": "Keywords to search for, for example \"iphone 16 pro 256gb\". eBay's own search syntax works here: put a phrase in quotes for an exact match, and put a minus in front of a word to exclude it. Leave this empty and fill in Seller username below to pull that seller's entire catalogue instead. Used only when Search URLs is empty.",
            "default": ""
          },
          "category": {
            "title": "Category",
            "enum": [
              "0",
              "20081",
              "550",
              "2984",
              "267",
              "12576",
              "625",
              "15032",
              "11450",
              "11116",
              "1",
              "58058",
              "293",
              "14339",
              "237",
              "45100",
              "99",
              "172008",
              "26395",
              "11700",
              "281",
              "11232",
              "11233",
              "619",
              "1281",
              "870",
              "10542",
              "316",
              "888",
              "64482",
              "260",
              "1305",
              "220",
              "3252",
              "1249"
            ],
            "type": "string",
            "description": "Search inside one eBay department only. Leave on \"All categories\" to search everything. To use a narrower sub-category, set it on eBay itself and paste the resulting address into Search URLs above.",
            "default": "0"
          },
          "seller": {
            "title": "Seller username",
            "type": "string",
            "description": "Only return listings from one eBay seller, for example \"detroitaxle\". Works with or without keywords: leave Search keywords empty and this alone will pull that seller's entire catalogue, and the filters below still apply on top of it.",
            "default": ""
          },
          "search_descriptions": {
            "title": "Search descriptions too",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "By default eBay matches your keywords against listing titles only. Turn this on to match the full item description as well. It changes which listings match, and for multi-word searches it is usually the stricter of the two.",
            "default": ""
          },
          "buy_it_now": {
            "title": "Buy It Now only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return fixed-price listings you can buy immediately.",
            "default": ""
          },
          "auction": {
            "title": "Auctions only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings currently up for bidding.",
            "default": ""
          },
          "accepts_offers": {
            "title": "Accepts offers only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings where the seller will consider an offer below the asking price.",
            "default": ""
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "1000",
              "1500",
              "2010",
              "2020",
              "2030",
              "3000",
              "7000"
            ],
            "type": "string",
            "description": "Only return items in one condition. eBay words these differently in different departments - in clothing \"New\" reads as \"New with tags\", in electronics it reads \"Brand New\".",
            "default": ""
          },
          "min_price": {
            "title": "Minimum price",
            "type": "string",
            "description": "Only return listings priced at or above this amount, in the marketplace currency. Leave empty for no minimum.",
            "default": ""
          },
          "max_price": {
            "title": "Maximum price",
            "type": "string",
            "description": "Only return listings priced at or below this amount. Leave empty for no maximum.",
            "default": ""
          },
          "item_location": {
            "title": "Item location",
            "enum": [
              "",
              "1",
              "3",
              "2"
            ],
            "type": "string",
            "description": "Only return items shipping from a chosen region. Use this to avoid long international delivery times.",
            "default": ""
          },
          "free_shipping": {
            "title": "Free shipping only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings that ship at no extra cost.",
            "default": ""
          },
          "fast_delivery": {
            "title": "Fast delivery only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings eBay expects to arrive within 2 to 4 days.",
            "default": ""
          },
          "returns_accepted": {
            "title": "Returns accepted only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings from sellers who accept returns.",
            "default": ""
          },
          "free_returns": {
            "title": "Free returns only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings where sending an item back costs you nothing.",
            "default": ""
          },
          "authenticity_guarantee": {
            "title": "Authenticity guaranteed only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return items eBay inspects and verifies before they reach the buyer. Available on sneakers, watches, handbags, jewelry and trading cards.",
            "default": ""
          },
          "deals_only": {
            "title": "Deals and savings only",
            "enum": [
              "",
              "1"
            ],
            "type": "string",
            "description": "Only return listings eBay has flagged as discounted.",
            "default": ""
          },
          "sort": {
            "title": "Sort results by",
            "enum": [
              "12",
              "1",
              "10",
              "15",
              "16"
            ],
            "type": "string",
            "description": "Order in which eBay returns the listings.",
            "default": "12"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listings per search URL (0 = collect everything each search returns). A single eBay search stops serving deeper pages somewhere in the 6,300-11,000+ range depending on the query, so use several narrower searches to collect more.",
            "default": 100
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many requests to run in parallel. Lower this if you see failures.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings for the run.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}