{
  "openapi": "3.0.1",
  "info": {
    "title": "Ozon Fresh Scraper | Парсер Озон Фреш: продукты и цены",
    "description": "Extract groceries from the Ozon Fresh store with prices, discounts, unit price, brands, ratings and per-100g nutrition. Search, categories or product links. JSON/CSV/Excel. | Продукты Ozon fresh: цены, скидки, состав и калорийность, бренды, отзывы.",
    "version": "0.0",
    "x-build-id": "kfBcOPZw8Jb3daPB1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zen-studio~ozon-fresh-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zen-studio-ozon-fresh-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/zen-studio~ozon-fresh-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zen-studio-ozon-fresh-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/zen-studio~ozon-fresh-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zen-studio-ozon-fresh-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": {
          "queries": {
            "title": "Поисковые запросы / Search queries",
            "type": "array",
            "description": "Что искать в магазине Ozon fresh, по одному запросу в строке. Оставьте пустым, чтобы обойти категории или весь магазин.<br>What to search for in the Ozon fresh store, one query per line. Leave empty to browse categories or the whole store instead.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Ссылки Ozon fresh / Ozon fresh URLs",
            "type": "array",
            "description": "Ссылка на категорию для обхода витрины, ссылка на товар для полной карточки. Можно смешивать в одном запуске. Пусто везде = весь магазин.<br>A category link browses the storefront, a product link returns the full card. Mix them freely in one run. Everything empty means the whole store.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Макс. товаров на запрос / Max products per query",
            "minimum": 1,
            "type": "integer",
            "description": "Сколько товаров вернуть на каждый запрос или категорию.<br>How many products to return per search query or category."
          },
          "skipDetails": {
            "title": "Быстрый режим, только витрина / Fast mode, listing only",
            "type": "boolean",
            "description": "Вернуть только карточку из витрины: название, цену, размер упаковки, рейтинг и фото. Выключите, чтобы получить состав, характеристики и отзывы.<br>Return the listing row only: name, price, pack size, rating and image. Turn off for nutrition, specifications and reviews.",
            "default": false
          },
          "sorting": {
            "title": "Сортировка / Sort order",
            "enum": [
              "price",
              "price_desc",
              "discount",
              "score",
              "new",
              "rating"
            ],
            "type": "string",
            "description": "Порядок выдачи. Первые три варианта работают заметно быстрее.<br>Result order. The first three options run considerably faster."
          },
          "minPrice": {
            "title": "Цена от, по прайс-листу / Minimum list price",
            "minimum": 0,
            "type": "integer",
            "description": "Ozon сверяет фильтр с ценой по прайс-листу, поэтому итоговая цена со скидкой может оказаться ниже.<br>Ozon matches this against the list price, so the final price after discounts can come out lower."
          },
          "maxPrice": {
            "title": "Цена до, по прайс-листу / Maximum list price",
            "minimum": 0,
            "type": "integer",
            "description": "Ozon сверяет фильтр с ценой по прайс-листу, поэтому итоговая цена со скидкой может оказаться ниже.<br>Ozon matches this against the list price, so the final price after discounts can come out lower."
          },
          "minWeight": {
            "title": "Вес от, граммы / Minimum weight, grams",
            "minimum": 0,
            "type": "integer",
            "description": "Только товары с весом упаковки не меньше указанного.<br>Only products at or above this pack weight."
          },
          "maxWeight": {
            "title": "Вес до, граммы / Maximum weight, grams",
            "minimum": 0,
            "type": "integer",
            "description": "Только товары с весом упаковки не больше указанного.<br>Only products at or below this pack weight."
          },
          "brands": {
            "title": "Бренды / Brands",
            "type": "array",
            "description": "Названия брендов так, как они написаны на Ozon, например <code>Простоквашино</code>. Бренд, которого нет в текущей категории, пропускается и указывается в логе запуска.<br>Brand names exactly as Ozon writes them. A brand the current category does not carry is skipped and named in the run log.",
            "items": {
              "type": "string"
            }
          },
          "excludeIngredients": {
            "title": "Не содержит / Must not contain",
            "type": "array",
            "description": "Пищевые ограничения так, как их называет Ozon, например <code>без лактозы</code> или <code>без ГМО</code>. Набор значений зависит от категории.<br>Dietary exclusions as Ozon labels them. Available values differ by category.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Страна-изготовитель / Country of origin",
            "type": "array",
            "description": "Например <code>Россия</code> или <code>Беларусь</code>. Набор значений зависит от категории.<br>For example <code>Россия</code> or <code>Беларусь</code>. Available values differ by category.",
            "items": {
              "type": "string"
            }
          },
          "onlyPromo": {
            "title": "Только распродажа / On sale only",
            "type": "boolean",
            "description": "Только товары, участвующие в распродаже.<br>Only products currently in a sale.",
            "default": false
          },
          "onlyDiscounted": {
            "title": "Только со скидкой / Discounted only",
            "type": "boolean",
            "description": "Только товары с зачёркнутой старой ценой.<br>Only products showing a reduced price.",
            "default": false
          },
          "onlyMadeInRussia": {
            "title": "Сделано в России / Made in Russia only",
            "type": "boolean",
            "description": "Только товары с отметкой «Сделано в России».<br>Only products carrying the Made in Russia label.",
            "default": false
          },
          "reportUnavailable": {
            "title": "Отчёт по недоступным товарам / Report unavailable products",
            "type": "boolean",
            "description": "Добавить строку для каждой ссылки, по которой ничего не вернулось, чтобы сходился весь список. Такие строки не тарифицируются.<br>Add a row for every product link that returned nothing, so every input is accounted for. These rows are never charged.",
            "default": false
          },
          "language": {
            "title": "Язык / Language",
            "enum": [
              "ru",
              "en"
            ],
            "type": "string",
            "description": "Язык названий и описаний товаров.<br>Language of product names and descriptions.",
            "default": "ru"
          },
          "currency": {
            "title": "Валюта / Currency",
            "enum": [
              "RUB",
              "USD",
              "EUR",
              "CNY",
              "KZT"
            ],
            "type": "string",
            "description": "Валюта цен в результатах.<br>Currency for prices in the output.",
            "default": "RUB"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}