{
  "openapi": "3.0.1",
  "info": {
    "title": "Ozon Scraper: Products, Reviews, Buybox & Sellers",
    "description": "Scrape ozon.ru: search, category and seller catalogs, full cards (specs, variants, seller legal), competing offers, reviews with video, Q&A, and incremental NEW/UPDATED. Short /t/ links resolve. Tile-only is cheaper. JSON/CSV/Excel.",
    "version": "0.0",
    "x-build-id": "a4bjTEguZH9BYJykc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~ozon-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-ozon-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/memo23~ozon-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-ozon-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/memo23~ozon-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-ozon-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": {
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search on Ozon (e.g. `iphone`, `наушники`, `кофемашина`).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Ozon URLs",
            "type": "array",
            "description": "Product (`/product/...`), search, category, seller catalog, or short `ozon.ru/t/...` links. Classified automatically. Short links are resolved.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product SKUs",
            "type": "array",
            "description": "Raw Ozon SKUs (артикулы), one per line, e.g. `3820689151`.",
            "items": {
              "type": "string"
            }
          },
          "scrapeProductDetails": {
            "title": "Scrape full product details",
            "type": "boolean",
            "description": "Fetch each product card: description, full characteristics, color/size variants, seller, gallery, promo, returns, Q&A (capped), and a price-history attempt. Off = cheap tile-only listing.",
            "default": false
          },
          "scrapeReviews": {
            "title": "Also scrape reviews",
            "type": "boolean",
            "description": "Push review rows (text, stars, photos, customer video) for every product, capped by Max reviews per product. Review rows count toward Max items.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on review rows per product.",
            "default": 50
          },
          "maxQuestionsPerProduct": {
            "title": "Max questions per product",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Q&A items attached to a detail row. Set 0 to skip. Only used with Scrape full product details.",
            "default": 20
          },
          "fetchBuybox": {
            "title": "Track competing sellers (buybox)",
            "type": "boolean",
            "description": "Other offers for the same product: seller, price, delivery, legal name. Requires full product details.",
            "default": false
          },
          "fetchSellerDetails": {
            "title": "Enrich seller legal profile",
            "type": "boolean",
            "description": "Legal entity / address / registry number from the seller info modal. Requires full product details.",
            "default": false
          },
          "reportUnavailable": {
            "title": "Report unavailable products",
            "type": "boolean",
            "description": "For direct product URLs: emit a row when the card is gone or out of stock (`isAvailable: false`, `status: not_found | out_of_stock`). Those rows are not billed.",
            "default": true
          },
          "scrapeRecommended": {
            "title": "Include recommended products",
            "type": "boolean",
            "description": "Attach similar / recommended tiles from the product page onto each detail row.",
            "default": false
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "score",
              "price",
              "price_desc",
              "new",
              "rating",
              "discount"
            ],
            "type": "string",
            "description": "Result order for search / category / seller listings.",
            "default": "score"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products at or above this price (RUB)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products at or below this price (RUB)."
          },
          "minDiscount": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only products discounted by at least this percentage."
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Drop products rated below this (1–5)."
          },
          "hasDiscount": {
            "title": "Discounted only",
            "type": "boolean",
            "description": "Keep only products that show a discount.",
            "default": false
          },
          "onSale": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Keep only tiles tagged as a sale / promo.",
            "default": false
          },
          "delivery": {
            "title": "Delivery speed",
            "enum": [
              "1",
              "2",
              "4",
              "8"
            ],
            "type": "string",
            "description": "Ozon delivery-speed filter when the listing honors it (1 / 2 / 4 / 8)."
          },
          "language": {
            "title": "Language",
            "enum": [
              "ru",
              "en",
              "zh-Hans",
              "kk",
              "hy",
              "uz-Latn"
            ],
            "type": "string",
            "description": "Preferred language for titles and specs. Ozon may still return Russian for some cards.",
            "default": "ru"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "RUB",
              "USD",
              "BYN",
              "KZT",
              "AMD",
              "UZS",
              "KGS",
              "EUR"
            ],
            "type": "string",
            "description": "Display currency for prices. Checkout on Ozon is still in rubles.",
            "default": "RUB"
          },
          "incrementalMode": {
            "title": "Incremental (scheduled runs)",
            "type": "boolean",
            "description": "First run returns every match as NEW. Later runs keep only NEW / UPDATED / REAPPEARED unless you emit unchanged or expired. State lives in a named key-value store.",
            "default": false
          },
          "stateKey": {
            "title": "Incremental state store name",
            "type": "string",
            "description": "Named persistent key-value store. Use the same name on every scheduled run. Default KV is per-run and will not persist.",
            "default": "ozon-incremental-default"
          },
          "emitUnchanged": {
            "title": "Emit unchanged (incremental)",
            "type": "boolean",
            "description": "Also return products that did not change since the last run (billed).",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired (incremental)",
            "type": "boolean",
            "description": "Also return products seen before that are missing this run (`changeType: EXPIRED`). Not billed.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on dataset rows (products + reviews). Split fairly across keywords/URLs. You are only charged for billed rows actually delivered.",
            "default": 100
          },
          "maxImages": {
            "title": "Max image URLs per product",
            "minimum": 0,
            "maximum": 40,
            "type": "integer",
            "description": "How many image URLs to keep per product. Set 0 to skip images.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel work. Kept low because every Ozon request goes through the unlocker.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}