# 2GIS Places Scraper (`scraper-engine/2gis-places-scraper`) Actor

🏢 2GIS Places Scraper extracts structured business data from 2GIS places — names, addresses, phones, ratings & more. 🚀 Fast, reliable scraping for lead gen, market research, and local SEO insights. 🔎📊

- **URL**: https://apify.com/scraper-engine/2gis-places-scraper.md
- **Developed by:** [Scraper Engine](https://apify.com/scraper-engine) (community)
- **Categories:** Lead generation, SEO tools, Automation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does 2GIS Places Scraper do?

A 2GIS Places Scraper is a 2GIS Places scraping tool and 2GIS scraper designed to collect structured information from the 2GIS platform, which is widely used for maps, business listings, and local place discovery. This 2GIS Places scraping tool automatically gathers data such as business names, categories, addresses, phone numbers, websites, ratings, and geographic coordinates.

Instead of manually searching and copying information, 2GIS scraping automates the entire process, making it a strong bulk 2GIS places scraping solution for large-scale data extraction. It also supports 2GIS business listings scraper, helping users process thousands of records efficiently without manual effort.

This tool works as a 2GIS data extraction tool, commonly used by marketers, researchers, and developers who need large-scale location-based data for analysis, lead generation, or business intelligence. With 2GIS Places scraping, users can quickly convert unstructured map data into organized datasets ready for export in formats like CSV or JSON.

### What 2GIS Places Scraper”can I extract?

A 2GIS Places Scraper is a 2GIS Places scraping tool and 2GIS scraper tool that allows you to extract a wide range of valuable business and location-based data from the 2GIS platform. This 2GIS scraping tool is commonly used for bulk 2GIS places scraping to collect structured datasets for marketing, research, and analytics purposes.

#### Data Type

| Data Type | Description |
| --- | --- |
| Business Name | Official name of the place or company |
| Category | Type of business (restaurant, hotel, shop, etc.) |
| Address | Full physical location details |
| Phone Number | Contact numbers listed publicly |
| Website | Official business websites |
| Ratings | User reviews and ratings |
| Reviews | Customer feedback and comments |
| Coordinates | Latitude and longitude for mapping |
| Opening Hours | Business operating times |
| Images | Available place photos (if public) |

In addition to basic details, advanced 2GIS scraping setups can also extract hidden metadata such as place IDs, map links, and social media references. This makes the 2GIS Places scraping tool a powerful solution for building business directories, lead databases, or geo-based analytics systems.

With 2GIS data extraction tool capabilities, users can filter data by city, category, or keyword to target specific markets. The extracted dataset can be exported in multiple formats, supporting 2GIS business listings scraper workflows for easy integration into CRM systems, dashboards, or marketing tools.

#### Key Features of 2GIS Places Scraper

The 2GIS Places Scraper is a 2GIS Places scraping tool and 2GIS scraper tool built for efficient and scalable data extraction from 2GIS listings. It also supports 2GIS scraping workflows for automated and structured data collection.

⚡ Key Features:

- Automated data extraction – No manual copying required using 2GIS Places scraping tool

- Bulk scraping support – Enables bulk 2GIS places scraping to collect thousands of listings at once

- Structured output formats – Export data in CSV, JSON, or Excel for 2GIS data extraction tool workflows

- Geo-based filtering – Scrape data by city or region for targeted 2GIS scraping tool usage

- Real-time data collection – Get updated listings from 2GIS through continuous scraping

- Custom field selection – Extract only required data fields for optimized 2GIS scraping

- High-speed performance – Designed for large-scale 2GIS business listings scraper operations

These features make it ideal for marketers, analysts, and developers who need accurate and structured location intelligence data using a 2GIS Places scraping tool for research, lead generation, and business insights.

### How to use 2GIS Places Scraper

🧭 How to Use 2GIS Places Scraper?\
Follow these simple steps to start extracting 2GIS business data quickly 👇

- 🔑 Log in to Apify – Create a free account or sign in to your Apify dashboard.

- 🧩 Open the Actor – Search for “2GIS Places Scraper” in the Apify Store and open the tool.

- 📍 Enter Your Input – Provide a location (city, region, or country) and a search keyword such as restaurants, clinics, hotels, or shops.

- ⚙️ Set Filters (Optional) – Customize your scraping by adding limits, categories, or specific fields like phone numbers, ratings, or websites.

- 🚀 Run the Scraper – Start the process. The scraper will automatically crawl 2GIS listings and extract structured business data.

- ⬇️ Download Results – Once completed, export your data in CSV, JSON, or Excel format for analysis or integration.

💡 Tip: You can also automate the workflow using the 2GIS Places Scraper API for large-scale data collection or integrate it with tools like Python, Zapier, or Make for continuous scraping pipelines.

#### ⬇️ Input

Example JSON Input 👇

```json
{
  "enableGlobalDataset": false,
  "filterCreatedRecently": false,
  "filterHasGoods": false,
  "filterHasPhotos": false,
  "filterHasSite": false,
  "filterHomeDelivery": false,
  "filterPaymentCard": false,
  "filterTakeaway": false,
  "filterWifi": false,
  "includeContacts": false,
  "includePhotoAuthors": false,
  "includeReviewerData": false,
  "includeUnratedReviews": false,
  "query": [
    "Ресторан"
  ],
  "locationQuery": "Москва",
  "maxItems": 10,
  "domain": "auto",
  "language": "auto",
  "maxReviewsPerPlace": 0,
  "reviewSortBy": "trust",
  "reviewRatings": "all",
  "maxMediaPerPlace": 0,
  "rubricIds": [],
  "sortBy": "rating"
}
```

#### ⬆️ Output

Example JSON Input 👇

```json
  {
    "id": "70000001031659781",
    "title": "Мясо&Рыба, ресторан",
    "shortName": "Мясо&Рыба",
    "extension": "ресторан",
    "url": "https://2gis.ru/moscow/firm/70000001031659781",
    "rubrics": [
      "Рестораны",
      "Доставка еды"
    ],
    "category": "food_restaurant",
    "totalScore": 4.8,
    "reviewsCount": 1201,
    "ratingCount": 1567,
    "summary": "Гармоничное сочетание стейк-хауса и рыбного ресторана. Более 100 блюд!",
    "postcode": "123001",
    "country": "Россия",
    "region": "Москва",
    "city": "Москва",
    "district": "Тверской",
    "street": "Тверская улица",
    "houseNumber": "23/12",
    "address": "Тверская улица, 23/12",
    "mainPhotoUrl": "https://i3.photo.2gis.com/main/branch/32/70000001031659781/common",
    "location": {
      "lat": 55.766672,
      "lng": 37.599969
    },
    "working_hours": {
      "Mon": {
        "from": "00:00",
        "to": "24:00"
      },
      "Tue": {
        "from": "00:00",
        "to": "24:00"
      },
      "Wed": {
        "from": "00:00",
        "to": "24:00"
      },
      "Thu": {
        "from": "00:00",
        "to": "24:00"
      },
      "Fri": {
        "from": "00:00",
        "to": "24:00"
      },
      "Sat": {
        "from": "00:00",
        "to": "24:00"
      },
      "Sun": {
        "from": "00:00",
        "to": "24:00"
      }
    },
    "nearestStations": [
      {
        "name": "Тверская",
        "distance": 330,
        "comment": "Замоскворецкая линия"
      },
      {
        "name": "Пушкинская",
        "distance": 350,
        "comment": "Таганско-Краснопресненская линия"
      },
      {
        "name": "Маяковская",
        "distance": 450,
        "comment": "Замоскворецкая линия"
      }
    ],
    "attributeGroups": [
      "Чек 2150 ₽",
      "Ланч от 680 ₽",
      "Рыбные заведения",
      "Европейская кухня",
      "Рыбная кухня",
      "Бизнес-ланч",
      "Завтрак",
      "Заказ столиков",
      "Заказ навынос",
      "Винная карта",
      "Меню на английском",
      "Постное меню",
      "Живая музыка",
      "VIP-зал",
      "Летняя веранда",
      "Детский уголок",
      "Проведение банкетов",
      "Можно с ноутбуком",
      "Английский завтрак",
      "Ланч 11:30-16:00",
      "До 100 мест",
      "Пицца",
      "Шашлык",
      "Бургеры",
      "Пельмени",
      "Паста",
      "Стейки",
      "Том-Ям",
      "Люля-кебаб",
      "Картофель-фри",
      "Салаты",
      "Супы",
      "На гриле",
      "Фиш энд чипс",
      "Колбаски",
      "Мидии",
      "Устрицы",
      "Крабы",
      "Морские ежи",
      "Морские гребешки",
      "Кофе с собой",
      "Глинтвейн",
      "Чай с собой",
      "Завтраки",
      "Десерты",
      "Вторые блюда",
      "Корпоративные обеды",
      "Рёбрышки",
      "Доставка",
      "Wi-Fi для клиентов",
      "Оплата картой",
      "Наличный расчёт",
      "Оплата через банк",
      "Оплата по QR-коду"
    ],
    "brand": {
      "name": "Мясо&Рыба, ресторан",
      "shortName": "Мясо&Рыба",
      "extension": "ресторан",
      "branchCount": 11,
      "rating": {
        "score": 4.7,
        "reviews": 3583
      }
    },
    "detailsType": "branch",
    "searchString": "Ресторан",
    "searchUrl": "https://2gis.ru/search/%D0%A0%D0%B5%D1%81%D1%82%D0%BE%D1%80%D0%B0%D0%BD?m=37.385264%2C55.581699%2F9",
    "pageNumber": 1,
    "scrapedAt": "2026-04-22T15:35:44.555470Z"
  },
```

### 🎯 Use Cases of 2GIS Places Scraper

The 2GIS Places Scraper is a 2GIS Places scraping tool and 2GIS scraper tool widely used for 2GIS scraping and large-scale location data extraction across multiple industries for data-driven decision-making. It also supports bulk 2GIS places scraping for efficient collection of business intelligence.

📌 Common Use Cases:

- Lead generation for B2B and B2C businesses using 2GIS business listings scraper

- Local SEO and market research through 2GIS data extraction tool workflows

- Competitor analysis in specific regions with 2GIS scraping tool

- Building business directories and databases via 2GIS Places scraping tool

- Real estate and location intelligence research using 2GIS scraping

- Marketing campaigns targeting local businesses through bulk 2GIS places scraping

- App development using location-based data collected from 2GIS scraper tool

This makes it a powerful solution for agencies, startups, and data analysts who rely on structured location intelligence using a 2GIS Places scraping tool for scalable insights and automation

### 💰 How much does 2GIS Places Scraper cost you?

A 2GIS Places Scraper is typically offered as a 2GIS Places scraping tool with a pay-per-event pricing model, making it flexible and scalable for 2GIS scraping workflows.

Instead of paying for a fixed subscription, you are charged based on specific actions (events) like each place, review, or data record processed. This is commonly used in modern bulk 2GIS places scraping systems.

💡 Pay-per-event cost structure:

- Actor start fee (run initiation event)

- Place scraped event (each 2GIS listing extracted)

- Review scraped event (if reviews are collected)

- Additional data events (photos, enrichment, filters, etc.)

📊 Updated pricing logic:

- You pay per successful event (e.g., each extracted place or record)

- Example: scraping 1,000 businesses = charged per 1,000 “place\_scraped” events

- No flat monthly fee required for usage-based 2GIS data extraction tool

⚡ Example usage model:\
If you run a 2GIS scraper tool, cost depends on:

- Number of places extracted

- Number of extra events (reviews, filters, enrichment)

- Complexity of your 2GIS scraping tool workflow

This model is ideal because:

- You only pay for actual data extracted

- It scales from small tests to large 2GIS business listings scraper operations

- Works efficiently for marketing, lead generation, and analytics pipelines

👉 In simple terms: the more 2GIS scraping you do, the more events you trigger—but you only pay for real results, not unused capacit

### ⚖️ Is it legal to scrape 2GIS Places?

Using a 2GIS Places Scraper for 2GIS scraping is generally considered acceptable when it is limited to publicly available data and used responsibly. However, legality is not universal and depends on platform rules and local regulations.

⚖️ Key points:

- Only public data should be collected using a 2GIS Places scraping tool

- Avoid excessive requests or server overload during bulk 2GIS places scraping

- Respect 2GIS Terms of Service and platform usage policies

- Do not collect or misuse personal, sensitive, or restricted data

- Follow applicable data protection and privacy laws in your region

When used ethically, a 2GIS scraper tool is widely applied for research, marketing, lead generation, and business intelligence. Responsible 2GIS data extraction tool usage ensures compliance while still enabling valuable location-based insights.

### .❓ FAQ

#### How does seed keyword identify data?

The seed keyword (such as “restaurants” or “clinics”) helps a 2GIS Places Scraper locate relevant 2GIS listings and categorize extracted results based on user input for accurate 2GIS scraping.

#### Why scrape 2GIS Places?

Using a 2GIS Places scraping tool helps collect large-scale business data for lead generation, market research, competitor tracking, and location intelligence analysis through bulk 2GIS places scraping.

#### How much does it cost to use our 2GIS Places Scraper?

It typically uses a pay-per-result model. With free credits like Apify’s $5 monthly plan, users can perform 2GIS scraping and extract thousands of records at minimal or zero cost using a 2GIS scraper tool.

#### How 2GIS Places Scraper helps you

A 2GIS data extraction tool automates data collection, saves time, and provides structured business information for marketing, analytics, and business growth.

#### Challenges when using 2GIS Places Scraper

- Data may change frequently during 2GIS scraping

- Rate limits may apply in a 2GIS scraper tool

- Requires proper filtering for accuracy in bulk 2GIS places scraping

#### Selecting the best 2GIS Places Scraper

Choose a 2GIS Places scraping tool that offers:

- High-speed performance

- Accurate structured output

- Flexible filters for 2GIS scraping

- Export options (CSV/JSON)

- Reliable data coverage

### ✅ Final Conclusion

A 2GIS Places Scraper is a powerful 2GIS Places scraping tool designed to simplify and automate the extraction of business and location data from 2GIS. With support for 2GIS scraping and bulk 2GIS places scraping, it helps users gather structured information for lead generation, market research, and business intelligence. By using a reliable 2GIS scraper tool, businesses can save time, improve accuracy, and scale data collection efficiently. When used responsibly, it becomes a valuable 2GIS data extraction tool for data-driven growth and decision-making.

# Actor input Schema

## `query` (type: `array`):

🇷🇺 Одна или несколько фраз, как в поиске на сайте 2GIS (например: *ресторан*, *стоматология*, *автомойка*). Разные формулировки дают лучшее покрытие.
🇬🇧 One or more phrases, like in the 2GIS search box (e.g. *restaurant*, *dentist*, *car wash*). Varied wording improves coverage.

## `locationQuery` (type: `string`):

🇷🇺 Где искать: город, район, улица или ориентир (например: *Москва*, *Нижний Новгород*).
🇬🇧 Where to search: city, district, street or landmark (e.g. *Moscow*, *Almaty*).

🇷🇺 Если задана пользовательская область ниже — она важнее этого поля.
🇬🇧 If **Custom area (GeoJSON)** is set below, it overrides this field.

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

🇷🇺 Максимум карточек на **каждый** поисковый запрос. **0** — попытаться взять все доступные (ограничено сайтом).
🇬🇧 Maximum listings **per search term**. **0** — try to take all available (still limited by the site).

## `domain` (type: `string`):

🇷🇺 Карта какой страны использовать (**Авто** — по умолчанию Россия / 2gis.ru).
🇬🇧 Which national 2GIS site to use (**Auto** defaults to Russia / 2gis.ru).

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

🇷🇺 Предпочтительный язык страницы и заголовков (**Авто** — язык по умолчанию для выбранного домена).
🇬🇧 Preferred page language (**Auto** — default for the selected domain).

## `includeContacts` (type: `boolean`):

🇷🇺 Дополнительно подгружает телефоны, e-mail, сайт и соцсети, если они указаны в карточке.
🇬🇧 Also loads phones, email, website and socials when the listing shows them.

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

🇷🇺 Максимум отзывов на одну организацию. **0** — не собирать отзывы (быстрее).
🇬🇧 Max reviews per place. **0** — skip reviews (faster run).

## `reviewSortBy` (type: `string`):

🇷🇺 Как упорядочивать отзывы при сборе.
🇬🇧 How reviews are ordered when fetched.

## `reviewRatings` (type: `string`):

🇷🇺 Какие отзывы оставлять: все, только негативные или только позитивные.
🇬🇧 Filter by sentiment: all, negative only, or positive only.

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

🇷🇺 Включать отзывы без числовой оценки, если они есть.
🇬🇧 Include text-only reviews without a star rating when present.

## `includeReviewerData` (type: `boolean`):

🇷🇺 Сохранять публичные поля профиля автора (имя, аватар и т.п.), если 2GIS их отдаёт.
🇬🇧 Store public reviewer fields (name, avatar, etc.) when exposed by 2GIS.

⚠️ Персональные данные регулируются GDPR и др. Собирайте только при законной цели.
⚠️ Personal data is regulated (e.g. GDPR). Collect only where you have a lawful basis.

## `maxMediaPerPlace` (type: `integer`):

🇷🇺 Сколько медиафайлов сохранить на карточку. **0** — не заходить в галерею (быстрее).
🇬🇧 How many gallery items to save per place. **0** — skip media (faster).

## `includePhotoAuthors` (type: `boolean`):

🇷🇺 Для дополнительных фото сохранять имя и ссылку на профиль автора, если указано.
🇬🇧 For extra photos, store author name and profile link when 2GIS shows them.

## `rubricIds` (type: `array`):

🇷🇺 Сузить выдачу до выбранных **рубрик** (категорий) из справочника 2GIS. В данных сохраняются числовые коды; здесь — удобные названия.
🇬🇧 Narrow results to selected **2GIS categories**. Stored values are numeric IDs; labels here are for the form only.

## `filterHasGoods` (type: `boolean`):

🇷🇺 Только места, где в карточке есть раздел с ценами/меню (обычно общепит).
🇬🇧 Only places that expose prices or a menu in the listing.

## `filterHomeDelivery` (type: `boolean`):

🇷🇺 Только заведения с доставкой.
🇬🇧 Only venues that offer delivery.

## `filterTakeaway` (type: `boolean`):

🇷🇺 Только заведения с заказом навынос.
🇬🇧 Only places with takeaway / to-go.

## `filterHasSite` (type: `boolean`):

🇷🇺 Только организации с указанным сайтом.
🇬🇧 Only listings that include a website URL.

## `filterHasPhotos` (type: `boolean`):

🇷🇺 Только места с загруженными фотографиями.
🇬🇧 Only places that have photo gallery content.

## `filterPaymentCard` (type: `boolean`):

🇷🇺 Только места, где указана оплата банковской картой.
🇬🇧 Only where card payment is indicated.

## `filterAvgPriceMin` (type: `integer`):

🇷🇺 Нижняя граница среднего чека (для заведений, где он указан).
🇬🇧 Minimum average bill (where available).

## `filterAvgPriceMax` (type: `integer`):

🇷🇺 Верхняя граница среднего чека (для заведений, где он указан).
🇬🇧 Maximum average bill (where available).

## `filterCreatedRecently` (type: `boolean`):

🇷🇺 Показывать недавно появившиеся в городе точки.
🇬🇧 Prefer newly listed places in the area.

## `filterWifi` (type: `boolean`):

🇷🇺 Только места с отмеченным Wi‑Fi.
🇬🇧 Only listings that mention Wi‑Fi.

## `filterRating` (type: `string`):

🇷🇺 Оставить точки не ниже выбранного уровня звёзд (один вариант).
🇬🇧 Keep places at or above the selected star tier (pick one).

## `sortBy` (type: `string`):

🇷🇺 Как упорядочить список на странице поиска перед сбором.
🇬🇧 How search results are ordered before scraping.

## `customGeolocation` (type: `object`):

🇷🇺 Нарисуйте или вставьте **Polygon / MultiPolygon** в формате GeoJSON — поиск ограничится этой фигурой. Имеет приоритет над полем «Город».
🇬🇧 Paste a **Polygon / MultiPolygon** GeoJSON to limit the search to that shape. Overrides the city text above.

## `enableGlobalDataset` (type: `boolean`):

🇷🇺 Включить накопление и объединение записей между запусками (полезно для больших обходов).
🇬🇧 Accumulate and deduplicate records across runs (for large crawling projects).

## Actor input object example

```json
{
  "query": [
    "Ресторан"
  ],
  "locationQuery": "Москва",
  "maxItems": 10,
  "domain": "auto",
  "language": "auto",
  "includeContacts": false,
  "maxReviewsPerPlace": 0,
  "reviewSortBy": "trust",
  "reviewRatings": "all",
  "includeUnratedReviews": false,
  "includeReviewerData": false,
  "maxMediaPerPlace": 0,
  "includePhotoAuthors": false,
  "rubricIds": [],
  "filterHasGoods": false,
  "filterHomeDelivery": false,
  "filterTakeaway": false,
  "filterHasSite": false,
  "filterHasPhotos": false,
  "filterPaymentCard": false,
  "filterCreatedRecently": false,
  "filterWifi": false,
  "sortBy": "rating",
  "enableGlobalDataset": false
}
```

# 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 = {
    "query": [
        "Ресторан"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraper-engine/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 = { "query": ["Ресторан"] }

# Run the Actor and wait for it to finish
run = client.actor("scraper-engine/2gis-places-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "query": [
    "Ресторан"
  ]
}' |
apify call scraper-engine/2gis-places-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraper-engine/2gis-places-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1cbdtDuFNNOy0ctas/builds/1FwDthokMHQOPCSDj/openapi.json
