{
  "openapi": "3.0.1",
  "info": {
    "title": "Ozon Scraper — Prices, Ozon Card Price, Sellers & Reviews",
    "description": "Scrape Ozon search results, category listings, product cards and reviews: price with Ozon Card, regular and original price, seller, characteristics, category path, pack variants, ratings and review texts, with change tracking.",
    "version": "0.1",
    "x-build-id": "37ER1nWR6diGdAXVf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blueskyscraper~ozon-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blueskyscraper-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/blueskyscraper~ozon-scraper/runs": {
      "post": {
        "operationId": "runs-sync-blueskyscraper-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/blueskyscraper~ozon-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-blueskyscraper-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": {
          "mode": {
            "title": "🧭 What to scrape",
            "enum": [
              "search",
              "category",
              "product",
              "reviews"
            ],
            "type": "string",
            "description": "🔍 Search and 🗂️ Category give product rows from Ozon listings in Ozon's own order. 📦 Product cards give one full row per SKU with Ozon Card / regular / original price, seller, characteristics, category path and pack variants. ⭐ Reviews give one row per review.",
            "default": "search"
          },
          "searchQueries": {
            "title": "🔍 Search keywords",
            "type": "array",
            "description": "Keywords in Russian, e.g. <code>сухой корм для собак</code>. Up to 20 per run (extra keywords are dropped with a free notice row). A product found by two keywords appears under each, with its own position. Used by 🔍 Search.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "🗂️ Category URLs",
            "type": "array",
            "description": "Ozon category pages as they open in the browser, e.g. <code>https://www.ozon.ru/category/korm-dlya-sobak-12302/</code>. Filters you set on the site stay in the link and are applied (<code>?brand=…&amp;currency_price=…</code>); only <code>page</code> is ignored. Two filtered links of one category are two separate targets. Up to 20 per run. Used by 🗂️ Category.",
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "📄 Pages per keyword or category",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Ozon gives about 8 products per listing page. The run stops earlier when results end, a page repeats, two pages in a row bring no new products, or 💯 Max products is reached.",
            "default": 1
          },
          "sort": {
            "title": "↕️ Sort order",
            "enum": [
              "popular",
              "new",
              "price",
              "price_desc",
              "rating",
              "discount"
            ],
            "type": "string",
            "description": "Listing order, as on the site. For category URLs that already contain <code>sorting=</code>, the link's own order wins.",
            "default": "popular"
          },
          "productIds": {
            "title": "📦 SKUs or product URLs",
            "type": "array",
            "description": "Ozon SKUs, e.g. <code>3154436237</code>, or product URLs in any form (with or without https://, review links like <code>…/product/…-3154436237/reviews/</code>, query strings and #anchors). Used by 📦 Product cards and ⭐ Reviews. 📦 Product cards take the first 💯 Max products SKUs (the rest are listed in a free notice row); ⭐ Reviews take all of them.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "💯 Max products",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit of product rows for the whole run (all keywords or categories together). Does not limit ⭐ Reviews — use ⭐ Max reviews per product.",
            "default": 100
          },
          "includeComposition": {
            "title": "🧾 Composition and full characteristics",
            "type": "boolean",
            "description": "📦 Product cards: also loads the second part of each product page (all characteristics and the «Состав» block) to fill composition, feedPurpose (purpose / special needs / vet diet), feedFeatures and packageContents. About 25 KB of extra traffic per product, no extra charge. Off: only Ozon's short characteristics (composition is then usually empty, with compositionReason).",
            "default": true
          },
          "includeOtherOffers": {
            "title": "🏪 Other sellers' offers",
            "type": "boolean",
            "description": "📦 Product cards: also reads Ozon's «Другие продавцы» window and adds offers[] to each product — the current seller first, then every other seller of the same product with seller name and ID, their own SKU, price with Ozon Card, delivery date, availability, and the product rating of that offer. offersStatus says ok / single_seller (Ozon shows no other sellers) / failed (the window did not load). About 10 KB of extra traffic per product, no extra charge.",
            "default": false
          },
          "maxConcurrency": {
            "title": "⚡ Parallel browsers",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many browser sessions work at the same time on product cards and reviews. More is faster for long lists; listing pages are always read in order.",
            "default": 3
          },
          "maxReviews": {
            "title": "⭐ Max reviews per product",
            "minimum": 1,
            "maximum": 1500,
            "type": "integer",
            "description": "In Ozon's own order — \"new and useful\", which mixes recent and highly rated reviews (Ozon has no strict date sort), about 30 per page. Used by ⭐ Reviews.",
            "default": 20
          },
          "reviewsSince": {
            "title": "📅 Only reviews since",
            "type": "string",
            "description": "Optional date in YYYY-MM-DD format, read as midnight Moscow time. Only reviews published on or after it are returned (any other format is ignored with a free notice row). Ozon does not sort reviews strictly by date, so paging continues until two pages in a row bring no new review newer than this date (RUN_SUMMARY.reviewsCoverage shows pages scanned and why paging stopped)."
          },
          "outputFormat": {
            "title": "🗜️ Output format",
            "enum": [
              "full",
              "compact"
            ],
            "type": "string",
            "description": "Full: every row carries the data-contract blocks (metrics with units and absence reasons, provenance with run id, checksum and timestamps). Compact: the same data fields without those blocks and without long seller texts — several times smaller for exports of tens of thousands of rows.",
            "default": "full"
          },
          "previousDatasetId": {
            "title": "🔁 Previous dataset id (change tracking)",
            "type": "string",
            "description": "Dataset id of an earlier run. Each product then gets previousPrice, priceChange, stockChanged, ratingCountDelta and isNew against that snapshot. Pick the dataset of your earlier run of this Actor (or paste its ID) — the Actor gets read-only access to that one dataset. Left empty or unreadable, the run still returns all data, just without the change fields."
          },
          "requestDelaySecs": {
            "title": "⏱️ Delay between pages (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Pause between pages or products. Raise it if the site starts refusing requests.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}