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

Scrape 2GIS (2ГИС) businesses by keyword and city or by place URL: name, categories, address, coordinates, phones, emails, website, social links, rating, reviews and opening hours across Russia, Kazakhstan, UAE, Cyprus and CIS.

- **URL**: https://apify.com/automation-lab/2gis-places-scraper.md
- **Developed by:** [Automation Lab](https://apify.com/automation-lab) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.79 / 1,000 place extracteds

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

Scrape businesses from **2GIS (2ГИС)** by keyword and city, or from 2GIS place and search URLs. Each row is one place with its name, categories, full address, coordinates, **phones, emails, website, social links**, rating, review count, opening hours and branch count.

It works on every 2GIS country site: Russia (2gis.ru), Kazakhstan (2gis.kz), UAE (2gis.ae), Cyprus (2gis.com.cy), Uzbekistan, Kyrgyzstan, Belarus, Georgia, Armenia, Azerbaijan and more. Type the query in Russian or English.

### What does 2GIS Places Scraper do?

2GIS is the main business directory and map in Russia and the CIS, and it is growing in the UAE and Cyprus. This Actor turns a 2GIS search into a clean table:

- 🔎 **Search by keyword and city**: `стоматология` in Moscow, `coffee` in Dubai, `car service` in Almaty.
- 🔗 **Paste 2GIS URLs**: a search or category page, or single place pages.
- ☎️ **Contacts from each place page**: phones, emails, websites, Telegram, WhatsApp, VK, Instagram and other links.
- ⭐ **Filters**: minimum rating, open now, only places with a website, sort by rating.
- 🧾 **Typed fields**: numbers are numbers, lists are lists, hours are per weekday.

### Who is it for?

- **Sales and lead generation teams** building call or email lists of local businesses in Russia, Kazakhstan, the UAE or Cyprus.
- **Marketing agencies** looking for clinics, salons, restaurants or car services without a website or with low ratings.
- **Market researchers** counting competitors per city and category, or tracking new openings.
- **Franchise and retail analysts** mapping branch networks with coordinates.
- **Data teams** that re-run the same city and category every week to monitor changes.

### Why use this 2GIS scraper?

- **Works without a browser**: fast and cheap per place.
- **One price per place** with contacts included. No separate contact add-on.
- **English and Russian input**: city names like `Moscow`, `Москва`, `Saint Petersburg` or the 2GIS slug `spb`.
- **Clean output**: international phone format, the real website address (not the 2GIS click-tracking link), opening hours per weekday.
- **Deep pagination**: large cities return thousands of places for one query.

### What data can you extract from 2GIS?

| Field | Example |
| --- | --- |
| `placeId`, `orgId` | `70000001034739765`, `70000001034739764` |
| `name`, `shortName`, `categoryLabel` | `Руки Вверх!, бар`, `Руки Вверх!`, `бар` |
| `categories`, `primaryCategory` | `["Бары", "Ночные клубы", "Кафе"]`, `Бары` |
| `address`, `addressComment`, `postcode`, `buildingName` | `Тверская улица, 22`, `2 этаж`, `125009`, `БЦ Summit` |
| `district`, `city`, `region`, `country` | `Тверской`, `Москва`, `Москва`, `Россия` |
| `latitude`, `longitude` | `55.767643`, `37.601034` |
| `phones` | `["+74992881912"]` |
| `emails` | `["info@example.ru"]` |
| `website`, `websites` | `http://tverskaya.rvbar.ru/` |
| `socialLinks` | `[{"type": "telegram", "url": "https://t.me/..."}]` |
| `rating`, `reviewCount`, `ratingCount` | `4.8`, `1248`, `1655` |
| `orgRating`, `orgReviewCount` | rating and reviews across all branches |
| `openingHours`, `isOpen24x7` | `{"monday": "18:00-06:00", ...}`, `false` |
| `branchCount`, `photoCount` | `9`, `203` |
| `features` | payment methods, Wi-Fi, average bill, awards |
| `url` | `https://2gis.ru/moscow/firm/70000001034739765` |
| `createdAt`, `updatedAt` | when the place was added and last updated on 2GIS |

### How much does it cost to scrape places from 2GIS?

This Actor uses pay-per-event pricing. You pay a small start fee per run and a price per place saved. Contacts are included in the place price.

| Event | Free / Bronze | Silver | Gold and above |
| --- | ---: | ---: | ---: |
| Run start (once per run) | $0.005 | $0.005 | $0.005 |
| Place saved | $0.003483 | $0.0031347 | $0.0027864 |

Examples on the Free or Bronze plan:

- 100 places: about **$0.35**
- 1,000 places: about **$3.49**
- 10,000 places: about **$34.84**

You never pay for places that were not saved. Set **Maximum places** or a maximum charge per run to cap the cost. Apify's free plan includes monthly credit you can use to try it.

### How to scrape 2GIS

1. Open the Actor in Apify Console and click **Try for free**.
2. Enter one or more **Search queries**, such as `кафе` or `dentist`.
3. Enter the **City**, such as `Moscow`, `spb`, `Almaty`, `Dubai` or `cyprus`.
4. Or paste **2GIS URLs** of search pages or places instead.
5. Set **Maximum places** and any filters.
6. Click **Start**, then download the results as Excel, CSV, JSON or HTML.

### Input parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `searchQueries` | array | What to search for, in Russian or English. |
| `city` | string | City name in English or Russian, or the 2GIS slug (`moscow`, `spb`, `n_novgorod`, `almaty`, `dubai`, `cyprus`). Default `moscow`. |
| `startUrls` | array | 2GIS search, category or place URLs from any 2GIS country site. |
| `maxItems` | integer | Maximum places in total. Default 100. |
| `includeContacts` | boolean | Open each place page for phones, emails, website and social links. Default `true`. |
| `minRating` | string | `any`, `3`, `3.5`, `4`, `4.5` or `4.9`. Uses 2GIS's own rating filter. |
| `openNow` | boolean | Only places open at run time. |
| `onlyWithWebsite` | boolean | Only places with a website. |
| `sortBy` | string | `relevance` (default) or `rating`. |
| `proxyConfiguration` | object | Fallback proxy. Pages go direct first and switch to this proxy when direct requests fail. Apify datacenter proxy by default. |

Example input:

```json
{
    "searchQueries": ["стоматология", "dental clinic"],
    "city": "Almaty",
    "maxItems": 200,
    "includeContacts": true,
    "minRating": "4"
}
```

### Output example

```json
{
    "placeId": "70000001034739765",
    "orgId": "70000001034739764",
    "name": "Руки Вверх!, бар",
    "shortName": "Руки Вверх!",
    "categoryLabel": "бар",
    "categories": ["Бары", "Ночные клубы", "Караоке-залы", "Кафе"],
    "primaryCategory": "Бары",
    "address": "Тверская улица, 22",
    "addressComment": "2 этаж",
    "postcode": "125009",
    "buildingName": "БЦ Summit",
    "district": "Тверской",
    "city": "Москва",
    "region": "Москва",
    "country": "Россия",
    "latitude": 55.767643,
    "longitude": 37.601034,
    "phones": ["+74992881912"],
    "emails": [],
    "website": "http://tverskaya.rvbar.ru/?utm_source=2gis&utm_medium=resto&utm_campaign=kartochka&utm_term=perekhod-na-sayt",
    "socialLinks": [
        { "type": "telegram", "url": "https://t.me/book_rvb_bot" },
        { "type": "vkontakte", "url": "https://vk.ru/rvbar.moscow" }
    ],
    "rating": 4.8,
    "reviewCount": 1248,
    "ratingCount": 1655,
    "orgRating": 4.7,
    "orgReviewCount": 4491,
    "openingHours": { "monday": "18:00-06:00", "tuesday": "18:00-06:00", "sunday": "18:00-06:00" },
    "isOpen24x7": false,
    "branchCount": 9,
    "photoCount": 203,
    "features": ["Чек 1500 ₽", "Живая музыка", "Wi-Fi для клиентов", "Оплата картой"],
    "contactsIncluded": true,
    "url": "https://2gis.ru/moscow/firm/70000001034739765",
    "searchQuery": "кафе",
    "createdAt": "2018-11-04T00:00:00Z",
    "updatedAt": "2026-09-01T15:00:09Z",
    "scrapedAt": "2026-11-16T07:22:45.102Z"
}
```

### Tips and limits

- **Language follows the country site.** Russian and Kazakh sites return Russian names; the UAE and Cyprus sites return English names.
- **Rating filter.** `minRating` uses 2GIS's own rating groups. In cities where few places have enough reviews (for example Dubai), the filtered list is much shorter.
- **Faster lists.** Turn off `includeContacts` when you only need names, addresses, coordinates, categories, ratings and hours. The place price is the same, but runs finish several times faster.
- **Several cities.** Run once per city, or paste search URLs from several cities into `startUrls`.
- **Unknown city.** If the city is not recognised, the run fails at once and costs nothing. Copy the slug from the 2GIS address bar, for example `https://2gis.ru/ekaterinburg`.
- **Duplicates.** A place found by two queries is saved once per run.
- **Partial runs.** If 2GIS stops answering for one query, the places already saved are kept and the status message names the failure.

### Use cases and integrations

- **CRM import**: export to CSV or connect the dataset to HubSpot, Pipedrive or Google Sheets with Apify integrations.
- **Weekly monitoring**: create a task per city and category and schedule it. Compare `placeId` between runs to find new openings and closures.
- **Make, Zapier and n8n**: start the Actor and read the dataset from your workflow.
- **Mapping**: `latitude` and `longitude` load straight into QGIS, Kepler.gl or Google My Maps.

### Use the 2GIS scraper with the API

cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~2gis-places-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["кафе"], "city": "moscow", "maxItems": 50}'
```

JavaScript:

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('automation-lab/2gis-places-scraper').call({
    searchQueries: ['dentist'],
    city: 'dubai',
    maxItems: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("automation-lab/2gis-places-scraper").call(run_input={
    "searchQueries": ["автосервис"],
    "city": "Almaty",
    "maxItems": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["phones"])
```

### Use with AI agents via MCP

Connect the Actor to AI clients through Apify's Model Context Protocol server.

#### Claude Code

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/2gis-places-scraper"
```

#### Claude Desktop, Cursor, or VS Code

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/2gis-places-scraper"
        }
    }
}
```

Example prompts:

- "Find 50 dental clinics in Almaty on 2GIS with a rating of 4.5 or more and list their phones."
- "Get coffee shops in Dubai from 2GIS without a website."
- "Export car services in Kazan from 2GIS with phones and emails."

The MCP server starts a run and returns its dataset. Ask for a small `maxItems` first to see the fields.

### Is it legal to scrape 2GIS?

This Actor reads public business listings that 2GIS shows to every visitor without logging in. Business contact data is generally public, but phones and emails can still be personal data under laws such as Russia's 152-FZ or the GDPR, for example for sole traders. Use the data for legitimate purposes, respect opt-outs and anti-spam rules, and check the rules that apply to you.

### Error reporting

When a run fails, the Actor sends sanitized diagnostic input, the exception and the Actor, build and run IDs to our private GlitchTip service so we can repair it. Secret fields and URL query strings are removed, and reports are kept for 30 days.

### FAQ

**Does it need a 2GIS account or API key?**
No. It reads the public 2GIS website.

**Why are some phones or emails empty?**
The business did not list them on 2GIS. Phones are the most common contact; emails appear on roughly half of listings.

**Why do I get fewer places than 2GIS shows?**
Check `maxItems`, the rating filter and `openNow`. Places found by more than one query are saved once.

**The run failed with "City was not found".**
Use the city slug from the 2GIS address bar, for example `ekaterinburg`, `n_novgorod` or `cyprus`, or paste a full search URL instead.

**Can I get reviews and photos?**
Not yet. Each row has the rating, review count and photo count.

### Related Actors

- [Google Maps business website, email and social contact leads](https://apify.com/automation-lab/google-maps-business-website-email-and-social-contact-leads) for business contacts from Google Maps outside the 2GIS countries.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/2gis-places-scraper/changelog.md

# Actor input Schema

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

What to look for on 2GIS, in Russian or English, the same as typing into the 2GIS search box. Examples: кафе, стоматология, car service, coffee. Each query is searched in the city below.

## `city` (type: `string`):

City to search in. Use the name in English or Russian (Moscow, Санкт-Петербург, Almaty, Dubai) or the slug from the 2GIS address bar (moscow, spb, n_novgorod, almaty, dubai, cyprus, tashkent). Only used with Search queries.

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

2GIS place pages (https://2gis.ru/moscow/firm/70000001034739765) or search and category pages (https://2gis.ru/moscow/search/кафе). Any 2GIS country site works: 2gis.ru, 2gis.kz, 2gis.ae, 2gis.com.cy, 2gis.uz and others.

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

Stop after this many places in total, across all queries and URLs. You pay only for places saved.

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

Open each place page to collect phones, emails, website and social links. Turn off for a faster list with name, address, coordinates, categories, rating and hours only.

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

Only places rated at least this high on 2GIS.

## `openNow` (type: `boolean`):

Only places that 2GIS shows as open at the time of the run.

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

Only places that list a website on 2GIS.

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

Order of search results: 2GIS relevance, or highest rating first.

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

Pages are fetched directly first because that is fastest. Failed requests are retried through this proxy, and the run switches to it if direct requests keep failing. Apify datacenter proxy works for 2GIS.

## Actor input object example

```json
{
  "searchQueries": [
    "кафе"
  ],
  "city": "moscow",
  "maxItems": 20,
  "includeContacts": true,
  "minRating": "any",
  "openNow": false,
  "onlyWithWebsite": false,
  "sortBy": "relevance",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Table of places with name, category, address, phones, emails, website, rating and 2GIS link.

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

All place fields as JSON, including categories, social links, opening hours, features and coordinates.

# 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": [
        "кафе"
    ],
    "city": "moscow",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/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": ["кафе"],
    "city": "moscow",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/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": [
    "кафе"
  ],
  "city": "moscow",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automation-lab/2gis-places-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation-lab/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/O6N9OLkO8qFyuLa30/builds/FVdvvajZHWYCJFSdL/openapi.json
