# 2GIS Scraper · Парсер 2ГИС (`theshark/2gis-places-scraper`) Actor

2GIS businesses by query, city or link: phones, emails (also from websites), socials, hours, reviews, photos, menus, jobs. Организации 2ГИС по запросу, городу или ссылке: телефоны, почта (и с сайтов), соцсети, часы, отзывы, фото, меню, вакансии.

- **URL**: https://apify.com/theshark/2gis-places-scraper.md
- **Developed by:** [TheShark](https://apify.com/theshark) (community)
- **Categories:** Lead generation, 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 $2.20 / 1,000 place · место

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper · Парсер 2ГИС

Scrape **businesses from 2GIS** (2gis.ru, 2gis.kz, 2gis.ae and other 2GIS sites). Enter what to search for (`кафе`, `стоматология`,
`автосервис`) and where (`Казань`, `Москва, Тверской район`, `Алматы`), or paste 2GIS links. You get a row per branch with
**75+ fields**: name, categories, address and its parts, coordinates, **full phone numbers, emails, websites, Telegram,
WhatsApp, VK and other social links**, opening hours, rating and reviews count (2GIS and Flamp), attributes, average check,
payment methods, nearest metro and parking, and **the building**: business center, residential block or mall, floors, year
built. On request you also get **the review summary 2GIS writes, the 1–5 star breakdown and review topics**, **reviews with
owner replies**, **photos** and **menus or price lists with prices**. You don't need a 2GIS account or an API key, and proxies are included.

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

### Why this Actor

- **The whole search, with no cap.** The Actor reads the full result list. «кафе» in Moscow returns all 8,600+ places.
- **Contacts are included in the place price.** You get full numbers like `+74990000000`, the formatted number and its label
  («ресепшн», «доставка»). Websites come clean, without the 2GIS redirect and utm tags.
- **Menus and price lists.** Goods, services and dishes from the «Цены» tab of a card, with prices, categories and pictures.
- **Reviews and photos.** Reviews come with rating, date, author, photos and the owner's reply. Photos come in full size and
  as a preview. Both are optional and charged per item.
- **Review summary and topics.** The short summary 2GIS writes from a place's reviews («Гости отмечают вкусные коктейли…»),
  how many 1★–5★ ratings the place has, ratings without text included, and the topics people write about. Free.
- **Building details.** What the building is (business center, residential block, mall), floors, year built, wall material
  and elevators, where 2GIS has them. Free and on by default.
- **Emails from websites.** On request, the Actor opens each company's website, its home page and contact pages, and
  takes emails (also the ones hidden from bots), phones and social links. You pay only when a site has an email that 2GIS
  doesn't have, and once per site, even if a whole chain shares it.
- **Jobs, exchange rates and more.** Open jobs at a place with the salary and the link to apply; buy and sell rates at
  banks and exchange offices; price lists as pictures; entrances, services of other companies inside (a post office in a
  bank), what a mall sells, hotel discounts and ad buttons with their links. All free.
- **Exact districts and towns.** «Москва, Тверской район» or «Балашиха» are searched inside 2GIS's own borders, so places from
  neighbouring areas don't get mixed in.
- **Free lead filters.** Use only with a phone, only with a website, only with an email, a minimum rating, a minimum number of
  reviews and one branch per chain. Places the filters leave out are not charged.
- **Any 2GIS link.** A place, a search, a category, all branches of a chain, all companies in a building, or a go.2gis.com short
  link.
- **Your own area.** A polygon or a point with a radius, in GeoJSON.
- **20 countries, 208 cities, 13 data languages.** Russia, Kazakhstan, UAE, Uzbekistan, Kyrgyzstan, Azerbaijan, Georgia,
  Armenia, Belarus, Tajikistan, Cyprus, Saudi Arabia, Oman, Qatar, Bahrain, Kuwait, Iraq, Italy, Czechia and Chile.
- **Fast.** No browser. About 1,000 places take 1–2 minutes without reviews, photos and menus.

### What you can use it for

- **Lead generation**: local businesses with phones, emails, websites and messengers, by category and city.
- **Market research**: how many cafes, clinics or shops a city or district has, with their ratings, prices and opening
  hours.
- **Competitor analysis**: rivals around an address, with their rating, reviews, attributes, menu and prices.
- **Review monitoring**: what customers write about a place or a chain, and how the owner replies.
- **Local SEO and directories**: clean addresses, coordinates, categories and contacts for your own map or catalogue.

### How to use

1. Enter **Search queries** and **Locations**. Every query runs in every location. Instead, you can use **Categories**,
   **2GIS links**, **Place IDs** or **Custom areas**.
2. Set **Max places in total**. Optionally, set **Max places per query and location** so one big city doesn't take the whole
   limit.
3. Turn on **Filters** if you need them.
4. Turn on **Add reviews**, **Add photos**, **Add menu / price list**, **Add review summary, star breakdown and topics**,
   **Add vacancies** or **Emails and contacts from websites**, if you need them.
5. Run it. A row per place appears in the dataset.

### Input example

```json
{
  "searchQueries": ["кафе", "кофейня"],
  "locations": ["Москва", "Санкт-Петербург, Центральный район", "Алматы"],
  "maxItems": 2000,
  "maxItemsPerQuery": 500,
  "onlyWithPhone": true,
  "includeReviews": true,
  "maxReviewsPerPlace": 20,
  "includeProducts": true
}
```

### Output example

A bar from a real run. Long lists are shortened, and the phone and the reviewer's name are replaced.

```json
{
  "placeId": "70000001034739765",
  "name": "Руки Вверх!, бар",
  "url": "https://2gis.ru/moscow/firm/70000001034739765",
  "mainCategory": "Бары",
  "categories": ["Бары", "Ночные клубы", "Караоке-залы", "Кафе"],
  "brandName": "Руки Вверх!",
  "branchesCount": 9,
  "fullAddress": "Москва, Тверская улица, 22",
  "addressComment": "2 этаж",
  "postcode": "125009",
  "district": "Тверской",
  "latitude": 55.767643,
  "longitude": 37.601034,
  "buildingName": "Summit, бизнес-центр",
  "buildingPurpose": "Бизнес-центр",
  "buildingFloors": 10,
  "buildingMaterial": "Железобетон",
  "phones": ["+74990000000"],
  "phoneDetails": [{"phone": "+74990000000", "formatted": "+7 (499) 000‒00‒00", "comment": null}],
  "emails": [],
  "websites": ["http://tverskaya.rvbar.ru/"],
  "socials": {"telegram": ["https://t.me/book_rvb_bot"], "vkontakte": ["https://vk.ru/rvbar.moscow"]},
  "workingHours": {"monday": "18:00–06:00", "friday": "18:00–06:00", "...": "..."},
  "rating": 4.8,
  "reviewCount": 1247,
  "ratingDistribution": {"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265},
  "reviewTopics": ["музыка", "персонал", "сервис", "мероприятия", "караоке", "..."],
  "reviewsSummary": "Это заведение, которое привлекает внимание сочетанием стиля 90-х и начала 2000-х годов с современной музыкой. Гости отмечают здесь вкусные коктейли и отличный звук в караоке…",
  "flampRating": 4.9,
  "organizationRating": 4.7,
  "averageCheck": 1500,
  "paymentMethods": ["Оплата картой", "Наличный расчёт", "Оплата по QR-коду"],
  "attributes": ["Номинант 2026", "Чек 1500 ₽", "Коктейльный бар", "Заказ столиков", "Живая музыка"],
  "awards": ["Номинант 2026"],
  "photosCount": 203,
  "nearestStations": [{"name": "Пушкинская", "type": "metro", "distance": 320, "line": "Таганско-Краснопресненская линия"}],
  "parkings": [{"name": "Парковка БЦ Summit", "capacity": "80", "isPaid": true}],
  "isAdvertiser": true,
  "updatedAt": "2026-09-01T15:00:09Z",
  "reviews": [{"rating": 5, "text": "Уютная атмосфера…", "authorName": "Мария", "photos": ["https://…"], "ownerReply": "Приятно слышать!…", "provider": "2gis"}],
  "products": [{"name": "Брускетта с ростбифом", "category": "Закуски", "price": 590, "currency": "RUB"}]
}
```

### What you get

A row per branch:

- **IDs:** `placeId`, `organizationId`, `brandId`, `branchesCount`
- **Name:** `name`, `shortName`, `nameExtension`, `brandName`, `url`
- **Categories:** `mainCategory`, `categories`, `categoryIds`, `poiCategory`, `type`
- **Address:** `address`, `fullAddress`, `addressComment`, `postcode`, `street`, `houseNumber`, `buildingName`, `buildingId`,
  `country`, `region`, `city`, `district`, `adminDivisions`, `cityAlias`, `regionId`, `latitude`, `longitude`,
  `timezoneOffset`
- **Contacts:** `phones`, `phoneDetails`, `faxes`, `emails`, `websites` (without ad tracking marks), `socials` (Telegram,
  WhatsApp, VK, Instagram, YouTube, Viber, MAX, OK and others), `contacts` (every contact as 2GIS gives it)
- **Hours:** `workingHours` (by day), `isOpen24x7`, `workingHoursComment`
- **Ratings:** `rating`, `reviewCount`, `ratingCount`, `organizationRating`, `organizationReviewCount`, `flampRating`,
  `flampReviewCount`, `isReviewable`
- **Attributes:** `attributes`, `attributeGroups`, `averageCheck`, `paymentMethods`, `awards`
- **Media and surroundings:** `photosCount`, `mainPhotoUrl`, `nearestStations` (metro and stops with distances), `parkings`
- **Building:** `buildingPurpose`, `buildingFloors`, `buildingYear`, `buildingMaterial`, `buildingFloorType`,
  `buildingElevators`, `buildingGasType`, `buildingProjectType`, `buildingInEmergencyState`
- **More about the place:** `entrances`, `servicesInside`, `attractionsNearby`, `mallCategories`, `placesInsideCount`,
  `hotelDiscountPercent`, `adLinks`, `emailVia2gisAllowed`, `exchangeRates` (banks and exchange offices: currency, buy,
  sell), `hasExchange`, `hasPriceListImages`
- **Other:** `description`, `createdAt`, `updatedAt`, `isAdvertiser`, `adText`, `isPromoted`, `hasGoods`, `hasDiscount`,
  `searchQuery`, `searchLocation`, `scrapedAt`

With **Add reviews** you also get `reviews`: rating, text, dates, likes and reactions, the author's name, avatar and
profile, photos and videos, the visit confirmation, the owner's reply and the source (2GIS, Flamp, Booking and others).
With **Add photos** you get `photos`: the full size and
preview links, size, description and source. With **Add menu / price list** you get `products`: name, description,
category, price or price range, currency and picture, and `priceListImages`: price lists as pictures, where the place has
them. With **Add vacancies** you get `vacancies`: title, salary, employment type, description, the link to apply and its
source (hh.ru and others). With **Emails and contacts from websites** you get `websiteEmails`, `websitePhones`,
`websiteSocials` and `websitePages` (the pages of the site it read).

With **Add review summary, star breakdown and topics** you get `reviewsSummary`, `ratingDistribution` (for example
`{"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265}`) and `reviewTopics` (`["музыка", "персонал", "караоке", …]`).

### Pricing

The price depends on your Apify plan: the higher the plan, the lower the price.

| Event, per 1,000 | Free | Starter | Scale | Business and up | What it is |
|---|---|---|---|---|---|
| `place` | $3.60 | $3.10 | $2.60 | $2.20 | a place row with all fields and contacts |
| `review` | $0.40 | $0.35 | $0.28 | $0.21 | a review (**Add reviews**) |
| `photo` | $0.40 | $0.25 | $0.12 | $0.08 | a photo (**Add photos**) |
| `product` | $0.40 | $0.40 | $0.40 | $0.40 | a menu or price-list item (**Add menu / price list**) |
| `website-email` | $10.00 | $10.00 | $10.00 | $10.00 | a website with an email that 2GIS doesn't have, once per site per run (**Emails and contacts from websites**) |
| Actor start | $0.004 | $0.004 | $0.004 | $0.004 | per run, not per 1,000 (Apify counts one more start for each GB of memory above 1 GB) |

For example, on the Free plan 1,000 places cost $3.60, plus $0.004 for the start; with 10 reviews for each place, add
$4.00. On Business, the same is $2.20 and $2.10. Places left out by the filters and repeats are not charged. The review summary, topics, building details, exchange rates, price-list pictures and vacancies are free. 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

- **Every place is returned and charged once per run.** If a place is found by several queries or locations, you get it
  only once.
- **Filters apply to searches and search links**, not to place links and place IDs: a place you ask for directly is always
  returned.
- **2GIS doesn't have every contact.** The Actor returns what the business published in 2GIS. Phones are on almost every
  card, and emails are on 30–70% of cards, depending on the category.
- **Closed businesses are not included**: 2GIS shows only places that are open.
- **Emails from websites.** The Actor reads up to 3 pages of a site: the home page and pages like «Контакты», «О нас»
  or «Реквизиты». A site shared by many branches is read once per run. Social pages and catalogs listed as a website
  are not read.
- **Vacancies** come for places that publish them in 2GIS: from big chains to single clinics and shops.
- **Not every place has a summary or full building details.** 2GIS writes a summary for places with enough reviews. The year
  built and elevators are known mostly for residential buildings.
- **A whole city.** Run several queries or categories with **Max places per query and location** set to 0.
- **Language.** The data comes in the language you choose where the city has it (Kazakh for Kazakhstan, Arabic or English
  for the UAE), otherwise in the city's main language. Reviews stay as they were 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ГИС). Задайте, что искать (`кафе`,
`стоматология`, `автосервис`) и где (`Казань`, `Москва, Тверской район`, `Алматы`), или вставьте ссылки 2ГИС. Вы получите
строку на каждый филиал, в ней **больше 75 полей**: название, рубрики, адрес и его части, координаты, **полные телефоны,
почта, сайты, Telegram, WhatsApp, ВКонтакте и другие соцсети**, часы работы, рейтинг и число отзывов (2ГИС и Flamp),
атрибуты, средний чек, способы оплаты, ближайшее метро и парковки, а ещё **здание**: бизнес-центр, жилой дом или ТЦ,
этажность, год постройки. По желанию добавляются **сводка, которую 2ГИС пишет по отзывам, оценки по звёздам и темы
отзывов**, **отзывы с ответами владельца**, **фото** и **меню или прайс-лист с ценами**. Аккаунт 2ГИС и ключ API не нужны, прокси уже включены.

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

- **Вся выдача, без потолка.** Актор читает выдачу целиком. «Кафе» в Москве — это все 8 600+ мест.
- **Контакты входят в цену места.** Полные номера вида `+74990000000`, номер в привычном виде и подпись («ресепшн»,
  «доставка»). Сайты приходят чистыми, без переадресации 2ГИС и utm-меток.
- **Меню и прайс-листы.** Товары, услуги и блюда с вкладки «Цены» карточки, с ценами, разделами и картинками.
- **Отзывы и фото.** Отзывы приходят с оценкой, датой, автором, фото и ответом владельца. Фото приходят в полном размере и
  превью. И то и другое по желанию, оплата за каждую штуку.
- **Сводка и темы отзывов.** Короткая сводка, которую 2ГИС пишет по отзывам места («Гости отмечают вкусные коктейли…»),
  сколько у места оценок от 1★ до 5★, включая оценки без текста, и темы, о которых пишут. Бесплатно.
- **Данные здания.** Что за здание (бизнес-центр, жилой дом, ТЦ), этажность, год постройки, материал стен и лифты — там,
  где это есть в 2ГИС. Бесплатно, включено по умолчанию.
- **Почта с сайтов.** По желанию актор открывает сайт каждой компании, главную и страницы контактов, и берёт с них почту
  (и спрятанную от роботов), телефоны и ссылки на соцсети. Платите, только если на сайте нашлась почта, которой нет в
  2ГИС, и один раз за сайт, даже если он общий у целой сети.
- **Вакансии, курсы валют и не только.** Открытые вакансии места с зарплатой и ссылкой на отклик; курсы покупки и продажи
  в банках и обменниках; прайс-листы картинками; входы, услуги других организаций внутри (почта в отделении банка), что
  продаётся в ТЦ, скидки гостиниц и рекламные кнопки со ссылками. Всё бесплатно.
- **Точные районы и города.** «Москва, Тверской район» или «Балашиха» ищутся внутри границ самого 2ГИС, поэтому места из
  соседних районов не попадают.
- **Бесплатный отбор для лидов.** Можно взять только места с телефоном, только с сайтом, только с почтой, задать рейтинг от
  и число отзывов от или оставить один филиал от сети. Отсеянные места не оплачиваются.
- **Любая ссылка 2ГИС.** Карточка, поиск, рубрика, все филиалы сети, все компании в здании или короткая ссылка
  go.2gis.com.
- **Своя область.** Многоугольник или точка с радиусом в GeoJSON.
- **20 стран, 208 городов, 13 языков данных.** Россия, Казахстан, ОАЭ, Узбекистан, Кыргызстан, Азербайджан, Грузия,
  Армения, Беларусь, Таджикистан, Кипр, Саудовская Аравия, Оман, Катар, Бахрейн, Кувейт, Ирак, Италия, Чехия и Чили.
- **Быстро.** Без браузера. Около 1000 мест собираются за 1–2 минуты без отзывов, фото и меню.

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

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

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

1. Введите **Поисковые запросы** и **Где искать**. Каждый запрос идёт в каждом месте. Вместо них можно задать **Рубрики**,
   **Ссылки 2ГИС**, **ID мест** или **Свои области**.
2. Задайте **Мест за запуск, не больше**. По желанию задайте и **Мест на запрос в одном месте, не больше**, чтобы один
   большой город не забрал весь предел.
3. Если нужно, включите **Отбор**.
4. Если нужно, включите **Добавить отзывы**, **Добавить фото**, **Добавить меню и прайс**, **Сводка отзывов, оценки по
   звёздам и темы**, **Вакансии** или **Почта и контакты с сайтов**.
5. Запустите. В датасете появится строка на каждое место.

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

```json
{
  "searchQueries": ["кафе", "кофейня"],
  "locations": ["Москва", "Санкт-Петербург, Центральный район", "Алматы"],
  "maxItems": 2000,
  "maxItemsPerQuery": 500,
  "onlyWithPhone": true,
  "includeReviews": true,
  "maxReviewsPerPlace": 20,
  "includeProducts": true
}
```

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

Бар из настоящего запуска. Длинные списки сокращены, телефон и имя автора отзыва заменены.

```json
{
  "placeId": "70000001034739765",
  "name": "Руки Вверх!, бар",
  "url": "https://2gis.ru/moscow/firm/70000001034739765",
  "mainCategory": "Бары",
  "categories": ["Бары", "Ночные клубы", "Караоке-залы", "Кафе"],
  "brandName": "Руки Вверх!",
  "branchesCount": 9,
  "fullAddress": "Москва, Тверская улица, 22",
  "addressComment": "2 этаж",
  "postcode": "125009",
  "district": "Тверской",
  "latitude": 55.767643,
  "longitude": 37.601034,
  "buildingName": "Summit, бизнес-центр",
  "buildingPurpose": "Бизнес-центр",
  "buildingFloors": 10,
  "buildingMaterial": "Железобетон",
  "phones": ["+74990000000"],
  "phoneDetails": [{"phone": "+74990000000", "formatted": "+7 (499) 000‒00‒00", "comment": null}],
  "emails": [],
  "websites": ["http://tverskaya.rvbar.ru/"],
  "socials": {"telegram": ["https://t.me/book_rvb_bot"], "vkontakte": ["https://vk.ru/rvbar.moscow"]},
  "workingHours": {"monday": "18:00–06:00", "friday": "18:00–06:00", "...": "..."},
  "rating": 4.8,
  "reviewCount": 1247,
  "ratingDistribution": {"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265},
  "reviewTopics": ["музыка", "персонал", "сервис", "мероприятия", "караоке", "..."],
  "reviewsSummary": "Это заведение, которое привлекает внимание сочетанием стиля 90-х и начала 2000-х годов с современной музыкой. Гости отмечают здесь вкусные коктейли и отличный звук в караоке…",
  "flampRating": 4.9,
  "organizationRating": 4.7,
  "averageCheck": 1500,
  "paymentMethods": ["Оплата картой", "Наличный расчёт", "Оплата по QR-коду"],
  "attributes": ["Номинант 2026", "Чек 1500 ₽", "Коктейльный бар", "Заказ столиков", "Живая музыка"],
  "awards": ["Номинант 2026"],
  "photosCount": 203,
  "nearestStations": [{"name": "Пушкинская", "type": "metro", "distance": 320, "line": "Таганско-Краснопресненская линия"}],
  "parkings": [{"name": "Парковка БЦ Summit", "capacity": "80", "isPaid": true}],
  "isAdvertiser": true,
  "updatedAt": "2026-09-01T15:00:09Z",
  "reviews": [{"rating": 5, "text": "Уютная атмосфера…", "authorName": "Мария", "photos": ["https://…"], "ownerReply": "Приятно слышать!…", "provider": "2gis"}],
  "products": [{"name": "Брускетта с ростбифом", "category": "Закуски", "price": 590, "currency": "RUB"}]
}
```

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

Строка на филиал: идентификаторы (`placeId`, `organizationId`, `brandId`, `branchesCount`), название и ссылка, рубрики,
адрес и его части (индекс, улица, дом, здание, страна, регион, город, район), координаты и часовой пояс, телефоны (`phones`,
`phoneDetails`), факсы, почта, сайты (без рекламных меток), соцсети и мессенджеры (`socials`: Telegram, WhatsApp, ВКонтакте,
Instagram, YouTube, Viber, MAX, Одноклассники и другие), все контакты как их отдаёт 2ГИС (`contacts`), часы работы по
дням, рейтинги и число отзывов 2ГИС и Flamp, атрибуты, средний чек, способы оплаты, награды, число фото и главное фото,
ближайшие станции с расстоянием, парковки, здание (назначение, этажность, год постройки, материал стен, перекрытия,
лифты, газ, серия, аварийность), входы, услуги других организаций внутри, достопримечательности рядом, что продаётся в
ТЦ и сколько в нём мест, скидка гостиницы, рекламные ссылки, можно ли написать организации через 2ГИС, курсы валют у банков и обменников (`exchangeRates`: валюта,
покупка, продажа), описание, даты создания и обновления карточки, реклама, `searchQuery`,
`searchLocation` и `scrapedAt`. Полный список полей — в разделе «What you get» выше.

С **Добавить отзывы** приходит ещё `reviews`: оценка, текст, даты, лайки и реакции, имя, аватар и профиль автора, фото и
видео, подтверждение визита, ответ владельца и источник (2ГИС, Flamp, Booking и другие). С **Добавить фото** приходит
`photos`: ссылки на полный размер и
превью, размер, описание и источник. С **Добавить меню и прайс** приходит `products`: название, описание, раздел, цена или
диапазон цен, валюта и картинка, а ещё `priceListImages`: прайс-листы картинками, если они есть. С **Вакансиями** приходит
`vacancies`: название, зарплата, тип занятости, описание, ссылка на отклик и откуда вакансия (hh.ru и другие). С **Почтой
и контактами с сайтов** приходят `websiteEmails`, `websitePhones`, `websiteSocials` и `websitePages` (какие страницы сайта
прочитаны).

Со **Сводкой отзывов, оценками по звёздам и темами** приходят `reviewsSummary`, `ratingDistribution` (например
`{"1": 129, "2": 40, "3": 66, "4": 97, "5": 1265}`) и `reviewTopics` (`["музыка", "персонал", "караоке", …]`).

#### Цены

Цена зависит от вашего тарифа Apify: чем выше тариф, тем дешевле.

| Событие, за 1000 | Free | Starter | Scale | Business и выше | Что это |
|---|---|---|---|---|---|
| `place` | $3,60 | $3,10 | $2,60 | $2,20 | строка места со всеми полями и контактами |
| `review` | $0,40 | $0,35 | $0,28 | $0,21 | отзыв (**Добавить отзывы**) |
| `photo` | $0,40 | $0,25 | $0,12 | $0,08 | фото (**Добавить фото**) |
| `product` | $0,40 | $0,40 | $0,40 | $0,40 | позиция меню или прайса (**Добавить меню и прайс**) |
| `website-email` | $10,00 | $10,00 | $10,00 | $10,00 | сайт, на котором нашлась почта, которой нет в 2ГИС, — раз за сайт в запуске (**Почта и контакты с сайтов**) |
| Запуск актора | $0,004 | $0,004 | $0,004 | $0,004 | за запуск, а не за 1000 (Apify считает ещё один старт за каждый ГБ памяти сверх первого) |

Например, на тарифе Free 1000 мест стоят $3,60 и ещё $0,004 за запуск; если к каждому месту взять 10 отзывов,
добавится $4,00. На Business то же самое стоит $2,20 и $2,10. Места, отсеянные отбором, и повторы не оплачиваются. Сводка и темы отзывов, данные здания, курсы валют, прайс-листы картинками и вакансии бесплатны. Задайте предел трат запуска, и актор остановится до него. Актуальные цены
всегда есть на вкладке **Pricing**.

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

- **Каждое место отдаётся и оплачивается один раз за запуск.** Если место нашлось по нескольким запросам или в нескольких
  местах, вы получите его один раз.
- **Отбор действует на поиски и ссылки на поиск**, а не на ссылки на карточки и ID мест: место, которое вы попросили
  напрямую, приходит всегда.
- **В 2ГИС есть не все контакты.** Актор отдаёт то, что организация сама указала в 2ГИС. Телефон есть почти у каждой
  карточки, а почта у 30–70% карточек, смотря по рубрике.
- **Закрытых организаций нет**: 2ГИС показывает только работающие места.
- **Почта с сайтов.** Актор читает до 3 страниц сайта: главную и страницы вроде «Контакты», «О нас» или «Реквизиты».
  Сайт, общий у многих филиалов, читается один раз за запуск. Соцсети и каталоги, указанные вместо сайта, не читаются.
- **Вакансии** приходят у мест, которые публикуют их в 2ГИС: от крупных сетей до отдельных клиник и магазинов.
- **Сводка и полные данные здания есть не у всех мест.** Сводку 2ГИС пишет для мест, у которых достаточно отзывов. Год
  постройки и лифты известны в основном у жилых домов.
- **Весь город.** Запустите несколько запросов или рубрик и поставьте **Мест на запрос в одном месте, не больше** на 0.
- **Язык.** Данные приходят на выбранном языке, если он есть у города (казахский в Казахстане, арабский или английский в
  ОАЭ), иначе на основном языке города. Отзывы остаются такими, как их написали.
- **Таймаут и предел трат.** Когда запуск подходит к таймауту или к пределу трат, он вовремя останавливается. Всё собранное
  остаётся в датасете, а причина есть в статусе запуска и в записи `OUTPUT`.

# Actor input Schema

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

What to look for, as you would type it in 2GIS: «кафе», «стоматология», «автосервис», «coffee». Every query runs in every location.<br><br>Что искать, как вы написали бы в 2ГИС: «кафе», «стоматология», «автосервис», «coffee». Каждый запрос идёт в каждом месте.

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

A 2GIS city, optionally followed by a district, town, metro station or street: «Москва», «Казань», «Алматы», «dubai», «Москва, Тверской район», «Москва, Балашиха», «Москва, метро Маяковская». Towns of a region also work on their own («Балашиха»).<br><br>Город 2ГИС, а после него по желанию район, город области, станция метро или улица: «Москва», «Казань», «Алматы», «dubai», «Москва, Тверской район», «Москва, Балашиха», «Москва, метро Маяковская». Города области можно писать и без региона («Балашиха»).

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

2GIS rubrics by name («Стоматологические клиники») or ID («161»). They run in every location, like queries. A rubric returns every place of that category, even ones whose name doesn't contain your words.<br><br>Рубрики 2ГИС по названию («Стоматологические клиники») или номеру («161»). Идут в каждом месте, как запросы. Рубрика отдаёт все места этой категории, даже те, в названии которых нет ваших слов.

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

Any 2GIS link: a place (/firm/), a search (/search/...), a category (/rubricId/), all branches of a chain (/branches/), all companies in a building (/inside/ or /geo/), or a go.2gis.com short link. Any 2GIS site works (2gis.ru, 2gis.kz, 2gis.ae...).<br><br>Любая ссылка 2ГИС: карточка (/firm/), поиск (/search/...), рубрика (/rubricId/), все филиалы сети (/branches/), все компании в здании (/inside/ или /geo/) или короткая ссылка 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/ в ссылке).

## `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. Example: \[{"type":"Feature","properties":{"radiusMeters":1000},"geometry":{"type":"Point","coordinates":\[37.6173,55.7558]}}]<br><br>Свои области поиска в GeoJSON: Polygon или MultiPolygon либо Point с properties.radiusMeters. Каждый запрос и каждая рубрика идут в каждой области. Пример: \[{"type":"Feature","properties":{"radiusMeters":1000},"geometry":{"type":"Point","coordinates":\[37.6173,55.7558]}}]

## `maxItems` (type: `integer`):

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

## `maxItemsPerQuery` (type: `integer`):

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

## `minRating` (type: `string`):

Only places with at least this 2GIS rating. The filters in this section are free: places left out are not charged. They apply to searches and search links, not to place links and place IDs.<br><br>Только места с рейтингом 2ГИС не ниже этого. Отбор в этом разделе бесплатный: отсеянные места не оплачиваются. Он действует на поиски и ссылки на поиск, а не на ссылки на карточки и ID мест.

## `minReviews` (type: `integer`):

Only places with at least this many reviews. 0 means no filter.<br><br>Только места, где отзывов не меньше этого числа. 0 — без отбора.

## `onlyWithPhone` (type: `boolean`):

Leave out places that have no phone number.<br><br>Пропускать места без телефона.

## `onlyWithWebsite` (type: `boolean`):

Leave out places that have no website.<br><br>Пропускать места без сайта.

## `onlyWithEmail` (type: `boolean`):

Leave out places that have no email.<br><br>Пропускать места без почты.

## `onePerOrganization` (type: `boolean`):

For chains, keep only the first branch found. Useful for lead lists.<br><br>У сетей оставлять только первый найденный филиал. Удобно для списков лидов.

## `includeReviews` (type: `boolean`):

Review text, rating, dates, author, photos, likes and the owner's reply. Charged per review.<br><br>Текст отзыва, оценка, даты, автор, фото, лайки и ответ владельца. Оплата за каждый отзыв.

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

0 means all reviews.<br><br>0 — все отзывы.

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

Newest first, or the most relevant first, as 2GIS shows them by default.<br><br>Сначала новые или сначала самые полезные, как 2ГИС показывает их по умолчанию.

## `reviewsSources` (type: `array`):

Keep only reviews from these sources: 2gis, flamp, booking, otello, avito... Empty means all sources.<br><br>Брать отзывы только из этих источников: 2gis, flamp, booking, otello, avito... Пусто — из всех.

## `includePhotos` (type: `boolean`):

Photo links (full size and preview), size, description and source. Charged per photo.<br><br>Ссылки на фото (полный размер и превью), размер, описание и источник. Оплата за каждое фото.

## `maxPhotosPerPlace` (type: `integer`):

0 means all photos.<br><br>0 — все фото.

## `includeProducts` (type: `boolean`):

Goods, services and menu items with prices, categories and pictures, from the «Цены» tab of a 2GIS card, plus price lists as pictures where the place has them. Charged per item; price-list pictures are free.<br><br>Товары, услуги и блюда с ценами, разделами и картинками, с вкладки «Цены» карточки 2ГИС, а ещё прайс-листы картинками, если они есть. Оплата за каждую позицию, картинки прайс-листов бесплатно.

## `maxProductsPerPlace` (type: `integer`):

0 means all items.<br><br>0 — все позиции.

## `includeReviewInsights` (type: `boolean`):

The summary 2GIS writes from a place's reviews, how many 1–5 star ratings the place has, and the topics people write about (staff, food, prices…). Free; the run takes a bit longer.<br><br>Сводка, которую 2ГИС пишет по отзывам места, сколько у него оценок от 1 до 5 звёзд и темы, о которых пишут (персонал, еда, цены…). Бесплатно, запуск идёт чуть дольше.

## `includeBuildingInfo` (type: `boolean`):

What the building is (residential, business center, mall…), floors, year built, wall material, elevators and more, where 2GIS has them. Free.<br><br>Что за здание (жилой дом, бизнес-центр, ТЦ…), этажность, год постройки, материал стен, лифты и другое — там, где это есть в 2ГИС. Бесплатно.

## `includeVacancies` (type: `boolean`):

Open jobs at the place from 2GIS: title, salary, employment type, description and the link to apply (hh.ru and others). Free; one more request per place, so the run takes longer.<br><br>Открытые вакансии места из 2ГИС: название, зарплата, тип занятости, описание и ссылка на отклик (hh.ru и другие). Бесплатно, но это ещё один запрос на место, поэтому запуск идёт дольше.

## `includeWebsiteContacts` (type: `boolean`):

Opens the company's website (the home page and up to two contact pages) and takes emails, phones and social links from it. Charged only when the site has an email that 2GIS doesn't have, and once per site, even if a whole chain shares it. The run takes longer.<br><br>Открывает сайт компании (главную и до двух страниц контактов) и берёт с него почту, телефоны и ссылки на соцсети. Оплата — только если на сайте нашлась почта, которой нет в 2ГИС, и один раз за сайт, даже если он общий у целой сети. Запуск идёт дольше.

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

Language of names, addresses and categories, where the city has it (for example, kk for Kazakhstan, ar or en for the UAE). Otherwise the data comes in the city's main language. Reviews stay as they were written.<br><br>Язык названий, адресов и рубрик, если он есть у города (например, kk в Казахстане, ar или en в ОАЭ). Иначе данные приходят на основном языке города. Отзывы остаются такими, как их написали.

## `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. Your own proxy URL may contain {session}, for example http://user-session-{session}:pass@host:port, and the run will change sessions itself.<br><br>Оставьте «No proxy»: тогда запуск идёт через свои российские прокси, они уже входят в цену. Apify Proxy (RESIDENTIAL, страна RU) или свои прокси выбирайте, только если хотите именно их. В адресе своего прокси можно написать {session}, например http://user-session-{session}:pass@host:port, и запуск сам будет менять сессии.

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

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

## Actor input object example

```json
{
  "searchQueries": [
    "кафе"
  ],
  "locations": [
    "Москва"
  ],
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "minRating": "any",
  "minReviews": 0,
  "onlyWithPhone": false,
  "onlyWithWebsite": false,
  "onlyWithEmail": false,
  "onePerOrganization": false,
  "includeReviews": false,
  "maxReviewsPerPlace": 20,
  "reviewsSort": "date_edited",
  "includePhotos": false,
  "maxPhotosPerPlace": 20,
  "includeProducts": false,
  "maxProductsPerPlace": 50,
  "includeReviewInsights": false,
  "includeBuildingInfo": true,
  "includeVacancies": false,
  "includeWebsiteContacts": false,
  "language": "ru",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrency": 10
}
```

# Actor output Schema

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

One row per 2GIS place, with reviews, photos and menu if requested. Одна строка на место 2ГИС, с отзывами, фото и меню, если их заказали.

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

OUTPUT record: how many 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 = {
    "searchQueries": [
        "кафе"
    ],
    "locations": [
        "Москва"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/2gis-places-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 = {
    "searchQueries": ["кафе"],
    "locations": ["Москва"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("theshark/2gis-places-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 '{
  "searchQueries": [
    "кафе"
  ],
  "locations": [
    "Москва"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call theshark/2gis-places-scraper --silent --output-dataset

```

## MCP server setup

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