# 2GIS Reviews Scraper · Парсер отзывов 2ГИС (`theshark/2gis-reviews-scraper`) Actor

2GIS reviews of a place or a whole chain by link, ID or search: rating, date, text, topics, author, photos, videos, owner's reply. Отзывы 2ГИС о месте или всей сети по ссылке, ID или поиску: оценка, дата, текст, темы, автор, фото, видео, ответ владельца.

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

## Pricing

from $0.40 / 1,000 review · отзыв

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

## 2GIS Reviews Scraper · Парсер отзывов 2ГИС

Scrape **reviews of businesses from 2GIS** (2gis.ru, 2gis.kz, 2gis.ae and other 2GIS sites). Paste place links or IDs, or
enter search queries and locations, and get a row per review. Each row has the rating, the dates written and edited, the
text, the author, photos and **videos**, likes and reactions, the visit confirmation, **the owner's reply** with its date and
other comments. It also tells you which place the review belongs to: name, address, categories, rating, coordinates, **the
summary 2GIS writes from the place's reviews** and its **1–5 star breakdown**. **Topics of every review** (staff, food,
prices…) with the words they were found by, **all reviews of a place**, filters that cost nothing, and only new reviews for
scheduled runs. You don't need a 2GIS
account or an API key, and proxies are included.

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

### Why this Actor

- **All reviews of a place.** The Actor reads every review 2GIS has: a bar in Moscow returns all 1,200+, back to 2018.
- **Reviews of a whole chain.** Turn on **Reviews of the whole chain** and give a link to any branch, a chain link
  (`/branches/`) or a search: you get the reviews of all branches of the chain in one go, each with its branch's name,
  address, city, rating and coordinates, plus the chain's rating and 1★–5★ breakdown. A chain is read once, even if a
  search finds several of its branches.
- **Reviews of a whole search.** Use queries in cities, districts and metro stations, categories, chains (`/branches/`),
  buildings (`/inside/`) or your own area. You get the reviews of every place found.
- **Filters that cost nothing.** Filter by rating from and up to, by dates, by whether the owner replied, by photos or
  videos, by reviews with text, by source and by words to include or leave out. Reviews that don't match are not
  charged.
- **Topics of every review.** 2GIS sorts what reviews are about into topics: «персонал», «кофе», «чистота» for a cafe,
  «вежливый персонал», «хорошие врачи» for a clinic. Each review comes with its topics and the words they were found by
  («персонал» → «официанты внимательные»). Take only reviews about the topics you need: 2GIS picks them itself.
- **Place summary and stars.** Every row has the summary 2GIS writes from the place's reviews and how many 1★–5★ ratings
  the place has, ratings without text included.
- **Only new reviews.** A scheduled run delivers and charges only the reviews it has not delivered before.
- **Visit confirmation.** You see whether 2GIS confirmed the review («Отзыв подтверждён»), how many times the author
  visited and when, and whether a payment was confirmed.
- **Reviews from partner services.** 2GIS shows reviews from Flamp, Booking.com, Otello, Avito and others. Take them all
  or only some.
- **Reviews outside the rating.** On request you also get the reviews 2GIS doesn't count in a place's rating.
- **20 countries, 208 cities.** Russia, Kazakhstan, UAE, Uzbekistan, Kyrgyzstan, Azerbaijan, Georgia, Armenia, Belarus,
  Cyprus and more.

### What you can use it for

- **Reputation monitoring**: new reviews of your branches every day, low ratings first.
- **Customer feedback analysis**: what visitors praise and complain about, by topic, with words and dates.
- **Competitor research**: reviews of rival cafes, clinics or services in your city.
- **Chain analytics**: which branches of a chain get praised or complained about, from one run.
- **Owner reply audits**: which reviews got an answer and how fast.

### How to use

1. Paste **2GIS links** or **Place IDs**, or enter **Search queries** with **Locations** and set **Max places per run**.
   For all branches of a chain, also turn on **Reviews of the whole chain**.
2. Set **Reviews per place** (0 means all) and **Review order**.
3. Choose **Filters** if you need only some reviews.
4. Run it. A row per review appears in the dataset. For a scheduled run, turn on **Only new reviews**.

### Input example

```json
{
  "startUrls": [{"url": "https://2gis.ru/moscow/firm/70000001034739765"}],
  "maxReviewsPerPlace": 0,
  "minRating": 1,
  "maxRating": 2,
  "dateFrom": "2026-01-01"
}
```

### Output example

A review from a real run. The author is replaced and the photo list is shortened.

```json
{
  "placeId": "70000001034739765",
  "placeName": "Руки Вверх!, бар",
  "placeUrl": "https://2gis.ru/moscow/firm/70000001034739765",
  "placeAddress": "Москва, Тверская улица, 22",
  "placeCity": "Москва",
  "placeDistrict": "Тверской",
  "placeMainCategory": "Бары",
  "placeCategories": ["Бары", "Ночные клубы", "Караоке-залы", "Кафе"],
  "placeRating": 4.8,
  "placeReviewCount": 1247,
  "placeRatingConfirmed": true,
  "organizationId": "70000001034739764",
  "brandName": "Руки Вверх!",
  "placeLatitude": 55.767643,
  "placeLongitude": 37.601034,
  "placeRatingDistribution": {"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265},
  "placeReviewTopics": ["музыка", "персонал", "сервис", "мероприятия", "караоке", "…"],
  "placeReviewsSummary": "Это заведение, которое привлекает внимание сочетанием стиля 90-х и начала 2000-х годов с современной музыкой. Гости отмечают здесь вкусные коктейли и отличный звук в караоке…",
  "reviewId": "315344043",
  "provider": "2gis",
  "rating": 5,
  "text": "Уютная атмосфера , хороший ассортимент в меню напитков и закусок .
Были на женском стендапе , очень понравилось выступление девушек 🔥",
  "createdAt": "2026-11-09T17:57:04.80595+07:00",
  "editedAt": "2026-11-09T17:59:16.175812+07:00",
  "isEdited": true,
  "likesCount": 0,
  "commentsCount": 1,
  "reactions": [],
  "authorName": "Мария К.",
  "authorReviewsCount": 31,
  "photos": ["https://cachizer1.2gis.com/reviews-photos/3cdda8da-467b-4ec5-8d95-c40a7ac75591.jpg", "…"],
  "photosCount": 3,
  "videos": [],
  "isConfirmed": true,
  "trustCaption": "1 посещение",
  "trustFactors": [{"type": "location_visit", "caption": "1 посещение", "visitsCount": 1, "lastVisitAt": "2026-10-16T15:21:53.0Z", "transactionProvider": null}],
  "hasOwnerReply": true,
  "ownerReply": "Приятно слышать! Наш клуб с танцполом всегда открыт для тех, кто готов отжигать под любимые мотивы. До скорой встречи на вечеринках!",
  "ownerReplyDate": "2026-11-09T19:18:50.323676+07:00",
  "ownerReplyName": "Руки Вверх!, бар",
  "isHidden": false,
  "isRated": true,
  "topics": ["мероприятия", "развлечения", "закуски"],
  "topicMentions": [{"topic": "мероприятия", "phrase": "выступление девушек"}, {"topic": "развлечения", "phrase": "женском стендапе"}, {"topic": "закуски", "phrase": "закусок"}],
  "comments": [],
  "scrapedAt": "2026-11-12T12:00:00+00:00"
}
```

### What you get

A row per review.

- **The place:** `placeId`, `placeName`, `placeUrl`, `placeAddress`, `placeCity`, `placeDistrict`, `placeMainCategory`,
  `placeCategories`, `placeRating`, `placeReviewCount`, `placeRatingConfirmed`, `organizationId`, `brandName`,
  `placeLatitude`, `placeLongitude`, `searchQuery`, `searchLocation`.
- **The chain:** `organizationRating`, `organizationReviewCount`, `organizationRatingDistribution`,
  `organizationReviewTopics` (the last two in **Reviews of the whole chain**).
- **The place's reviews at a glance:** `placeReviewsSummary`, `placeRatingDistribution` (ratings of each star),
  `placeReviewTopics`.
- **The review:**
  - `reviewId`, `provider` (2gis, flamp, booking…), `source`, `rating` (1–5), `text`, `textLength`;
  - `createdAt`, `editedAt`, `isEdited`;
  - `likesCount`, `commentsCount`, `reactions` (emoji and count), `reactionsCount`;
  - `photos` (full size), `photosCount`, `videos` (link, cover, length, size), `videosCount`.
- **The author:** `authorName`, `authorId`, `authorReviewsCount`, `authorPhotoUrl`, `authorProfileUrl`, `authorProvider`.
- **Trust:** `isConfirmed`, `trustCaption`, `trustFactors` (visits or confirmed payment), `visitsCount`, `lastVisitAt`.
- **The owner's reply:** `hasOwnerReply`, `ownerReply`, `ownerReplyDate`, `ownerReplyName`.
- **Visibility:** `isRated` (counted in the rating), `isHidden`, `hidingReason`, `hidingType`, `hasUnresolvedComplaints`.
- **Topics:** `topics`, `topicMentions` (a topic and the words from the text it was found by).
- **Other comments:** `comments` (author, text, date). The owner's reply is not repeated here.
- **Other:** `scrapedAt`.

### Pricing

| Event | Price | What it is |
|---|---|---|
| `review` | $0.40 / 1,000 | a review row |
| Actor start | $0.004 | once per run (Apify counts one more start for each GB of memory above 1 GB) |

For example, 1,000 reviews cost $0.40, plus $0.004 for the start. The places themselves, the summary and the topics are free. Reviews left out by the
filters and repeats are not charged. Set a spending limit on your run, and the Actor stops before going over it. The
**Pricing** tab always has the up-to-date prices.

### Good to know

- **Reviews per place counts matching reviews.** With filters, the Actor reads on until it has that many matching
  reviews or the place has no more. When a filter matches almost nothing (fewer than 1 review in 20 after 600 reviews of a
  place), the Actor stops reading that place. If that holds across the whole run, the run stops and says why in its
  status.
- **No order by rating.** 2GIS gives reviews newest first or in its own order. To get only low or high ratings, use
  **Rating from** and **Rating up to**: 2GIS filters them itself.
- **Only new reviews:**
  - reads reviews newest written first and stops at the first review this history store has already delivered;
  - the first run delivers everything that matches;
  - a review edited after it was delivered is not delivered again;
  - one history store serves one run at a time, and a second run waits up to 10 minutes.
- **Topics depend on the place.** 2GIS picks them for each place from its reviews, so a cafe and a clinic have different
  topics. They come in the data language. A place's topics are in `placeReviewTopics` (a chain's are in
  `organizationReviewTopics`); type them the same way in **Only reviews about topics**. With that filter, `topics` shows
  only the topics from the filter.
- **Topics of each review take a bit longer**: the Actor reads the reviews with topics once more. Turn off **Topics of
  each review** if you don't need them.
- **Reviews of the whole chain:**
  - **Reviews per place** counts per chain, and **Max places per run** counts chains;
  - the summary, stars and topics of each branch (`placeReviewsSummary`, `placeRatingDistribution`, `placeReviewTopics`)
    and `placeRatingConfirmed` are not filled in this mode; the chain's stars and topics are;
  - `searchQuery` and `searchLocation` show how the chain was found; its branches can be elsewhere;
  - **Only new reviews** keeps a separate history for chains: the first run after turning this mode on or off delivers
    everything that matches;
  - a place that has no chain is read as usual.
- **Every place is read once per run.** If several queries or links find the same place, its reviews come once.
- **Contacts of places** (phones, emails, websites, hours) are not here: get them with
  [2GIS Scraper](https://apify.com/theshark/2gis-places-scraper).
- **Dates** come as 2GIS gives them, with the time zone. **Date from** and **Date up to** compare the day the review was
  written.
- **Timeout and spending limit.** When a run gets close to its timeout or to your spending limit, it stops in time.
  Everything collected stays in the dataset, and the reason is in the run status and in the `OUTPUT` record.

***

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

Собирает **отзывы об организациях из 2ГИС** (2gis.ru, 2gis.kz, 2gis.ae и другие сайты 2ГИС). Вставьте ссылки на места
или их ID либо задайте запросы и города, и вы получите строку на каждый отзыв. В строке:

- оценка, даты написания и правки, текст, автор;
- фото и **видео**, лайки и реакции;
- подтверждение визита, **ответ владельца** с датой и другие комментарии;
- **темы отзыва** (персонал, еда, цены…) и слова, по которым они найдены;
- к какому месту относится отзыв: название, адрес, рубрики, рейтинг, координаты, **сводка, которую 2ГИС пишет по
  отзывам места**, и **оценки по звёздам**.

**Все отзывы места**, бесплатный отбор и только новые отзывы для запусков по расписанию. Аккаунт 2ГИС и ключ API не
нужны, прокси уже включены.

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

- **Все отзывы места.** Актор читает всё, что есть в 2ГИС: у бара в Москве это все 1 200+ отзывов, начиная с 2018 года.
- **Отзывы всей сети.** Включите **Отзывы всей сети** и дайте ссылку на любой филиал, на сеть (`/branches/`) или поиск:
  придут отзывы всех филиалов сети сразу, у каждого — название, адрес, город, рейтинг и координаты его филиала, а ещё
  рейтинг сети и её оценки по звёздам. Сеть читается один раз, даже если поиск нашёл несколько её филиалов.
- **Отзывы целого поиска.** Отзывы всех найденных мест можно получить по запросам в городах, районах и у станций метро,
  по рубрикам, по сетям (`/branches/`), по зданиям (`/inside/`) или по своей области.
- **Бесплатный отбор.** Можно отбирать по оценке от и до, по датам, по ответу владельца, по фото или видео, по наличию
  текста, по источнику и по словам, которые должны быть или которых быть не должно. Неподходящие отзывы не оплачиваются.
- **Темы каждого отзыва.** 2ГИС раскладывает, о чём пишут, по темам: «персонал», «кофе», «чистота» у кафе, «вежливый
  персонал», «хорошие врачи» у клиники. У каждого отзыва есть его темы и слова, по которым они найдены («персонал» →
  «официанты внимательные»). Можно взять только отзывы на нужные темы: их отберёт сам 2ГИС.
- **Сводка и звёзды места.** В каждой строке есть сводка, которую 2ГИС пишет по отзывам места, и сколько у места оценок
  от 1★ до 5★, включая оценки без текста.
- **Только новые отзывы.** Запуск по расписанию отдаёт и оплачивает только те отзывы, которые ещё не отдавал.
- **Подтверждение визита.** Видно, подтвердил ли 2ГИС отзыв («Отзыв подтверждён»), сколько раз и когда автор был в месте и
  подтверждена ли оплата.
- **Отзывы с сервисов-партнёров.** 2ГИС показывает отзывы с Flamp, Booking.com, Otello, Авито и других. Можно брать все
  или только некоторые.
- **Отзывы вне рейтинга.** По желанию приходят и те отзывы, которые 2ГИС не учитывает в рейтинге места.
- **20 стран, 208 городов.** Россия, Казахстан, ОАЭ, Узбекистан, Кыргызстан, Азербайджан, Грузия, Армения, Беларусь, Кипр
  и другие.

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

- **Мониторинг репутации**: новые отзывы о ваших филиалах каждый день, сначала низкие оценки.
- **Анализ обратной связи**: за что хвалят и на что жалуются, по темам, со словами и датами.
- **Изучение конкурентов**: отзывы о соседних кафе, клиниках или сервисах в вашем городе.
- **Аналитика сети**: какие филиалы сети хвалят, а на какие жалуются, за один запуск.
- **Проверка ответов**: на какие отзывы ответили и как быстро.

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

1. Вставьте **Ссылки 2ГИС** или **ID мест** либо введите **Поисковые запросы** и **Где искать** и задайте **Мест за
   запуск, не больше**. Чтобы получить все филиалы сети, включите ещё **Отзывы всей сети**.
2. Задайте **Отзывов на место** (0 — все) и **Порядок отзывов**.
3. Если нужны не все отзывы, выберите **Отбор**.
4. Запустите. В датасете появится строка на каждый отзыв. Для запуска по расписанию включите **Только новые отзывы**.

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

```json
{
  "startUrls": [{"url": "https://2gis.ru/moscow/firm/70000001034739765"}],
  "maxReviewsPerPlace": 0,
  "minRating": 1,
  "maxRating": 2,
  "dateFrom": "2026-01-01"
}
```

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

Отзыв из настоящего запуска. Автор заменён, список фото сокращён.

```json
{
  "placeId": "70000001034739765",
  "placeName": "Руки Вверх!, бар",
  "placeUrl": "https://2gis.ru/moscow/firm/70000001034739765",
  "placeAddress": "Москва, Тверская улица, 22",
  "placeCity": "Москва",
  "placeDistrict": "Тверской",
  "placeMainCategory": "Бары",
  "placeCategories": ["Бары", "Ночные клубы", "Караоке-залы", "Кафе"],
  "placeRating": 4.8,
  "placeReviewCount": 1247,
  "placeRatingConfirmed": true,
  "organizationId": "70000001034739764",
  "brandName": "Руки Вверх!",
  "placeLatitude": 55.767643,
  "placeLongitude": 37.601034,
  "placeRatingDistribution": {"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265},
  "placeReviewTopics": ["музыка", "персонал", "сервис", "мероприятия", "караоке", "…"],
  "placeReviewsSummary": "Это заведение, которое привлекает внимание сочетанием стиля 90-х и начала 2000-х годов с современной музыкой. Гости отмечают здесь вкусные коктейли и отличный звук в караоке…",
  "reviewId": "315344043",
  "provider": "2gis",
  "rating": 5,
  "text": "Уютная атмосфера , хороший ассортимент в меню напитков и закусок .
Были на женском стендапе , очень понравилось выступление девушек 🔥",
  "createdAt": "2026-11-09T17:57:04.80595+07:00",
  "editedAt": "2026-11-09T17:59:16.175812+07:00",
  "isEdited": true,
  "likesCount": 0,
  "commentsCount": 1,
  "reactions": [],
  "authorName": "Мария К.",
  "authorReviewsCount": 31,
  "photos": ["https://cachizer1.2gis.com/reviews-photos/3cdda8da-467b-4ec5-8d95-c40a7ac75591.jpg", "…"],
  "photosCount": 3,
  "videos": [],
  "isConfirmed": true,
  "trustCaption": "1 посещение",
  "trustFactors": [{"type": "location_visit", "caption": "1 посещение", "visitsCount": 1, "lastVisitAt": "2026-10-16T15:21:53.0Z", "transactionProvider": null}],
  "hasOwnerReply": true,
  "ownerReply": "Приятно слышать! Наш клуб с танцполом всегда открыт для тех, кто готов отжигать под любимые мотивы. До скорой встречи на вечеринках!",
  "ownerReplyDate": "2026-11-09T19:18:50.323676+07:00",
  "ownerReplyName": "Руки Вверх!, бар",
  "isHidden": false,
  "isRated": true,
  "topics": ["мероприятия", "развлечения", "закуски"],
  "topicMentions": [{"topic": "мероприятия", "phrase": "выступление девушек"}, {"topic": "развлечения", "phrase": "женском стендапе"}, {"topic": "закуски", "phrase": "закусок"}],
  "comments": [],
  "scrapedAt": "2026-11-12T12:00:00+00:00"
}
```

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

Строка на каждый отзыв.

- **Место:** `placeId`, `placeName`, `placeUrl`, `placeAddress`, `placeCity`, `placeDistrict`, `placeMainCategory`,
  `placeCategories`, `placeRating`, `placeReviewCount`, `placeRatingConfirmed`, `organizationId`, `brandName`,
  `placeLatitude`, `placeLongitude`, `searchQuery`, `searchLocation`.
- **Сеть:** `organizationRating`, `organizationReviewCount`, `organizationRatingDistribution`,
  `organizationReviewTopics` (последние два — в режиме **Отзывы всей сети**).
- **Отзывы места коротко:** `placeReviewsSummary`, `placeRatingDistribution` (сколько оценок каждой звезды),
  `placeReviewTopics`.
- **Отзыв:**
  - `reviewId`, `provider` (2gis, flamp, booking…), `source`, `rating` (1–5), `text`, `textLength`;
  - `createdAt`, `editedAt`, `isEdited`;
  - `likesCount`, `commentsCount`, `reactions` (эмодзи и сколько), `reactionsCount`;
  - `photos` (полный размер), `photosCount`, `videos` (ссылка, обложка, длительность, размер), `videosCount`.
- **Автор:** `authorName`, `authorId`, `authorReviewsCount`, `authorPhotoUrl`, `authorProfileUrl`, `authorProvider`.
- **Доверие:** `isConfirmed`, `trustCaption`, `trustFactors` (посещения или подтверждённая оплата), `visitsCount`,
  `lastVisitAt`.
- **Ответ владельца:** `hasOwnerReply`, `ownerReply`, `ownerReplyDate`, `ownerReplyName`.
- **Видимость:** `isRated` (учтён в рейтинге), `isHidden`, `hidingReason`, `hidingType`, `hasUnresolvedComplaints`.
- **Темы:** `topics`, `topicMentions` (тема и слова из текста, по которым она найдена).
- **Другие комментарии:** `comments` (автор, текст, дата). Ответ владельца здесь не повторяется.
- **Прочее:** `scrapedAt`.

#### Цены

| Событие | Цена | Что это |
|---|---|---|
| `review` | $0,40 / 1000 | строка отзыва |
| Запуск актора | $0,004 | один раз за запуск (Apify считает ещё один старт за каждый ГБ памяти сверх первого) |

Например, 1000 отзывов стоят $0,40 и ещё $0,004 за запуск. Сами места, сводка и темы бесплатные. Отзывы, отсеянные отбором, и повторы не
оплачиваются. Задайте предел трат запуска, и актор остановится до него. Актуальные цены всегда есть на вкладке
**Pricing**.

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

- **«Отзывов на место» считает подходящие отзывы.** С отбором актор читает дальше, пока не наберёт столько подходящих
  или пока отзывы места не кончатся. Если под отбор не подходит почти ничего (меньше 1 отзыва из 20 после 600 отзывов
  места), актор дальше это место не читает. Если так по всему запуску, запуск останавливается и пишет причину в статусе.
- **Порядка по оценке нет.** 2ГИС отдаёт отзывы от новых к старым или в своём порядке. Чтобы получить только низкие или
  только высокие оценки, задайте **Оценка от** и **Оценка до**: 2ГИС отберёт их сам.
- **Только новые отзывы:**
  - отзывы читаются от новых к старым по дате написания, и чтение останавливается на первом отзыве, который это
    хранилище истории уже отдавало;
  - первый запуск отдаёт всё подходящее;
  - отзыв, отредактированный после того, как его отдали, повторно не приходит;
  - одно хранилище истории одновременно работает с одним запуском, второй ждёт до 10 минут.
- **Темы зависят от места.** 2ГИС подбирает их для каждого места по его отзывам, поэтому у кафе и у клиники темы разные.
  Темы приходят на языке данных. Темы места есть в `placeReviewTopics` (темы сети — в `organizationReviewTopics`), так же
  их и пишите в **Только отзывы на темы**. С таким отбором в `topics` только темы из отбора.
- **Темы каждого отзыва немного удлиняют запуск**: актор ещё раз читает отзывы с темами. Если темы не нужны, выключите
  **Темы каждого отзыва**.
- **Отзывы всей сети:**
  - «Отзывов на место» считается на сеть, а «Мест за запуск» — сетей;
  - сводка, звёзды и темы каждого филиала (`placeReviewsSummary`, `placeRatingDistribution`, `placeReviewTopics`) и
    `placeRatingConfirmed` в этом режиме не заполняются, а звёзды и темы сети — да;
  - `searchQuery` и `searchLocation` показывают, как нашлась сеть; её филиалы могут быть и в других местах;
  - у **Только новых отзывов** для сетей своя история: первый запуск после того, как режим включили или выключили,
    отдаёт всё подходящее;
  - место без сети читается как обычно.
- **Каждое место читается один раз за запуск.** Если одно место нашлось по нескольким запросам или ссылкам, его отзывы
  придут один раз.
- **Контактов мест** (телефоны, почта, сайты, часы работы) здесь нет: они есть в
  [2GIS Scraper](https://apify.com/theshark/2gis-places-scraper).
- **Даты** приходят так, как их отдаёт 2ГИС, с часовым поясом. **Дата от** и **Дата до** сравнивают день написания
  отзыва.
- **Таймаут и предел трат.** Когда запуск подходит к таймауту или к пределу трат, он вовремя останавливается. Всё
  собранное остаётся в датасете, а причина есть в статусе запуска и в записи `OUTPUT`.

# Actor input Schema

## `startUrls` (type: `array`):

Links to places whose reviews you need: a place (/firm/), all branches of a chain (/branches/), all companies in a building (/inside/ or /geo/), a search (/search/...), a category (/rubricId/) or a go.2gis.com short link. Any 2GIS site works (2gis.ru, 2gis.kz, 2gis.ae...).<br><br>Ссылки на места, чьи отзывы нужны: карточка (/firm/), все филиалы сети (/branches/), все компании в здании (/inside/ или /geo/), поиск (/search/...), рубрика (/rubricId/) или короткая ссылка go.2gis.com. Подходит любой сайт 2ГИС (2gis.ru, 2gis.kz, 2gis.ae...).

## `placeIds` (type: `array`):

2GIS branch IDs, for example 70000001034739765 (the number after /firm/ in a link).<br><br>Номера филиалов 2ГИС, например 70000001034739765 (число после /firm/ в ссылке).

## `searchQueries` (type: `array`):

Reviews of every place a search finds: «кафе», «стоматология», «автосервис». Every query runs in every location below.<br><br>Отзывы всех мест, которые находит поиск: «кафе», «стоматология», «автосервис». Каждый запрос идёт в каждом месте ниже.

## `locations` (type: `array`):

For search queries: a 2GIS city, optionally followed by a district, town, metro station or street: «Казань», «Москва, Тверской район», «Москва, метро Маяковская», «Алматы».<br><br>Для поисковых запросов: город 2ГИС, а после него по желанию район, город области, станция метро или улица: «Казань», «Москва, Тверской район», «Москва, метро Маяковская», «Алматы».

## `categories` (type: `array`):

2GIS rubrics by name («Стоматологические клиники») or ID («161»). They run in every location, like queries.<br><br>Рубрики 2ГИС по названию («Стоматологические клиники») или номеру («161»). Идут в каждом месте, как запросы.

## `geoAreas` (type: `array`):

Your own search areas in GeoJSON: a Polygon or MultiPolygon, or a Point with properties.radiusMeters. Every query and category runs in every area.<br><br>Свои области поиска в GeoJSON: Polygon или MultiPolygon либо Point с properties.radiusMeters. Каждый запрос и каждая рубрика идут в каждой области.

## `wholeChain` (type: `boolean`):

For every place you give or find, get the reviews of all branches of its chain in one go. Each review comes with its branch: name, address, city, categories, rating and coordinates. A chain is read once, even if several of its branches are found, and a chain link (/branches/) is read without listing its branches. Reviews per place then counts per chain, and Max places per run counts chains.<br><br>Для каждого места, которое вы указали или которое нашлось, — отзывы всех филиалов его сети сразу. У каждого отзыва его филиал: название, адрес, город, рубрики, рейтинг и координаты. Сеть читается один раз, даже если нашлось несколько её филиалов, а ссылка на сеть (/branches/) читается без перебора филиалов. «Отзывов на место» тогда считается на сеть, а «Мест за запуск» — сетей.

## `maxPlaces` (type: `integer`):

How many places the run takes reviews from, across all links and searches. 0 means no limit.<br><br>У скольких мест запуск берёт отзывы, по всем ссылкам и поискам вместе. 0 — без предела.

## `maxPlacesPerQuery` (type: `integer`):

A limit for every «query × location» pair, so one big city doesn't take the whole run limit. 0 means no limit.<br><br>Предел для каждой пары «запрос × место», чтобы один большой город не забрал весь предел запуска. 0 — без предела.

## `maxReviewsPerPlace` (type: `integer`):

How many reviews of each place to collect. With filters it counts the matching reviews. 0 means all reviews.<br><br>Сколько отзывов каждого места собрать. С отбором считает подходящие. 0 — все отзывы.

## `maxReviews` (type: `integer`):

The run stops at this number of reviews. 0 means no limit.<br><br>На этом числе отзывов запуск останавливается. 0 — без предела.

## `reviewsSort` (type: `string`):

The order 2GIS gives reviews in. 2GIS has no order by rating: use the rating filters instead.<br><br>Порядок, в котором 2ГИС отдаёт отзывы. Порядка по оценке у 2ГИС нет: для этого есть отбор по оценке.

## `minRating` (type: `integer`):

Only reviews rated at least this, 1–5. Reviews that do not match the filters of this section are not returned and not charged.<br><br>Только отзывы с оценкой не ниже этой, 1–5. Отзывы, которые не подходят под отбор этого раздела, не отдаются и не оплачиваются.

## `maxRating` (type: `integer`):

Only reviews rated at most this, 1–5. For example, 1 to 2 gives only negative reviews.<br><br>Только отзывы с оценкой не выше этой, 1–5. Например, от 1 до 2 — только негативные отзывы.

## `dateFrom` (type: `string`):

Only reviews written on this day or later.<br><br>Только отзывы, написанные в этот день или позже.

## `dateTo` (type: `string`):

Only reviews written on this day or earlier.<br><br>Только отзывы, написанные в этот день или раньше.

## `onlyWithText` (type: `boolean`):

Leave out ratings without a written review.<br><br>Пропускать оценки без текста.

## `onlyWithMedia` (type: `boolean`):

Only reviews with at least one photo or video.<br><br>Только отзывы, где есть хотя бы одно фото или видео.

## `ownerReply` (type: `string`):

Keep reviews the owner has or hasn't answered.<br><br>Оставлять отзывы, на которые владелец ответил или не ответил.

## `sources` (type: `array`):

2GIS also shows reviews from its partner services. Empty means all sources.<br><br>2ГИС показывает и отзывы с сервисов-партнёров. Пусто — из всех источников.

## `keywords` (type: `array`):

Only reviews whose text has at least one of these words or phrases, capital letters ignored. Reviews keep the language they were written in.<br><br>Только отзывы, в тексте которых есть хотя бы одно из этих слов или фраз, без учёта заглавных букв. Отзывы — на том языке, на котором написаны.

## `excludeKeywords` (type: `array`):

Leave out reviews whose text has any of these words or phrases.<br><br>Пропускать отзывы, в тексте которых есть любое из этих слов или фраз.

## `topics` (type: `array`):

Topics in the data language, as 2GIS shows them on a place's page and in placeReviewTopics (organizationReviewTopics for a whole chain): «персонал», «сервис», «еда», «чистота»… A review fits if it is about any of them. 2GIS picks these reviews itself, so the run reads nothing extra.<br><br>Темы на языке данных, как их показывает 2ГИС в карточке места и в поле placeReviewTopics (у всей сети — organizationReviewTopics): «персонал», «сервис», «еда», «чистота»… Подходит отзыв хотя бы на одну из них. Такие отзывы отбирает сам 2ГИС, поэтому лишнего запуск не читает.

## `includeUnratedReviews` (type: `boolean`):

2GIS does not count some reviews in a place's rating, and its site hides them by default. Turn this on to get them too: their isRated is false.<br><br>Часть отзывов 2ГИС не учитывает в рейтинге места, и сайт по умолчанию их не показывает. Включите, чтобы получить и их: у них isRated — false.

## `tagTopics` (type: `boolean`):

For each review: its topics and the words they were found by (staff → «attentive waiters»). The run takes a bit longer.<br><br>У каждого отзыва — его темы и слова, по которым они найдены (персонал → «внимательные официанты»). Запуск идёт немного дольше.

## `newOnly` (type: `boolean`):

For scheduled runs: reads reviews newest written first and skips the ones this history store has already delivered, so you pay only for new ones. The first run delivers everything that matches.<br><br>Для запусков по расписанию: читает отзывы от новых к старым по дате написания и пропускает те, что это хранилище истории уже отдавало, — платите только за новые. Первый запуск отдаёт всё подходящее.

## `historyStore` (type: `string`):

Named key-value store that keeps delivered reviews between runs (with Only new reviews).<br><br>Именованное key-value хранилище, где между запусками лежат отданные отзывы (с «Только новыми отзывами»).

## `language` (type: `string`):

Language of place names, addresses and categories, where the city has it. Reviews stay as they were written.<br><br>Язык названий, адресов и рубрик мест, если он есть у города. Отзывы остаются такими, как их написали.

## `proxyConfiguration` (type: `object`):

Leave it on «No proxy»: the run then uses its own Russian proxies, already included in the price. Choose Apify Proxy (RESIDENTIAL, country RU) or your own proxies only if you prefer them.<br><br>Оставьте «No proxy»: тогда запуск идёт через свои российские прокси, они уже входят в цену. Apify Proxy (RESIDENTIAL, страна RU) или свои прокси выбирайте, только если хотите именно их.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time. 10 suits most runs.<br><br>Сколько запросов идёт одновременно. 10 подходит для большинства запусков.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://2gis.ru/moscow/firm/70000001034739765"
    }
  ],
  "wholeChain": false,
  "maxPlaces": 10,
  "maxPlacesPerQuery": 0,
  "maxReviewsPerPlace": 100,
  "maxReviews": 0,
  "reviewsSort": "date_edited",
  "onlyWithText": false,
  "onlyWithMedia": false,
  "ownerReply": "any",
  "includeUnratedReviews": false,
  "tagTopics": true,
  "newOnly": false,
  "historyStore": "2gis-reviews-history",
  "language": "ru",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrency": 10
}
```

# Actor output Schema

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

One row per review, with the place it belongs to. Одна строка на отзыв, вместе с местом, к которому он относится.

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

OUTPUT record: how many reviews and places were saved and, if the run stopped early, why. Запись 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 = {
    "startUrls": [
        {
            "url": "https://2gis.ru/moscow/firm/70000001034739765"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/2gis-reviews-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 = {
    "startUrls": [{ "url": "https://2gis.ru/moscow/firm/70000001034739765" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("theshark/2gis-reviews-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 '{
  "startUrls": [
    {
      "url": "https://2gis.ru/moscow/firm/70000001034739765"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call theshark/2gis-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theshark/2gis-reviews-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/nXdQVpIUpE9dBAqv4/builds/BSQ2brZp0P5BvMjWi/openapi.json
