{
  "openapi": "3.0.1",
  "info": {
    "title": "eBay Item, Store & Store Category Detail Extractor",
    "description": "Extract detailed product data from eBay individual item pages, seller store fronts, and store category pages, or search by keyword across 8 marketplaces, with item specifics, images, seller trust signals and shipping/return terms.",
    "version": "1.0",
    "x-build-id": "2aHfLR6En16iBh6bc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~ebay-item-store-and-store-category-detail/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-ebay-item-store-and-store-category-detail",
        "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-item-store-and-store-category-detail/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-ebay-item-store-and-store-category-detail",
        "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-item-store-and-store-category-detail/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-ebay-item-store-and-store-category-detail",
        "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": [
              "item",
              "store",
              "storeCategory",
              "search"
            ],
            "type": "string",
            "description": "Item details opens the item pages you list. Store inventory walks a seller's whole store. Store category walks one category inside a store. Keyword search finds matching listings.",
            "default": "search"
          },
          "itemIds": {
            "title": "Item IDs or URLs",
            "type": "array",
            "description": "eBay item IDs (for example 257633093777) or full /itm/ links. Used in Item details mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "storeNames": {
            "title": "Store names or URLs",
            "type": "array",
            "description": "Seller store names (for example discountcomputerdepot) or /str/ store links. Used in Store inventory mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "storeCategoryUrls": {
            "title": "Store category URLs",
            "type": "array",
            "description": "Store-category links copied from a store page, for example https://www.ebay.com/str/mystore/Laptops/_i.html?store_cat=1234567890. Used in Store category mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search on the selected marketplace. One search per entry. Used in Keyword search mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Paste any eBay URLs (optional shortcut)",
            "type": "array",
            "description": "Paste item, store, store-category, category-browse or search links 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": [
              "https://www.ebay.com",
              "https://www.ebay.co.uk",
              "https://www.ebay.de",
              "https://www.ebay.fr",
              "https://www.ebay.it",
              "https://www.ebay.es",
              "https://www.ebay.ca",
              "https://www.ebay.com.au"
            ],
            "type": "string",
            "description": "Country site used for names and keywords, and for any input that is not already a full URL. The dropdown carries the legacy full-URL values; short codes (US, GB, DE, FR, IT, ES, CA, AU) are also accepted by API callers.",
            "default": "https://www.ebay.com"
          },
          "condition": {
            "title": "Item condition",
            "enum": [
              "",
              "new",
              "openBox",
              "manufacturerRefurbished",
              "refurbished",
              "used",
              "forParts"
            ],
            "type": "string",
            "description": "Filter keyword-search results 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 or auction listings in keyword-search results.",
            "default": ""
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Filter keyword-search results by minimum item price in the marketplace's local currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Filter keyword-search results by 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 keyword-search results.",
            "default": "bestMatch"
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Keep only keyword-search results that advertise free shipping or delivery.",
            "default": false
          },
          "returnsAccepted": {
            "title": "Returns accepted only",
            "type": "boolean",
            "description": "Keep only keyword-search results that accept returns.",
            "default": false
          },
          "itemLocation": {
            "title": "Item location",
            "enum": [
              "",
              "domestic",
              "worldwide"
            ],
            "type": "string",
            "description": "Keep keyword-search results 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 records across every source.",
            "default": 3
          },
          "maxPages": {
            "title": "Max pages per source",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Stop after this many listing pages per store, category or search. Each page holds up to 240 listings.",
            "default": 10
          },
          "includeItemDetails": {
            "title": "Open each listing for full item details",
            "type": "boolean",
            "description": "When on, every discovered listing is opened and returns the full item record (specifics, images, seller, shipping, returns). Turn off for a faster card-level result from search and store pages.",
            "default": true
          },
          "includeItemSpecifics": {
            "title": "Include the item-specifics table",
            "type": "boolean",
            "description": "Add the full item-specifics table (brand, model, MPN, dimensions, features and other aspects) to item 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}