{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Scraper - Product Listings, Prices & Sellers",
    "description": "Collect live eBay listings across 17 country sites by keyword or seller. Get prices, conditions, shipping, and seller details. Pay per delivered listing row plus a start fee.",
    "version": "0.10",
    "x-build-id": "vF1be2Wq84FTmXd4X"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~ecommerce-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-ecommerce-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/lentic_clockss~ecommerce-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-ecommerce-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/lentic_clockss~ecommerce-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-ecommerce-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": {
          "mode": {
            "title": "Collection mode",
            "enum": [
              "auto",
              "search",
              "seller",
              "deals"
            ],
            "type": "string",
            "description": "Choose automatically from the filled target, search by keyword, collect one seller's live inventory, or collect current promotional listings from the market's deals hub (available in US, GB, DE, FR, IT, ES, AU, CA, and PL; not available in SG or MY).",
            "default": "auto"
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "What to search for (e.g. 'iphone 15', 'gaming laptop', 'air fryer'). Needed for keyword search; only a label in seller mode. Empty with no seller = a small example run."
          },
          "seller": {
            "title": "Seller username",
            "type": "string",
            "description": "The eBay seller username whose live inventory to collect (e.g. 'cocosprinkles'). Filling this runs seller mode when Mode is Auto."
          },
          "seedSeller": {
            "title": "Select a suggested seller",
            "type": "boolean",
            "description": "Select a suggested seller for the chosen market when seller is empty. Availability varies by market.",
            "default": false
          },
          "minSellerFeedback": {
            "title": "Minimum feedback for suggested sellers",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum feedback count used when selecting a suggested seller. Predefined seller suggestions remain eligible regardless of this setting."
          },
          "market": {
            "title": "eBay market",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "IT",
              "ES",
              "AU",
              "CA",
              "NL",
              "AT",
              "CH",
              "IE",
              "PL",
              "BE",
              "HK",
              "SG",
              "MY"
            ],
            "type": "string",
            "description": "Choose the eBay country site and its associated currency. This does not restrict sellers to that country.",
            "default": "US"
          },
          "country": {
            "title": "Legacy country setting",
            "type": "string",
            "description": "Legacy alternative to market. If both are supplied, use the same country code; prefer market for new inputs."
          },
          "category": {
            "title": "Top-level category",
            "enum": [
              "all",
              "motors",
              "antiques",
              "art",
              "baby",
              "books",
              "business-industrial",
              "cameras-photo",
              "cell-phones",
              "fashion",
              "coins",
              "collectibles",
              "computers",
              "electronics",
              "crafts",
              "dolls-bears",
              "movies-tv",
              "entertainment-memorabilia",
              "health-beauty",
              "home-garden",
              "jewelry-watches",
              "music",
              "musical-instruments",
              "pet-supplies",
              "pottery-glass",
              "real-estate",
              "specialty-services",
              "sporting-goods",
              "sports-memorabilia",
              "stamps",
              "tickets",
              "toys-hobbies",
              "travel",
              "video-games",
              "everything-else"
            ],
            "type": "string",
            "description": "Choose a top-level category for keyword search. A supplied categoryId overrides this choice; seller inventory ignores this filter.",
            "default": "all"
          },
          "categoryId": {
            "title": "Category ID",
            "pattern": "^[0-9]*$",
            "type": "string",
            "description": "Numeric eBay category identifier for keyword search, such as 9355. Overrides category; seller inventory ignores it."
          },
          "maxResults": {
            "title": "Maximum rows per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most listing rows to deliver for the keyword or seller, from 1 to 500; default 70. The maximum cost can lower this limit; Free-plan users get up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "new",
              "refurbished",
              "used"
            ],
            "type": "string",
            "description": "Filter keyword search by new, refurbished, or used condition; empty means any condition. Seller inventory ignores this filter.",
            "default": ""
          },
          "buyItNow": {
            "title": "Buy It Now only",
            "type": "boolean",
            "description": "Restrict keyword search to Buy It Now listings. Seller inventory ignores this filter.",
            "default": false
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "number",
            "description": "Minimum keyword-search price in the selected market currency. Seller inventory ignores this filter."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "number",
            "description": "Maximum keyword-search price in the selected market currency. Seller inventory ignores this filter."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "best_match",
              "price_asc",
              "price_desc",
              "newly_listed",
              "ending_soonest"
            ],
            "type": "string",
            "description": "Choose the keyword-search ordering. Seller inventory ignores this setting.",
            "default": "best_match"
          },
          "enrichDetails": {
            "title": "Add listing details",
            "type": "boolean",
            "description": "Enabled by default: adds available seller, store, price, and item-location details to the same listing row. If time is short, some rows retain only their search fields; phone numbers and email addresses are not collected.",
            "default": true
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}