{
  "openapi": "3.0.1",
  "info": {
    "title": "OTTO.de Scraper",
    "description": "Scrape OTTO.de products from a search query or category URL, with optional product details and one dataset row per review.",
    "version": "1.0",
    "x-build-id": "WE2KH8Fuvb9NrDXtQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rigelbytes~otto-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rigelbytes-otto-de-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/rigelbytes~otto-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rigelbytes-otto-de-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/rigelbytes~otto-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rigelbytes-otto-de-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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search on OTTO.de, for example shoes or winterjacke damen.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Category, search, filtered, or product URLs on www.otto.de. e.g. \"https://www.otto.de/schuhe/sneaker/?aktion=super-sale&rabatt=30&reduziert&zielgruppe=herren\".",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "topseller",
              "preis-aufsteigend",
              "preis-absteigend",
              "hoechste-reduzierung",
              "neuheiten",
              "bewertung"
            ],
            "type": "string",
            "description": "Result order. topseller, preis-aufsteigend, preis-absteigend, hoechste-reduzierung, neuheiten, or bewertung.",
            "default": "topseller"
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand filter (marke). Use the OTTO slug, for example adidas-originals or nike.",
            "items": {
              "type": "string"
            }
          },
          "colors": {
            "title": "Colors",
            "type": "array",
            "description": "Color filter (farbe), for example schwarz, grau, or blau.",
            "items": {
              "type": "string"
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Clothing size filter (groesse), for example m, 42, or 128.",
            "items": {
              "type": "string"
            }
          },
          "shoeSizesEu": {
            "title": "Shoe sizes (EU)",
            "type": "array",
            "description": "EU shoe size filter (schuhgroesse-eu), for example 44 or 37-1-3.",
            "items": {
              "type": "string"
            }
          },
          "shoeSizesUk": {
            "title": "Shoe sizes (UK)",
            "type": "array",
            "description": "UK shoe size filter (schuhgroesse-uk).",
            "items": {
              "type": "string"
            }
          },
          "shoeSizesUs": {
            "title": "Shoe sizes (US)",
            "type": "array",
            "description": "US shoe size filter (schuhgroesse-us).",
            "items": {
              "type": "string"
            }
          },
          "targetGroups": {
            "title": "Target groups",
            "type": "array",
            "description": "Audience filter (zielgruppe), for example herren, damen, or kinder.",
            "items": {
              "type": "string"
            }
          },
          "promotions": {
            "title": "Promotions",
            "type": "array",
            "description": "Promotion filter (aktion), for example super-sale, restgroessen, or otto-days.",
            "items": {
              "type": "string"
            }
          },
          "minDiscountPercent": {
            "title": "Minimum discount percent",
            "minimum": 0,
            "maximum": 90,
            "type": "integer",
            "description": "Discount filter (rabatt). OTTO uses steps such as 10, 20, 30, 40, 50, 60, or 70."
          },
          "reducedOnly": {
            "title": "Reduced items only",
            "type": "boolean",
            "description": "Keep only reduced products (reduziert).",
            "default": false
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in euros, inclusive."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in euros, inclusive."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "5-sterne",
              "ab-4-sternen",
              "ab-3-sternen",
              "ab-2-sternen",
              "ab-1-stern"
            ],
            "type": "string",
            "description": "Rating filter (bewertung)."
          },
          "materials": {
            "title": "Materials",
            "type": "array",
            "description": "Upper material filter (obermaterial), for example leder or textil.",
            "items": {
              "type": "string"
            }
          },
          "sellers": {
            "title": "Sellers",
            "type": "array",
            "description": "Seller filter (verkaeufer), for example otto.",
            "items": {
              "type": "string"
            }
          },
          "seasons": {
            "title": "Seasons",
            "type": "array",
            "description": "Season filter (jahreszeit), for example sommer, winter, or ganzjaehrig.",
            "items": {
              "type": "string"
            }
          },
          "styles": {
            "title": "Styles",
            "type": "array",
            "description": "Style filter (stil).",
            "items": {
              "type": "string"
            }
          },
          "soleProfiles": {
            "title": "Sole profiles",
            "type": "array",
            "description": "Sole profile filter (laufsohlenprofil).",
            "items": {
              "type": "string"
            }
          },
          "sustainability": {
            "title": "Sustainability",
            "type": "array",
            "description": "Article-standard filter (nachhaltigkeit).",
            "items": {
              "type": "string"
            }
          },
          "pronations": {
            "title": "Pronation",
            "type": "array",
            "description": "Pronation filter (pronation), for example neutral.",
            "items": {
              "type": "string"
            }
          },
          "ottoUpOnly": {
            "title": "OTTO UP only",
            "type": "boolean",
            "description": "Limit results to OTTO UP delivery (up-liefer-flat).",
            "default": false
          },
          "features": {
            "title": "Features",
            "type": "array",
            "description": "Feature filter (ausstattung), mostly used on furniture.",
            "items": {
              "type": "string"
            }
          },
          "covers": {
            "title": "Covers",
            "type": "array",
            "description": "Cover filter (bezug), for example cord.",
            "items": {
              "type": "string"
            }
          },
          "surfaces": {
            "title": "Surfaces",
            "type": "array",
            "description": "Surface filter (oberflaeche).",
            "items": {
              "type": "string"
            }
          },
          "upholstery": {
            "title": "Upholstery",
            "type": "array",
            "description": "Upholstery filter (polsterung).",
            "items": {
              "type": "string"
            }
          },
          "rooms": {
            "title": "Rooms",
            "type": "array",
            "description": "Room filter (room).",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "title": "Services",
            "type": "array",
            "description": "Service filter (service).",
            "items": {
              "type": "string"
            }
          },
          "seatCounts": {
            "title": "Seat counts",
            "type": "array",
            "description": "Seating filter (sitzplaetze), for example 3.",
            "items": {
              "type": "string"
            }
          },
          "dimensions": {
            "title": "Dimensions",
            "type": "array",
            "description": "Measurement filter (vermassung).",
            "items": {
              "type": "string"
            }
          },
          "additionalFilters": {
            "title": "Additional filters",
            "type": "object",
            "description": "Any other OTTO filter id mapped to a slug or a list of slugs. Example: {\"sitzplaetze\": [\"3\"], \"bezug\": [\"cord\"]}. A true value sends the filter as a flag.",
            "default": {}
          },
          "maxItems": {
            "title": "Maximum products",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of products to store. Reviews do not count toward this cap. 0 means no cap.",
            "default": 20
          },
          "includeProductDetails": {
            "title": "Include product details",
            "type": "boolean",
            "description": "Open each product page and add description, identifiers, sizes, and shipping. Charged once per product as product-details. Off by default.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Store each customer review as its own dataset row. Charged once per review as product-review. Off by default.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Maximum reviews per product",
            "minimum": 0,
            "type": "integer",
            "description": "Cap reviews stored for each product when reviews are enabled. 0 means every review.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. Residential proxies are used by default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}