# Ozon Travel Flights Scraper · Авиабилеты Ozon Travel (`theshark/ozon-flights-scraper`) Actor

Ozon Travel flights for your route and dates: times, transfers, airlines, price for all passengers, baggage, fares, a 3-month price calendar. Авиабилеты Ozon Travel по маршруту и датам: время, пересадки, авиакомпании, цена за всех, багаж, тарифы, календарь цен.

- **URL**: https://apify.com/theshark/ozon-flights-scraper.md
- **Developed by:** [TheShark](https://apify.com/theshark) (community)
- **Categories:** Travel, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 flights

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Ozon Travel Flights Scraper · Авиабилеты Ozon Travel

Scrape **flights from Ozon Travel** (ozon.ru): give a **route** — IATA codes (`MOW-LED`, `LED-AER`), city names
(«Москва — Санкт-Петербург») or a flight search link from the site — your **dates** (one way or round trip) and
**passengers** — get every flight Ozon finds with its **price for all passengers**, departure and arrival, transfers,
airlines, flight numbers, aircraft, baggage options and how many tickets are left. No Ozon account needed.

*Описание на русском — ниже, в разделе «По-русски».*

### Why this Actor

- **All flights, not the first screen** — Ozon's whole result list for the route and date.
- **The cheapest day for free** — every search comes with a 3-month price calendar in a free summary row.
- **Baggage and fares** — what's included and what baggage costs; with **Fare options of each flight** — every fare.
- **Dates relative to the run day** — schedule «departure in 14 days» and watch the price move.
- **Proxies included** — nothing to set up.

### What you can use it for

- **Fare monitoring** — a daily price of your routes, a webhook when it drops.
- **The cheapest date** — the calendar shows the lowest price for every day 3 months ahead.
- **Route analytics** — airlines, direct share, aircraft, price spread on a route.

### How to use

1. Enter **routes**, one per line: `MOW-LED`, «Москва — Сочи» or a search link from ozon.ru/travel.
2. Set **Departure date** (and **Return date**) — or **Departure days from run day** for scheduled runs.
3. Set **Adults**, **Children with a seat**, **Children without a seat** and **Class**; optionally **Only these
   airlines**.
4. Run it — a summary row per search and a row per flight appear in the dataset.

### Input example

```json
{
  "flights": ["MOW-LED", "Москва — Сочи"],
  "departure_days_ahead": 14,
  "return_after_days": 3,
  "passengers": 2,
  "max_results": 20
}
```

### Output example

A flight and its search summary from a real run (trimmed):

```json
{
  "type": "flight",
  "route": "MOW-LED",
  "origin_name": "Москва",
  "destination_name": "Санкт-Петербург",
  "departure_date": "2026-11-19",
  "position": 1,
  "price": 2205,
  "original_price": 2304,
  "currency": "RUB",
  "direct": true,
  "transfers": 0,
  "carriers": ["Победа"],
  "flight_numbers": ["DP 6823"],
  "baggage_included": false,
  "luggage": [{"hand_luggage_kg": 10, "baggage_kg": null, "extra_price": 0, "text": "Без багажа"}],
  "miles": 22,
  "badges": ["Самый дешёвый", "Самый быстрый"],
  "legs": [
    {
      "origin": "Москва",
      "origin_airport": "SVO",
      "destination": "Санкт-Петербург",
      "destination_airport": "LED",
      "departure": "2026-11-19T09:10",
      "arrival": "2026-11-19T10:40",
      "duration": "1ч 30м"
    }
  ]
}
```

```json
{
  "type": "flight_search",
  "origin": "MOW",
  "destination": "LED",
  "departure_date": "2026-11-19",
  "status": "ok",
  "total": 49,
  "min_price": 2205,
  "min_direct_price": 2205,
  "price_calendar": {"2026-11-06": 2004, "2026-11-07": 2205, "2026-11-08": 2438}
}
```

### What you get

A free summary row per search (`type = flight_search`): `origin`, `destination` (codes and names), `departure_date`,
`return_date`, passengers and class, `total` — how many flights Ozon found, `min_price` and `min_direct_price`, the
`cheapest` flight, and `price_calendar` — the lowest «from» price for every departure day for 3 months ahead (the
cheapest day to fly).

A row per flight (`type = flight`): `route`, `position`, `price` (all passengers), `original_price`, `currency`,
`direct`, `transfers`, `carriers`, `flight_numbers`, `tickets_left` («4 tickets left»), `miles`, `badges` («The
cheapest», «The fastest»), `baggage_included` and `luggage` options (hand luggage and baggage kg, extra price), and
`legs` — there (and back): departure and arrival in local time, duration, transfer text, and every `segments` flight
with airline, number, aircraft, airports and layover.

**Fare options of each flight** — opens the «Choose a fare» window: fares with price, baggage, exchange, refund,
miles (+1 request per flight).

### Pricing

| Event | Price | What it is |
|---|---|---|
| `flight` | $1.99 / 1,000 | a flight row |
| Actor start | $0.01 | once per run; Apify counts one start per GB of memory — $0.02 at the default 2 GB |

For example, two routes with 20 flights each cost $0.08 + $0.02 for the start. Summary rows (and searches whose city
wasn't found or that didn't open) are free. The **Pricing** tab always has the up-to-date prices.

### Good to know

- Ozon Travel is on ozon.ru only; prices are in RUB, for all passengers together.
- A city code (`MOW`) searches all its airports; an airport code (`SVO`) or name («Шереметьево») — only that one.
- Up to 9 passengers with a seat (adults and children); infants without a seat — no more than adults.
- **Fare options of each flight** — for up to 20 flights per search.
- Times are local for each airport.

***

### По-русски

Собирает **авиабилеты Ozon Travel** (ozon.ru): задайте **маршрут** — коды IATA (`MOW-LED`, `LED-AER`), названия
городов («Москва — Санкт-Петербург») или ссылку на поиск авиабилетов с сайта, — **даты** (в одну сторону или
туда-обратно) и **пассажиров**. Получите каждый рейс, который нашёл Озон, с **ценой за всех пассажиров**, вылетом и
прилётом, пересадками, авиакомпаниями, номерами рейсов, самолётами, вариантами багажа и тем, сколько осталось
билетов. Аккаунт Озона не нужен.

#### Зачем этот актор

- **Все рейсы, а не только первый экран** — вся выдача Озона по маршруту и дате.
- **Самый дешёвый день — бесплатно** — к каждому поиску прилагается календарь цен на 3 месяца, в бесплатной
  строке-сводке.
- **Багаж и тарифы** — что входит в цену и сколько стоит багаж, а если включить **Тарифы каждого рейса** — все
  тарифы.
- **Даты от дня запуска** — поставьте в расписание «вылет через 14 дней» и следите, как меняется цена.
- **Прокси уже включены** — ничего настраивать не нужно.

#### Для чего подходит

- **Мониторинг цен на билеты** — цена ваших маршрутов каждый день и вебхук, когда она падает.
- **Самая дешёвая дата** — календарь показывает самую низкую цену на каждый день на 3 месяца вперёд.
- **Аналитика маршрутов** — авиакомпании, доля прямых рейсов, самолёты, разброс цен на маршруте.

#### Как запустить

1. Впишите **Маршруты**, по одному в строке: `MOW-LED`, «Москва — Сочи» или ссылку на поиск с ozon.ru/travel.
2. Заполните **Дата отправления** (и **Дата обратно**) — или **Отправление через дней от запуска** для запусков по
   расписанию.
3. Заполните **Взрослых**, **Детей с местом**, **Детей без места** и **Класс**; при желании —
   **Только эти авиакомпании**.
4. Запустите — в датасете появятся строка-сводка на каждый поиск и строка на каждый рейс.

#### Пример входа

```json
{
  "flights": ["MOW-LED", "Москва — Сочи"],
  "departure_days_ahead": 14,
  "return_after_days": 3,
  "passengers": 2,
  "max_results": 20
}
```

#### Пример результата

Рейс и сводка по его поиску из настоящего запуска (сокращено):

```json
{
  "type": "flight",
  "route": "MOW-LED",
  "origin_name": "Москва",
  "destination_name": "Санкт-Петербург",
  "departure_date": "2026-11-19",
  "position": 1,
  "price": 2205,
  "original_price": 2304,
  "currency": "RUB",
  "direct": true,
  "transfers": 0,
  "carriers": ["Победа"],
  "flight_numbers": ["DP 6823"],
  "baggage_included": false,
  "luggage": [{"hand_luggage_kg": 10, "baggage_kg": null, "extra_price": 0, "text": "Без багажа"}],
  "miles": 22,
  "badges": ["Самый дешёвый", "Самый быстрый"],
  "legs": [
    {
      "origin": "Москва",
      "origin_airport": "SVO",
      "destination": "Санкт-Петербург",
      "destination_airport": "LED",
      "departure": "2026-11-19T09:10",
      "arrival": "2026-11-19T10:40",
      "duration": "1ч 30м"
    }
  ]
}
```

```json
{
  "type": "flight_search",
  "origin": "MOW",
  "destination": "LED",
  "departure_date": "2026-11-19",
  "status": "ok",
  "total": 49,
  "min_price": 2205,
  "min_direct_price": 2205,
  "price_calendar": {"2026-11-06": 2004, "2026-11-07": 2205, "2026-11-08": 2438}
}
```

#### Что вы получите

Бесплатная строка-сводка на каждый поиск (`type = flight_search`): `origin`, `destination` (коды и названия),
`departure_date`, `return_date`, пассажиры и класс, `total` — сколько рейсов нашёл Озон, `min_price` и
`min_direct_price`, самый дешёвый рейс `cheapest` и `price_calendar` — самая низкая цена «от» на каждый день вылета на
3 месяца вперёд (самый дешёвый день для полёта).

Строка на каждый рейс (`type = flight`): `route`, `position`, `price` (за всех пассажиров), `original_price`,
`currency`, `direct`, `transfers`, `carriers`, `flight_numbers`, `tickets_left` («Осталось 4 билета»), `miles`,
`badges` («Самый дешёвый», «Самый быстрый»), `baggage_included` и варианты `luggage` (ручная кладь и багаж в кг,
доплата) и `legs` — туда (и обратно): вылет и прилёт по местному времени, время в пути, текст о пересадке и каждый
перелёт из `segments` с авиакомпанией, номером, самолётом, аэропортами и временем пересадки.

**Тарифы каждого рейса** — открывает окно «Выберите тариф»: тарифы с ценой, багажом, обменом, возвратом, милями
(+1 запрос на рейс).

#### Цены

| Событие | Цена | Что это |
|---|---|---|
| `flight` | $1,99 / 1000 | строка рейса |
| Запуск актора | $0,01 | один раз за запуск; Apify считает его за каждый ГБ памяти — $0,02 при 2 ГБ по умолчанию |

Например, два маршрута по 20 рейсов стоят $0,08 + $0,02 за запуск. Строки-сводки (и поиски, где город не нашёлся
или которые не открылись) — бесплатно. Актуальные цены — всегда на вкладке **Pricing**.

#### Полезно знать

- Ozon Travel есть только на ozon.ru; цены — в рублях, за всех пассажиров вместе.
- Код города (`MOW`) ищет по всем его аэропортам; код аэропорта (`SVO`) или его название («Шереметьево») — только
  по нему.
- До 9 пассажиров с местом (взрослые и дети); детей без места — не больше, чем взрослых.
- **Тарифы каждого рейса** — не больше чем для 20 рейсов на поиск.
- Время — местное для каждого аэропорта.

# Actor input Schema

## `flights` (type: `array`):

One route per line: IATA codes of cities or airports (MOW-LED, LED-AER), city names («Москва — Санкт-Петербург»: the site finds the code) or a flight search link from ozon.ru/travel (it keeps its own dates and passengers).<br><br>По маршруту в строке: коды IATA городов или аэропортов (MOW-LED, LED-AER), названия городов («Москва — Санкт-Петербург»: код найдёт сайт) или ссылка на поиск авиабилетов с ozon.ru/travel (в ней свои даты и пассажиры).

## `departure_date` (type: `string`):

YYYY-MM-DD. Needed for routes of flights and trains (links have their own dates).<br><br>ГГГГ-ММ-ДД. Нужна для маршрутов авиабилетов и поездов (у ссылок свои даты).

## `return_date` (type: `string`):

YYYY-MM-DD, a round trip (trains: a second search back); empty — one way.<br><br>ГГГГ-ММ-ДД, туда-обратно (поезда: второй поиск, обратно); пусто — в одну сторону.

## `departure_days_ahead` (type: `integer`):

Instead of fixed dates — for scheduled runs: departure this many days after the run day (each run looks at «a week ahead»). 0 — the departure date above; if the departure date is set, it wins.<br><br>Вместо точных дат — для запусков по расписанию: отправление через столько дней после дня запуска (каждый запуск смотрит «через неделю»). 0 — дата отправления выше; если она задана, главная — она.

## `return_after_days` (type: `integer`):

With «Departure days from run day»: return this many days after departure (0 — one way).<br><br>С «Отправление через дней от запуска»: обратно через столько дней после отправления (0 — в одну сторону).

## `passengers` (type: `integer`):

Passengers 12 and older (trains: 10 and older). Flight prices are for all passengers, train prices are per seat. Trains: up to 4 with a seat.<br><br>Пассажиры от 12 лет (поезда: от 10). Цены авиабилетов — за всех пассажиров, поездов — за место. Поезда: до 4 с местом.

## `children` (type: `integer`):

Flights: 2–12 years, adults and children — up to 9. Trains: under 10, adults and children — up to 4.<br><br>Авиабилеты: 2–12 лет, взрослых и детей — до 9. Поезда: до 10 лет, взрослых и детей — до 4.

## `infants` (type: `integer`):

Flights: under 2, trains: under 5. Not more than adults.<br><br>Авиабилеты: до 2 лет, поезда: до 5. Не больше, чем взрослых.

## `service_class` (type: `string`):

Cabin class of the search: economy and comfort, business or first.<br><br>Класс обслуживания для поиска: эконом и комфорт, бизнес или первый.

## `flight_airlines` (type: `array`):

IATA airline codes: SU, S7, DP. Empty — all airlines.<br><br>Коды IATA авиакомпаний: SU, S7, DP. Пусто — все авиакомпании.

## `flight_sorting` (type: `string`):

Which flights come first (and are taken when «Products per query or link» limits them). The cheapest price of a search is taken among all flights received: with «Best first» and «Cheapest first» the cheapest one is always among the first 100; with other orders set «0 — all» to be sure.<br><br>Какие рейсы идут первыми (и берутся, когда их ограничивает «Товаров на запрос или ссылку»). Самая низкая цена поиска — среди всех полученных рейсов: при «Сначала лучшие» и «Сначала дешёвые» самый дешёвый всегда в первых 100; при других порядках для верности ставьте «0 — все».

## `max_results` (type: `integer`):

0 — all flights Ozon found (the first 100 come at once, then 100 per request). Also limited by your max total charge. The cheapest price — among all flights received: with «Best first» and «Cheapest first» it is always among the first 100.<br><br>0 — все рейсы, что нашёл Озон (первые 100 приходят сразу, дальше — по 100 за запрос). Ограничивает и максимальная сумма списаний запуска. Самая низкая цена — среди всех полученных рейсов: при «Сначала лучшие» и «Сначала дешёвые» она всегда в первых 100.

## `flight_tariffs` (type: `boolean`):

Opens the «Choose a fare» window of every flight: fares with price, baggage, exchange, refund, seat choice, miles. +1 request per flight, so up to 20 flights per route.<br><br>Открывает окно «Выберите тариф» каждого рейса: тарифы с ценой, багажом, обменом, возвратом, выбором места, милями. +1 запрос на рейс, поэтому до 20 рейсов на маршрут.

## `output_language` (type: `string`):

Language of the Excel workbook, CSV, change details, run status and log. Ozon's own data (product names, characteristics, reviews) comes in the site language (the Language field).<br><br>Язык книги Excel, CSV, подробностей изменений, статуса запуска и лога. Данные самого Озона (названия товаров, характеристики, отзывы) — на языке сайта (поле «Язык сайта»).

## `sessions` (type: `integer`):

Anonymous Ozon buyers working at the same time on each storefront, each with its own proxy session: 2 — about twice as fast as 1. Sessions are kept in the history store, so a browser opens for a new one only once.<br><br>Анонимные покупатели Озона, которые работают одновременно на каждой витрине, у каждого — своя сессия прокси: 2 — примерно вдвое быстрее, чем 1. Сессии хранятся в хранилище истории, поэтому браузер для новой открывается только один раз.

## `browsers` (type: `integer`):

A browser (~320 MB) opens only to get a new Ozon session (they are kept in the history store, so mostly on the first run). Several at once — the first run starts faster. Capped by run memory: 1 GB — 1, 2 GB — 3, 4 GB — 7.<br><br>Браузер (~320 МБ) открывается, только чтобы получить новую сессию Озона (они хранятся в хранилище истории — значит, в основном при первом запуске). Несколько сразу — первый запуск начинается быстрее. Ограничено памятью запуска: 1 ГБ — 1, 2 ГБ — 3, 4 ГБ — 7.

## `history_store` (type: `string`):

Name of the key-value store in your account that keeps price history between runs. Different names — separate histories. Runs with the same store don't overlap: a second one waits up to 10 minutes for the first to finish.<br><br>Имя key-value store в вашем аккаунте, где хранится история цен между запусками. Разные имена — отдельные истории. Запуски с одним хранилищем не пересекаются: второй ждёт до 10 минут, пока закончит первый.

## `proxy_ru` (type: `string`):

user:pass@host:port, residential, Russia — one per line: every Ozon session gets its own (one line — all sessions share it). Empty — the actor's built-in proxies of this country (included in the price).<br><br>user:pass@host:port, резидентные, Россия — по одному в строке: каждой сессии Озона — свой (одна строка — общий на все сессии). Пусто — встроенные прокси актора этой страны (входят в цену).

## Actor input object example

```json
{
  "flights": [
    "MOW-LED"
  ],
  "departure_days_ahead": 14,
  "return_after_days": 0,
  "passengers": 1,
  "children": 0,
  "infants": 0,
  "service_class": "economy",
  "flight_airlines": [],
  "flight_sorting": "best",
  "max_results": 10,
  "flight_tariffs": false,
  "output_language": "en",
  "sessions": 8,
  "browsers": 3,
  "history_store": "ozon-flights-history"
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset rows. Строки датасета.

## `summary` (type: `string`):

OUTPUT record: how many rows were delivered and every change since the previous run. Запись OUTPUT: сколько строк отдано и все изменения с прошлого запуска.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "flights": [
        "MOW-LED"
    ],
    "departure_days_ahead": 14,
    "max_results": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/ozon-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "flights": ["MOW-LED"],
    "departure_days_ahead": 14,
    "max_results": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("theshark/ozon-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "flights": [
    "MOW-LED"
  ],
  "departure_days_ahead": 14,
  "max_results": 10
}' |
apify call theshark/ozon-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theshark/ozon-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/g38rVDJpBna8DDCVO/builds/vAmowZxwdRF0irTM9/openapi.json
