# 2GIS Places Scraper — Russia & CIS Business Directory (`bovi/2gis-places-scraper`) Actor

Scrape 2GIS (Russia/CIS maps) by city + search query. Returns business name, address, GPS, phones, website, hours, rating, rubrics. Covers Russia, Kazakhstan, Kyrgyzstan, UAE + 20 countries. Pay per result.

- **URL**: https://apify.com/bovi/2gis-places-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Lead generation, Business, MCP servers
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.81 / 1,000 place records

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

### 2GIS Places Scraper — Russia & CIS Business Directory

Extract businesses and places from **2GIS** — the leading maps & directory platform for Russia, Kazakhstan, UAE, and 20+ other CIS/MENA countries. Get structured B2B leads with **phone, email, social links, GPS, opening hours, ratings, photos, and category tags** — no browser, no API key required.

2GIS covers **70+ million businesses** across Russia, Kazakhstan, Kyrgyzstan, Belarus, UAE, Saudi Arabia and more — the go-to source for CIS-region lead generation. This scraper reads the same public Catalog API the 2GIS site itself uses, so it's fast and reliable (no headless browser, no `/museum` redirect). It runs on Apify RESIDENTIAL IPs and rotates to a fresh IP automatically if the shared key gets throttled — for very high volume you can also plug in your own free 2GIS key.

### What you get — 51 fields per place

**Identity & category**: `name`, `org_name`, `org_id`, `org_type`, `branch_count`, `tgis_id`, `rubrics`, `primary_rubric`, `url`
**Address (structured)**: `address`, `city`, `region`, `district`, `country`, `street`, `house_number`, `postcode`, `address_comment`, `lat`, `lon`
**Contacts (lead-gen)**: `phones`, `email`, `website`, `socials` (VK / Telegram / WhatsApp …)
**Reputation**: `rating`, `review_count`, `review_count_with_stars`, `org_rating`, `org_review_count`, `is_reviewable`, `flamp_rating`, `flamp_review_count`
**Business detail**: `hours`, `is_open_now`, `photo_count`, `main_photo_url`, `attributes`, `avg_check`, `business_lunch`, `cuisines`, `payment_methods`, `badges`, `nearest_metro`
**Freshness & marketing**: `created_at`, `updated_at`, `is_advertised`, `promo_text`, `booking_url`, `description`, `editorial_comment`
**Provenance**: `parse_confidence` (0–1)

### Sample output (real, Moscow / «рестораны»)

```json
{
  "tgis_id": "70000001031659781",
  "name": "Мясо&Рыба",
  "org_name": "Мясо&Рыба, ресторан",
  "branch_count": 11,
  "address": "Москва, Тверская улица, 23/12",
  "city": "Москва", "region": "Москва", "district": "Тверской", "country": "Россия",
  "street": "Тверская улица", "house_number": "23/12", "postcode": "123001",
  "lat": 55.766672, "lon": 37.599969,
  "phones": ["+79164952569", "+74956090908"],
  "email": "fb@meat-and-fish.ru",
  "website": "http://meat-and-fish.ru",
  "socials": {"vkontakte": "https://vk.com/meat_and_fish", "telegram": "https://t.me/..."},
  "rating": 4.8, "review_count": 1214, "review_count_with_stars": 1599,
  "org_rating": 4.7, "org_review_count": 3766, "flamp_rating": 4.9, "flamp_review_count": 24,
  "org_type": "ресторан",
  "rubrics": ["Рестораны", "Доставка еды"], "primary_rubric": "Рестораны",
  "photo_count": 264, "main_photo_url": "https://i3.photo.2gis.com/...",
  "avg_check": "Чек 2150 ₽", "business_lunch": "Ланч от 680 ₽",
  "cuisines": ["Европейская кухня", "Рыбная кухня"],
  "payment_methods": ["Оплата картой", "Наличный расчёт", "Оплата по QR-коду"],
  "created_at": "2018-03-24T00:00:00Z", "updated_at": "2026-04-09T03:00:00Z",
  "is_advertised": true, "promo_text": "Гармоничное сочетание стейк-хауса и рыбного ресторана",
  "booking_url": "https://meat-and-fish.ru/reservation/",
  "badges": ["Победитель Премии 2ГИС 2019"],
  "hours": {"Mon": {"working_hours": [{"from": "00:00", "to": "24:00"}]}},
  "url": "https://2gis.ru/firm/70000001031659781",
  "parse_confidence": 1.0
}
````

### How to use

1. **query** — what to search for, in Russian or English (`рестораны`, `стоматология`, `pharmacy`).
2. **city** — a city name or slug. English (`moscow`, `spb`, `almaty`) or native (`Москва`, `Алматы`) both work; the country is resolved automatically.
3. **maxItems** — how many results to return (default 50; `0` = all available for the query, often hundreds).
4. **apiKey** *(optional)* — leave blank to use the built-in public key. For higher volume, register a free key at platform.2gis.ru (no credit card) and paste it here.

### vs other 2GIS scrapers

| | This actor | m\_mamaev/2gis-places-scraper | zen-studio/2gis-places-scraper-api | piotrv1001/2gis-scraper |
|---|---|---|---|---|
| Headless (no browser) | ✅ | ✅ | ✅ | ✅ |
| Email extraction | ✅ | partial | ❌ (empty) | ❌ |
| Social links (VK/TG/WA) | ✅ | ❌ | ✅ | ❌ |
| Structured address (district/street/postcode) | ✅ | ✅ | ✅ | partial |
| Attributes (avg check, cuisine) | ✅ | ✅ | ✅ | partial |
| Input fields | **4 (clean)** | 33 (heavy) | ~6 | ~3 |
| `parse_confidence` quality signal | ✅ | ❌ | ❌ | ❌ |
| No API key required | ✅ | ✅ | ✅ | ✅ |

### Use cases

- **B2B lead generation** across Russia & CIS — phone + email + socials for restaurants, clinics, auto shops, retail chains.
- **Market research** — count competitors, map locations, compare ratings and average-check tiers.
- **CRM enrichment** — verify and enrich contact lists with current phone/address/social data.
- **Geo-analytics & logistics** — POI databases for new market entry across 200+ cities.

### FAQ

**Do I need a proxy?** No. The 2GIS Catalog API is publicly reachable and not aggressively rate-limited; the actor connects directly. A proxy is optional for very high volume.

**Do I need a 2GIS API key?** No. A public key is built in (returns hundreds of results per search). For higher limits, add your own free key from platform.2gis.ru.

**Which countries are covered?** Russia, Kazakhstan, Kyrgyzstan, UAE, Uzbekistan, Belarus, Saudi Arabia, Qatar, Cyprus, Czech Republic, Georgia, Moldova, Nigeria, Azerbaijan and more — the city you pass resolves to the right country automatically.

**Is the data fresh?** Yes — it comes from the same live Catalog API that powers 2gis.ru, including ratings, hours and photos updated by 2GIS.

### Use with AI agents (MCP)

This actor is agent-ready. Call it from Claude Desktop, Cursor, n8n AI, or any MCP client:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=bovi/2gis-places-scraper",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
```

### Pricing

Pay per result — each scraped business = 1 charged event. You are not billed for Apify platform compute separately; the per-result price covers the run.

# Actor input Schema

## `query` (type: `string`):

What to search for, e.g. 'рестораны', 'стоматология', 'аптеки', 'автосервис'

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

City name or slug, e.g. 'moscow', 'spb', 'novosibirsk', 'almaty', 'dubai', or the native name ('Москва', 'Алматы'). The country is resolved automatically from the city.

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

Maximum number of places to return (0 = collect all available for the query, often hundreds)

## `apiKey` (type: `string`):

Leave blank to use the built-in public key (no signup, returns hundreds of results per search). For higher volume, register a free key at platform.2gis.ru (no credit card) and paste it here.

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

Apify Proxy settings. RESIDENTIAL recommended for best reliability.

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

2GIS regional domain. Default '2gis.ru' covers Russia. Use '2gis.kz' for Kazakhstan, '2gis.ae' for UAE, etc.

## Actor input object example

```json
{
  "query": "рестораны",
  "city": "moscow",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "domain": "2gis.ru"
}
```

# Actor output Schema

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

Dataset containing 2gis Places Scraper records (name, address, city, phones, website, rating, review\_count, rubrics, hours, url, is\_open\_now, parse\_confidence).

# 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": "кофейня",
    "city": "Москва",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/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": "кофейня",
    "city": "Москва",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "2GIS Places Scraper — Russia & CIS Business Directory",
        "description": "Scrape 2GIS (Russia/CIS maps) by city + search query. Returns business name, address, GPS, phones, website, hours, rating, rubrics. Covers Russia, Kazakhstan, Kyrgyzstan, UAE + 20 countries. Pay per result.",
        "version": "0.1",
        "x-build-id": "67sBEogZQ8U1nLxCb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~2gis-places-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-2gis-places-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~2gis-places-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-2gis-places-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~2gis-places-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-2gis-places-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "query",
                    "city"
                ],
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "What to search for, e.g. 'рестораны', 'стоматология', 'аптеки', 'автосервис'"
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "City name or slug, e.g. 'moscow', 'spb', 'novosibirsk', 'almaty', 'dubai', or the native name ('Москва', 'Алматы'). The country is resolved automatically from the city."
                    },
                    "maxItems": {
                        "title": "Max results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of places to return (0 = collect all available for the query, often hundreds)",
                        "default": 50
                    },
                    "apiKey": {
                        "title": "2GIS API key (optional)",
                        "type": "string",
                        "description": "Leave blank to use the built-in public key (no signup, returns hundreds of results per search). For higher volume, register a free key at platform.2gis.ru (no credit card) and paste it here."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy settings. RESIDENTIAL recommended for best reliability."
                    },
                    "domain": {
                        "title": "2GIS domain (country)",
                        "enum": [
                            "2gis.ru",
                            "2gis.kz",
                            "2gis.kg",
                            "2gis.ae",
                            "2gis.com",
                            "2gis.uz",
                            "2gis.az",
                            "2gis.by",
                            "2gis.cy",
                            "2gis.cz",
                            "2gis.ge",
                            "2gis.md",
                            "2gis.ng",
                            "2gis.qa",
                            "2gis.sa"
                        ],
                        "type": "string",
                        "description": "2GIS regional domain. Default '2gis.ru' covers Russia. Use '2gis.kz' for Kazakhstan, '2gis.ae' for UAE, etc.",
                        "default": "2gis.ru"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
