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

2GIS Places Scraper extracts businesses from 2GIS by search, place link or organisation: name, categories, address, coordinates, working hours, rating, reviews count, attributes, photos, website and social links, plus optional reviews. No login.

- **URL**: https://apify.com/neuro-scraper/2gis-places-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (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 $1.19 / 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/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

2GIS Places Scraper exports businesses and places from 2GIS - the map and business directory of Russia, Kazakhstan, the UAE, Kyrgyzstan, Uzbekistan and more. Search by keyword in a city, give place links, or give an organisation to get all its branches, and 2GIS Places Scraper returns every place with its name, categories, address, coordinates, working hours, rating, review count, attributes, photos, website, social links, building data and - when you want - the latest reviews.

> **Also try:** the [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) - export public Facebook Reels with views, likes, comments, captions and video links. It pairs well with 2GIS Places Scraper for local business research.

#### What does 2GIS Places Scraper do?

2GIS Places Scraper collects public 2GIS place cards the way a visitor sees them, without any login. 2GIS Places Scraper delivers:

- **Places by search**: any keyword (кафе, стоматология, car service, hotel) in any 2GIS city, page after page.
- **Places by link**: place links and 2GIS search links.
- **All branches of a chain**: give the organisation id and get every branch in the city.
- **The full place record**: name, short name, categories and category ids, address with street, house number, postcode and address comment, city, district, region, country, coordinates, working hours (per day, as text and as "open now"), time zone.
- **Ratings**: rating, review count, rated review count, review providers.
- **Attributes**: payment methods, Wi-Fi, takeaway, delivery, awards and every other attribute group 2GIS shows.
- **Links**: website, social networks (VK, Telegram, Odnoklassniki, Pinterest ...), photo albums with photo counts, nearest metro and stops, parking and entrances.
- **Building data**: building name and purpose, floors, material, year built, elevators, emergency state, branches in the building.
- **Reviews (optional)**: the newest reviews of every place with rating, text, date, author and owner reply.
- **Filters**: minimum rating, categories, website, photos, goods, Wi-Fi, card payment, takeaway, delivery, 24/7, new places, closed places and distance from a point.

Phone numbers and e-mail addresses are never collected.

2GIS Places Scraper runs on the Apify platform, so every run of 2GIS Places Scraper gives you a dataset you can export as JSON, CSV, Excel, XML or HTML, read through the Apify API, or send to Google Sheets, Make, Zapier, n8n or a webhook. You can schedule 2GIS Places Scraper to run every day or week and keep your data fresh without touching a line of code.

#### Why use 2GIS Places Scraper?

People use 2GIS Places Scraper for many jobs. The most common ones are:

- **Market research**: count and map all cafes, clinics or shops of a city with their ratings.
- **Competitor analysis**: compare competitors' ratings, opening hours, attributes and branches.
- **Location planning**: find where a category is dense or missing, with coordinates for a map.
- **Directory and app data**: fill a catalogue with categories, addresses, hours and websites.
- **Reputation research**: combine places with their newest reviews in one run.
- **Chain monitoring**: export every branch of a chain with its rating and hours.

2GIS Places Scraper needs no account, no login and no browser extension. Because 2GIS Places Scraper saves clean, typed fields, the output of 2GIS Places Scraper drops straight into a spreadsheet, a GIS tool, a BI dashboard or a Python / Node.js script.

#### How to use 2GIS Places Scraper

1. **Open 2GIS Places Scraper** in Apify Console and click **Try for free** (or **Start** if you already use 2GIS Places Scraper).
2. **Fill in the input.** Give at least one target: keywords in `searchQueries` with a `city` (and `domain` outside Russia), links in `startUrls`, or chain ids in `organizationIds`. Everything else is optional: limits (`maxItems`, `maxTotalItems`), detail level (`includeDetails`, `includeBuildingDetails`, `includeRawData`), filters (`filterRating`, `rubricIds`, `categoryFilter`, `filterHasSite`, `filterHasPhotos`, `filterHasGoods`, `filterWifi`, `filterPaymentCard`, `filterTakeaway`, `filterDelivery`, `filter24h`, `filterCreatedRecently`, `skipClosedPlaces`, `customGeolocation`) and reviews (`includeReviews`, `maxReviewsPerPlace`, `reviewSortBy`, `reviewRatings`, `includeUnratedReviews`, `includeReviewerData`, `language`). The prefilled example works with one click.
3. **Press Start and watch the log.** 2GIS Places Scraper logs one line per result page, for example 'search "кафе" (moscow): page 1, 11 new places', and says when a list ends or reaches the 2GIS depth limit.
4. **Download the results.** Open the **Output** tab and export the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API (see "API usage" below).
5. **Schedule and connect.** Save the input as a task, schedule it weekly, and connect Google Sheets, Zapier, Make, n8n or a webhook that fires when 2GIS Places Scraper finishes.

#### Input of 2GIS Places Scraper

This table is the short overview of the input of 2GIS Places Scraper; every option is explained in detail in the next section.

| Input | Name | Default |
|---|---|---|
| Search queries | searchQueries | \["кафе"] |
| City | city | moscow |
| 2GIS country site | domain | 2gis.ru |
| Place or search links | startUrls | - |
| Organisation ids | organizationIds | - |
| Max places per query | maxItems | 20 |
| Max places in total | maxTotalItems | 0 |
| Full place record | includeDetails | true |
| Building details | includeBuildingDetails | true |
| Min rating | filterRating | 0 |
| Only category ids / words | rubricIds / categoryFilter | - |
| Feature filters | filterHasSite, filterHasPhotos, filterHasGoods, filterWifi, filterPaymentCard, filterTakeaway, filterDelivery, filter24h, filterCreatedRecently, skipClosedPlaces | false |
| Only near a point | customGeolocation | - |
| Reviews | includeReviews, maxReviewsPerPlace, reviewSortBy, reviewRatings, includeUnratedReviews, includeReviewerData, language | off, 10, date_edited, -, false, true, ru_RU |
| Raw record | includeRawData | false |
| Proxy configuration | proxyConfiguration | RESIDENTIAL |

#### Features and how they work in 2GIS Places Scraper

##### Search queries (`searchQueries`)

- **What it does:** the keywords 2GIS Places Scraper searches for in the city.
- **How it works:** for each keyword 2GIS Places Scraper runs the 2GIS search in the `city` on the `domain`, follows the result pages (12 places per page) and saves up to `maxItems` places per keyword. Each row keeps the keyword in `searchQuery`, its result page in `pageNumber` and its position in `position`.
- **Allowed values and default:** a list of keywords in any language 2GIS understands. Prefill: `["кафе"]`.
- **Example:** `"searchQueries": ["стоматология", "автосервис"]`.
- **Tip:** 2GIS lists at most 60 places per keyword and city (measured) - use narrower keywords ("кофейня", "пекарня") or several cities for more places.
- **Combinations:** filters are applied to every place found; places found by several keywords are saved once.

##### City (`city`)

- **What it does:** the city the searches and organisation lists use.
- **How it works:** the value is the city part of 2GIS links - the first word after the domain (moscow, spb, novosibirsk, kazan, almaty, astana, bishkek, tashkent, dubai ...).
- **Allowed values and default:** a city slug; default `moscow`.
- **Example:** `"city": "almaty"` (with `"domain": "2gis.kz"`).
- **Tip:** open 2GIS in your city and copy the first word of the link path.
- **Combinations:** used with `searchQueries` and `organizationIds`; links in `startUrls` carry their own city.

##### 2GIS country site (`domain`)

- **What it does:** which 2GIS country site the searches use.
- **How it works:** the search runs on this site, so the city must exist there (dubai on 2gis.ae, almaty on 2gis.kz).
- **Allowed values and default:** 2gis.ru, 2gis.kz, 2gis.ae, 2gis.kg, 2gis.uz, 2gis.az, 2gis.am, 2gis.ge, 2gis.com.cy, 2gis.com; default 2gis.ru.
- **Example:** `"domain": "2gis.ae"`.
- **Tip:** most Russian cities also work on 2gis.ru without changes.
- **Combinations:** only used for searches and organisation lists.

##### Place or search links (`startUrls`)

- **What it does:** places or ready searches you already have as links.
- **How it works:** a place link (`https://2gis.ru/moscow/firm/70000001034739765`) gives that place; a search link (`https://2gis.ru/moscow/search/кафе`) runs that search like a keyword. Other values are skipped with an ERROR line.
- **Allowed values and default:** a list of 2GIS links; empty by default.
- **Example:** `"startUrls": ["https://2gis.ru/moscow/firm/70000001034739765"]`.
- **Tip:** copy search links from the browser to reuse a search with its city.
- **Combinations:** search links follow `maxItems`; place links give one row each.

##### Organisation ids (all branches) (`organizationIds`)

- **What it does:** exports every branch of a chain in the city.
- **How it works:** the organisation id is the number in the "all branches" link of a place (`/branches/<id>`; it is also in the `orgId` column). 2GIS Places Scraper walks the branch list page by page up to `maxItems` branches.
- **Allowed values and default:** a list of numeric ids; empty by default.
- **Example:** `"organizationIds": ["70000001034739764"]`.
- **Tip:** run a search first, take `orgId` of a chain branch, then export all branches.
- **Combinations:** uses `city` and `domain`; filters apply.

##### Max places per query (`maxItems`)

- **What it does:** the number of places per keyword, search link or organisation.
- **How it works:** the list pages are followed until this many places are saved, the list ends, or the 2GIS depth limit of 5 pages (60 places) is reached.
- **Allowed values and default:** integer 1-60; default 20.
- **Example:** `"maxItems": 60`.
- **Tip:** 20 x 3 keywords = up to 60 places in one run.
- **Combinations:** `maxTotalItems` caps the run total.

##### Max places in total (`maxTotalItems`)

- **What it does:** stops the run after this many places.
- **How it works:** every saved place counts; the run ends when the number is reached.
- **Allowed values and default:** integer from 0; default 0 = no limit.
- **Example:** `"maxTotalItems": 500`.
- **Tip:** the simplest cost cap for big runs.
- **Combinations:** applies after the per-list limit.

##### Full place record (`includeDetails`)

- **What it does:** opens every place once for its full record.
- **How it works:** the full record adds website and social links, entrances, parking, photo albums and attributes that the search card leaves out; with it off, rows are built from the search card only (`parse_confidence` says which).
- **Allowed values and default:** true or false; default true.
- **Example:** `"includeDetails": false`.
- **Tip:** turn it off for a fast count of places; keep it on for complete rows.
- **Combinations:** needed for `filterHasSite` to see websites.

##### Building details (`includeBuildingDetails`)

- **What it does:** adds the building of each place: name, purpose, floors, material, year built, elevators, gas type, emergency state, branches in the building, servicing and attractions.
- **How it works:** one lookup per building (cached, so 10 places in one business centre cost one lookup).
- **Allowed values and default:** true or false; default true.
- **Example:** `"includeBuildingDetails": false`.
- **Tip:** year built, elevators and gas type exist mainly for residential buildings (5 of 23 buildings in our test had a year).
- **Combinations:** works with every input.

##### Min rating (`filterRating`)

- **What it does:** keeps places rated at least this value.
- **How it works:** the place rating (0-5) is compared; places without a rating fail any minimum above 0.
- **Allowed values and default:** number 0-5; default 0 = off.
- **Example:** `"filterRating": 4.5`.
- **Tip:** 4.5 keeps the best places of a category.
- **Combinations:** works with every other filter.

##### Only category ids (`rubricIds`)

- **What it does:** keeps places with one of these 2GIS category ids.
- **How it works:** each place's categories carry ids (`categoryIds`); a place is kept when one matches.
- **Allowed values and default:** a list of ids; empty by default.
- **Example:** `"rubricIds": ["161", "159"]` (cafes, bars).
- **Tip:** run once without the filter and read the ids from `categoryIds`.
- **Combinations:** works with `categoryFilter` (both must match).

##### Only categories (words) (`categoryFilter`)

- **What it does:** keeps places whose category name contains one of these words.
- **How it works:** the words are searched in the category names without regard to case.
- **Allowed values and default:** a list of words; empty by default.
- **Example:** `"categoryFilter": ["кофейн", "coffee"]`.
- **Tip:** a search for "кафе" also returns restaurants and bars - use this filter to keep only one kind.
- **Combinations:** works with every other filter.

##### Feature filters (`filterHasSite`, `filterHasPhotos`, `filterHasGoods`, `filterWifi`, `filterPaymentCard`, `filterTakeaway`, `filterDelivery`, `filter24h`, `filterCreatedRecently`, `skipClosedPlaces`)

- **What they do:** keep only places with a website (`filterHasSite`), with photos (`filterHasPhotos`), with goods or a menu (`filterHasGoods`), with Wi-Fi (`filterWifi`), card payment (`filterPaymentCard`), takeaway (`filterTakeaway`) or delivery (`filterDelivery`), open 24/7 (`filter24h`), added in the last 90 days (`filterCreatedRecently`), and leave out closed places (`skipClosedPlaces`).
- **How they work:** each filter checks the place record: website links, photo albums, the goods flag, the attribute names and tags (Wi-Fi, card, takeaway, delivery), the 24/7 schedule flag, the creation date and the closed flags.
- **Allowed values and default:** true or false each; default false.
- **Example:** `"filterHasSite": true, "filterWifi": true`.
- **Tip:** attribute filters depend on what the business entered in 2GIS - a cafe without attributes fails `filterWifi` even if it has Wi-Fi.
- **Combinations:** all chosen filters must be met; strict combinations can return few places.

The feature filters above are explained together; here is each one in one line, so every option is easy to find: `filterHasSite` keeps places that list a website in their record, which is the right filter when you need websites for every row of a lead list or catalogue. `filterHasPhotos` keeps places that have at least one photo album or photo flag, useful for directories that need pictures. `filterHasGoods` keeps places that publish goods, a menu or a price list in 2GIS, so you get businesses with an online catalogue. `filterWifi` keeps places whose attributes mention Wi-Fi, typical for cafes and coworking spaces that customers visit to work. `filterPaymentCard` keeps places whose attributes mention card payment, which helps when you research cashless businesses. `filterTakeaway` keeps places whose attributes mention takeaway, mainly cafes, bakeries and restaurants. `filterDelivery` keeps places whose attributes mention delivery, mainly restaurants and shops with their own couriers. `filter24h` keeps places open around the clock according to their schedule, such as pharmacies, fuel stations and night shops. `filterCreatedRecently` keeps places added to 2GIS in the last 90 days, which is how you find newly opened businesses. `skipClosedPlaces` leaves out places marked closed or temporarily closed, so your list only holds businesses that operate.

##### Only near a point (`customGeolocation`)

- **What it does:** keeps places within a radius of a point.
- **How it works:** the distance between the place coordinates and the point is calculated; places farther than `radiusKm` are dropped.
- **Allowed values and default:** an object `{"lat": ..., "lng": ..., "radiusKm": ...}`; radius default 5 km.
- **Example:** `"customGeolocation": {"lat": 55.7558, "lng": 37.6173, "radiusKm": 2}`.
- **Tip:** combine with a city search to get places around one address.
- **Combinations:** the search itself still covers the whole city; the filter cuts the result.

##### Reviews (`includeReviews`)

- **What it does:** adds the newest reviews of every place in the `reviews` column and the newest one in `latestReview`.
- **How it works:** the reviews of each place are collected page after page (50 per page) up to `maxReviewsPerPlace`, in the order of `reviewSortBy`.
- **Allowed values and default:** true or false; default false.
- **Example:** `"includeReviews": true`.
- **Tip:** for large review exports use the 2GIS Reviews Scraper, which gives one row per review.
- **Combinations:** reviews do not add rows or result cost - they are inside the place row.

##### Max reviews per place (`maxReviewsPerPlace`)

- **What it does:** the number of reviews per place when reviews are on.
- **How it works:** pages of reviews are followed until this many are collected or the reviews end.
- **Allowed values and default:** integer 1-10,000; default 10.
- **Example:** `"maxReviewsPerPlace": 50`.
- **Tip:** keep it small - big review lists make rows large.
- **Combinations:** only with `includeReviews`.

##### Review order (`reviewSortBy`)

- **What it does:** the order of the reviews.
- **How it works:** `date_edited` (newest by edit), `date_created` (newest by post date), `rating`, `trust` (2GIS's order), `friends` (same as trust when signed out).
- **Allowed values and default:** one of the five; default `date_edited`.
- **Example:** `"reviewSortBy": "date_created"`.
- **Tip:** date orders give the freshest feedback.
- **Combinations:** only with `includeReviews`.

##### Review stars (`reviewRatings`)

- **What it does:** keeps only reviews with these star ratings.
- **How it works:** each review's stars are compared with the list.
- **Allowed values and default:** a list of numbers 1-5; empty = all.
- **Example:** `"reviewRatings": ["1", "2"]`.
- **Tip:** collect only complaints next to each place.
- **Combinations:** only with `includeReviews`.

##### Include unrated reviews (`includeUnratedReviews`)

- **What it does:** also adds reviews without a star rating.
- **How it works:** by default only rated reviews are requested; with this option unrated ones come too.
- **Allowed values and default:** true or false; default false.
- **Example:** `"includeUnratedReviews": true`.
- **Tip:** unrated reviews are rare; turn it on for complete text analysis.
- **Combinations:** only with `includeReviews`.

##### Reviewer data (`includeReviewerData`)

- **What it does:** adds the author name, id, photo and review count to every review.
- **How it works:** the author fields of each review are copied into the review item.
- **Allowed values and default:** true or false; default true.
- **Example:** `"includeReviewerData": false`.
- **Tip:** turn it off when you only analyse texts and ratings.
- **Combinations:** only with `includeReviews`.

##### Review language (`language`)

- **What it does:** the language and country of the review service.
- **How it works:** sent with every review request; use the locale of the place's country.
- **Allowed values and default:** ru_RU, en_RU, en_AE, ar_AE, kk_KZ, uz_UZ, ky_KG, az_AZ, hy_AM, ka_GE, en_CY; default ru_RU.
- **Example:** `"language": "en_AE"`.
- **Tip:** review texts stay in the language they were written in.
- **Combinations:** only with `includeReviews`.

##### Places in parallel (`maxConcurrency`)

- **What it does:** how many places 2GIS Places Scraper processes at the same time.
- **How it works:** result pages are followed one after another, and every place found is worked on in parallel - its full record, its building (loaded once per building) and its reviews - up to this number of places at once.
- **Allowed values and default:** integer 1-30; default 8.
- **Example:** `"maxConcurrency": 12`.
- **Tip:** with the default our 23-place test with full records, buildings and reviews finished in 15 seconds of run time.
- **Combinations:** matters most with `includeDetails`, `includeBuildingDetails` and `includeReviews`, which add requests per place.

##### Raw record (`includeRawData`)

- **What it does:** also saves the complete original place record (and building record) in `raw`.
- **How it works:** the records as 2GIS publishes them, with phone, e-mail and phone-messenger contacts removed.
- **Allowed values and default:** true or false; default false.
- **Example:** `"includeRawData": true`.
- **Tip:** rows get large; use it for fields without their own column.
- **Combinations:** works with every input.

##### Proxy configuration (`proxyConfiguration`)

- **What it does:** chooses the proxy 2GIS Places Scraper uses.
- **How it works:** by default every request goes through the Apify residential proxy; a result page without data is tried again with a new session (up to 3 times).
- **Allowed values and default:** an Apify proxy object; default `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.
- **Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "RU"}`.
- **Tip:** keep the default.
- **Combinations:** works with every input.

#### Ready-to-copy input examples for 2GIS Places Scraper

**1. Cafes of a city** - returns up to 60 cafes in Moscow with the full record:

```json
{
  "searchQueries": ["кафе"],
  "city": "moscow",
  "maxItems": 60
}
```

**2. Well-rated dentists with a website, with reviews** - returns clinics rated 4.5+ that have a website, each with its 10 newest reviews:

```json
{
  "searchQueries": ["стоматология"],
  "city": "spb",
  "maxItems": 60,
  "filterRating": 4.5,
  "filterHasSite": true,
  "includeReviews": true,
  "maxReviewsPerPlace": 10
}
```

**3. All branches of a chain** - returns every branch of the organisation in the city:

```json
{
  "organizationIds": ["70000001034739764"],
  "city": "moscow",
  "maxItems": 60
}
```

**4. Coffee places near a point in Almaty** - returns places within 2 km of the point:

```json
{
  "searchQueries": ["кофейня"],
  "city": "almaty",
  "domain": "2gis.kz",
  "customGeolocation": {"lat": 43.2389, "lng": 76.8897, "radiusKm": 2},
  "maxItems": 60
}
```

#### Output fields of 2GIS Places Scraper

2GIS Places Scraper saves one row per place. Several fields carry the same value under a second name, so a buyer switching from another 2GIS tool finds the column name they know. "Not published" means 2GIS gives visitors no such value for that place (checked on the raw records of our test).

**Identity and categories**

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `placeId` | string | Place id. | never |
| `id` | string | Same as `placeId`. | never |
| `firmId` | string | Same as `placeId`. | never |
| `objectType` | string | Record type (branch). | never |
| `itemType` | string | Same as `objectType`. | never |
| `title` | string | Name. | never |
| `name` | string | Name. | never |
| `fullName` | string | Name (second name). | never |
| `placeName` | string | Name (third name). | never |
| `shortName` | string | Short name / brand part of the name. | rarely |
| `extension` | string | Kind part of the name (бар, кафе). | when 2GIS has none |
| `qualifiedName` | string | Name with city (full name). | never |
| `url` | string | Place link. | never |
| `placeUrl` | string | Same as `url`. | never |
| `category` | string | Main category. | rarely |
| `categories` | array | All category names. | rarely |
| `allCategories` | array | Same as `categories`. | rarely |
| `categoryIds` | array | Category ids. | rarely |
| `rubrics` | array | Categories with id, alias, kind and parent. | rarely |
| `metarubrics` | array | Upper category groups of the building. | not published for most places |
| `poiCategory` | string | Map point type (cafe, karaoke ...). | rarely |
| `summary` | string | Name - category - address in one line. | never |
| `description` | string | Description text. | not published (0 of 23 in our test) |
| `comment` | string | Comment on the place. | not published |
| `subtype` | string | Subtype of the record. | not published |
| `detailedSubtype` | string | Detailed subtype. | not published |

**Address and location**

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `address` | string | Street address. | for places without a street address |
| `fullAddress` | string | City + street address. | rarely |
| `addressComment` | string | Floor, entrance or office note. | when none is given |
| `landmark` | string | Same as `addressComment`. | same |
| `postcode` | string | Postcode. | when 2GIS has none |
| `street` | string | Street. | rarely |
| `houseNumber` | string | House number. | rarely |
| `buildingId` | string | Building id. | rarely |
| `buildingName` | string | Building name (business centre, mall). | for ordinary houses |
| `country` | string | Country. | rarely |
| `region` | string | Region. | rarely |
| `city` | string | City. | rarely |
| `district` | string | District. | when 2GIS has none |
| `living_area` | string | Residential area. | not published for most places |
| `latitude` / `lat` | number | Latitude. | rarely |
| `longitude` / `lon` | number | Longitude. | rarely |
| `location` | object | lat and lng. | rarely |
| `geometry` | object | Point geometry. | rarely |
| `regionId` | string | 2GIS region id. | never |
| `segmentId` | string | 2GIS segment id. | never |
| `locale` | string | Language of the record. | never |
| `timezoneOffset` | integer | Minutes from UTC. | rarely |
| `timezone` | string | UTC offset text. | rarely |
| `nearestStations` | array | Nearest public transport stops. | rarely |
| `nearestMetro` | array | Nearest metro stations. | outside metro cities |
| `metro` | array | Names of the nearest metro stations. | same |
| `transit` | array | Same as `nearestStations`. | rarely |
| `nearestParking` | array | Nearest parking places. | rarely |
| `buildingParking` | array | Parking of the building. | when the building has none (15 of 23) |
| `parkingInfo` | array | Building parking, else nearest parking. | rarely |
| `entrances` | array | Entrances with coordinates. | rarely |
| `databaseEntrances` | array | Entrance geometry records. | rarely |
| `realEntrances` | array | Entrances of the building. | when the building has none listed |
| `floorId` | string | Floor id inside a mall or business centre. | for places not inside such a building |

**Hours, rating, attributes, links**

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `schedule` | object | Working hours per day. | when no hours are given |
| `working_hours` | object | Same as `schedule`. | same |
| `hours` | string | Working hours as text ("Mon 09:00-21:00; ..."). | same |
| `scheduleSpecial` | object | Holiday hours. | not published |
| `is_open_now` | boolean | Open at the time of the run (place's time zone). | when no hours are given |
| `isClosed` | boolean | Marked closed. | not published for open places |
| `temporaryClosed` | boolean | Marked temporarily closed. | rarely |
| `rating` | number | Rating 1-5. | for places without reviews |
| `totalScore` | number | Same as `rating`. | same |
| `reviewCount` | integer | Number of reviews. | same |
| `reviewsCount` | integer | Same as `reviewCount`. | same |
| `ratingCount` | integer | Number of rated reviews. | same |
| `orgRating` | number | Rating of the whole chain. | not published (place level only) |
| `orgReviewCount` | integer | Reviews of the whole chain. | not published |
| `orgRatingCount` | integer | Rated reviews of the chain. | not published |
| `reviewProviders` | array | Review sources (2GIS, Flamp ...). | rarely |
| `isReviewable` | boolean | Reviews allowed. | rarely |
| `isReviewableOnFlamp` | boolean | Flamp reviews allowed. | rarely |
| `reviewsMeta` | object | The rating summary record. | rarely |
| `replyRate` | number | Owner reply rate. | not published |
| `attributeGroups` | array | Attribute groups as published. | when none are given |
| `attributes` | array | Attribute names. | same |
| `awards` | array | Award attributes (2GIS awards). | when the place has none (18 of 23) |
| `badges` | array | Award and badge attributes. | same |
| `delivery` | boolean | true when an attribute mentions delivery. | when no attribute mentions it |
| `website` | string | First website. | when the place lists none (3 of 23) |
| `websites` | array | All websites. | same |
| `hasWebsite` | boolean | true when a website is listed. | never |
| `socials` | array | Social links with type, url, text. | when none are listed (7 of 23) |
| `socialLinks` | object | Social links by network. | same |
| `otherContacts` | array | Same as `socials` (non-phone contacts). | same |
| `mainPhotoUrl` | string | Main photo. | when there are no photos |
| `photoCount` | integer | Number of photos. | never (0 when none) |
| `photoAlbums` | array | Photo albums with counts. | when there are no photos |
| `media` | array | External content records (albums). | same |
| `mediaMeta` | object | Album and photo counts. | same |
| `photoProviderCount` | integer | Number of photo album kinds. | never |

**Organisation, flags and dates**

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `orgId` | string | Organisation (chain) id. | rarely |
| `orgName` | string | Organisation name. | rarely |
| `brand` | string | Brand part of the organisation name. | rarely |
| `orgExtension` | string | Kind part of the organisation name. | when none |
| `orgBranchCount` | integer | Branches of the organisation. | rarely |
| `_orgId` | string | Same as `orgId`. | rarely |
| `_orgUrl` | string | Link to all branches. | rarely |
| `_buildingId` | string | Same as `buildingId`. | rarely |
| `_buildingUrl` | string | Link to the building. | rarely |
| `group` | array | Building group geometry. | for places in single buildings |
| `isMainInGroup` | boolean | Main branch of a group. | not published |
| `createdAt` | string | Added to 2GIS. | not published for some places (61% in a first test) |
| `updatedAt` | string | Last update. | rarely |
| `flags` | object | Record flags (photos, average bill ...). | rarely |
| `objectFlags` | object | Price list / products flags. | rarely |
| `isPromoted` | boolean | Promoted place. | never |
| `isAdvertised` | boolean | Advertiser in 2GIS. | never |
| `ads` | object | Advertising block. | not published to this visitor |
| `hasGoods` | boolean | Goods / menu published. | never |
| `hasDiscount` | boolean | Discounts published. | never |
| `hasExchange` | boolean | Currency exchange. | rarely |
| `hasRealty` | boolean | Real-estate offers in the building. | never |
| `hasPinnedGoods` | boolean | Pinned goods. | never |
| `hasApartmentsInfo` | boolean | Apartment data in the building. | never |
| `hasDynamicCongestion` | boolean | Live crowd data. | never |
| `congestion` | object | Typical crowd by hour (building). | not published for most places |
| `hasOtelloStories` | boolean | Stories published. | not published |
| `vacancies` | object | Vacancies slot of the record. | not published (empty slot) |
| `parse_confidence` | string | full (place record) or search card. | never |

**Building fields** (with `includeBuildingDetails`)

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `buildingPurpose` | string | Purpose (business centre, residential ...). | rarely |
| `buildingPurposeCode` | integer | Purpose code. | rarely |
| `floorCount` | integer | Floors above ground. | rarely |
| `levelCount` | integer | Levels. | rarely |
| `floorType` | string | Floor construction type. | published for some residential buildings only |
| `buildingMaterial` | string | Wall material. | rarely |
| `isInEmergencyState` | boolean | Building in emergency state. | rarely |
| `yearBuilt` | integer | Year of construction. | published for some buildings only (5 of 23) |
| `gasType` | string | Gas supply type. | residential buildings only |
| `elevatorCount` | integer | Elevators. | residential buildings only |
| `apartmentCount` | integer | Apartments. | not published in our test |
| `apartmentCountFromEntrances` | integer | Apartments counted from entrances. | not published in our test |
| `entranceCount` | integer | Entrances. | when none are listed |
| `hasApartmentRanges` | boolean | Apartment number ranges known. | not published in our test |
| `heritageName` | string | Heritage object name. | only for heritage buildings |
| `heritageCategory` | string | Heritage category. | only for heritage buildings |
| `buildingBranchCount` | integer | Places in the building. | rarely |
| `structureInfo` | object | Structure record as published. | rarely |
| `servicing` | array | Building services. | when none are listed |
| `seasonal` | object | Seasonal data. | not published |
| `attractions` | array | Attractions near or in the building. | when none are listed |
| `evCharging` | object | EV charging data. | not published |
| `geoAttributes` | array | Attribute groups of the building. | when none |
| `metarubrics` | array | See above. | see above |
| `buildingDescription` | string | Building description. | rarely published |
| `buildingProviders` | array | Data providers of the building. | when none |
| `touristRoutes` | array | Tourist routes through the building. | rarely |
| `floorPlaces` | array | Floor plan places. | rarely |
| `buildingRecordFound` | boolean | true when the building record was read. | never |
| `statistics` | object | reviewCount, ratingCount, photoCount, orgBranchCount, buildingBranchCount. | never |

**Search, reviews and run fields**

| Field | Type | Meaning | When it can be empty |
|---|---|---|---|
| `searchQuery` | string | Keyword that found the place. | for place links |
| `searchString` | string | Same as `searchQuery`. | same |
| `searchUrl` | string | Result page link. | same |
| `searchCity` | string | City of the search. | same |
| `searchRubricId` | string | Category 2GIS matched the search to. | for place links and organisation lists |
| `searchRubricLabel` | string | Name of that category (when the place carries it). | same |
| `pageNumber` | integer | Result page. | for place links |
| `position` | integer | Position in the list. | never (0 for links) |
| `sourceUrl` | string | Input that produced the row. | never |
| `reviews` | array | Reviews (with `includeReviews`). | with reviews off |
| `latestReview` | object | Newest review: text, dateCreated, rating, isVerified, provider, userName, officialAnswer. | with reviews off |
| `reviewTopics` | array | Review topics. | not published in review records |
| `raw` | object | Original records (with `includeRawData`). | with the option off |
| `scrapedAt` | string | When the row was saved (UTC). | never |

#### 2GIS Places Scraper compared with similar tools

| Feature | Offered by (of 5) | 2GIS Places Scraper |
|---|---|---|
| keyword search in a city / country site | 4 | yes - searchQueries, city, domain |
| place / search links | 2 | yes - startUrls |
| chain branches | 2 | yes - organizationIds |
| rating, category, website, photo, goods, Wi-Fi, card, takeaway, delivery, 24/7, new, closed filters | 2-3 | yes |
| distance from a point | 2 | yes - customGeolocation |
| reviews per place with order, stars, unrated, reviewer data | 2 | yes |
| building data | 1 | yes - includeBuildingDetails |
| phones and e-mails | 2-3 | no - never collected |
| real-estate offers and job vacancies | 1 | no - separate data types |

#### Which columns can be empty

Measured in our latest test run (`yIrkSJnK1dbiO3LL2`, 2026-11-21, 23 rows). Every column below was checked against the original record of those rows: the value is not published there (or the column belongs to another row type or to an option that was off), so there is nothing to fill.

| Column | Empty rows | Why it is empty |
|---|---|---|
| `ads` | 23 of 23 | not published to this visitor |
| `apartmentCount` | 23 of 23 | not published in our test |
| `apartmentCountFromEntrances` | 23 of 23 | not published in our test |
| `comment` | 23 of 23 | not published |
| `description` | 23 of 23 | not published (0 of 23 in our test) |
| `detailedSubtype` | 23 of 23 | not published |
| `evCharging` | 23 of 23 | not published |
| `hasApartmentRanges` | 23 of 23 | not published in our test |
| `hasOtelloStories` | 23 of 23 | not published |
| `heritageCategory` | 23 of 23 | only for heritage buildings |
| `heritageName` | 23 of 23 | only for heritage buildings |
| `isClosed` | 23 of 23 | not published for open places |
| `isMainInGroup` | 23 of 23 | not published |
| `living_area` | 23 of 23 | not published for most places |
| `raw` | 23 of 23 | with the option off |
| `replyRate` | 23 of 23 | not published |
| `reviewTopics` | 23 of 23 | not published in review records |
| `scheduleSpecial` | 23 of 23 | not published |
| `seasonal` | 23 of 23 | not published |
| `subtype` | 23 of 23 | not published |
| `vacancies` | 23 of 23 | not published (empty slot) |
| `buildingDescription` | 22 of 23 | rarely published |
| `touristRoutes` | 21 of 23 | rarely |
| `elevatorCount` | 20 of 23 | residential buildings only |
| `floorType` | 20 of 23 | published for some residential buildings only |
| `gasType` | 20 of 23 | residential buildings only |
| `awards` | 19 of 23 | when the place has none (18 of 23) |
| `badges` | 19 of 23 | same |
| `metarubrics` | 19 of 23 | not published for most places |
| `floorId` | 18 of 23 | for places not inside such a building |
| `floorPlaces` | 18 of 23 | rarely |
| `yearBuilt` | 18 of 23 | published for some buildings only (5 of 23) |
| `congestion` | 16 of 23 | not published for most places |
| `buildingParking` | 15 of 23 | when the building has none (15 of 23) |
| `createdAt` | 14 of 23 | not published for some places (61% in a first test) |
| `attractions` | 13 of 23 | when none are listed |
| `geoAttributes` | 13 of 23 | when none |
| `delivery` | 12 of 23 | when no attribute mentions it |
| `group` | 10 of 23 | for places in single buildings |
| `servicing` | 10 of 23 | when none are listed |
| `buildingProviders` | 8 of 23 | when none |
| `otherContacts` | 7 of 23 | same |
| `socialLinks` | 7 of 23 | same |
| `socials` | 7 of 23 | when none are listed (7 of 23) |
| `entranceCount` | 6 of 23 | when none are listed |
| `realEntrances` | 6 of 23 | when the building has none listed |
| `addressComment` | 3 of 23 | when none is given |
| `landmark` | 3 of 23 | same |
| `website` | 3 of 23 | when the place lists none (3 of 23) |
| `websites` | 3 of 23 | same |

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

2GIS Places Scraper uses pay-per-result pricing: you pay for each place 2GIS Places Scraper saves, plus the Apify platform usage of the run.

| Apify plan | Price per 1,000 results |
|---|---|
| Free | $1.49 |
| Starter | $1.39 |
| Scale | $1.29 |
| Business | $1.19 |

**One result** = one saved place (reviews inside a place are free).

**Worked example:** 600 places from 10 searches cost 600 / 1,000 x $1.49 = **$0.89** on the free plan, plus platform usage (our 23-place test with full records, building data and reviews used about $0.02).

**How to cap the cost:** set `maxItems` and `maxTotalItems`, and set "Maximum cost per run" in Apify Console.

#### Tips for 2GIS Places Scraper

- Use several narrow keywords instead of one broad one - each list stops at 60 places.
- Use `organizationIds` for chains.
- Turn off `includeBuildingDetails` and `includeDetails` for quick counts.
- Use `customGeolocation` to focus on one neighbourhood.

#### Limits of 2GIS Places Scraper

Measured in our tests (2026-11-21, 23 places in Moscow):

- 2GIS lists at most 60 places per keyword and city (5 pages).
- Phone numbers, e-mail addresses and phone-based messengers are never collected.
- Description, holiday hours, closed flags, reply rate and chain-level ratings are not published to visitors for these places.
- Building year, elevators and gas type exist mainly for residential buildings.

#### API usage of 2GIS Places Scraper

All examples use input example 1.

**Apify API (curl)**:

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

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("neuro-scraper/2gis-places-scraper").call(run_input={
    "searchQueries": ["кафе"], "city": "moscow", "maxItems": 60,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["name"], row["rating"], row["address"], row["website"])
```

**Node.js** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('neuro-scraper/2gis-places-scraper').call({
    searchQueries: ['кафе'], city: 'moscow', maxItems: 60,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'places');
```

2GIS Places Scraper also works with every Apify integration: start 2GIS Places Scraper from Make, Zapier or n8n, get a webhook when 2GIS Places Scraper finishes, or use 2GIS Places Scraper as a tool for AI agents through the Apify MCP server.

#### FAQ about 2GIS Places Scraper

**Do I need a 2GIS account to use 2GIS Places Scraper?**

No. 2GIS Places Scraper works without any login, cookie or account.

**Why did 2GIS Places Scraper return fewer results than my maximum?**

The limits are maximums: 2GIS lists at most 60 places per keyword, a list can be shorter, and filters drop places that do not match.

**Why is a field empty in 2GIS Places Scraper?**

Many fields exist only for some places (building names, postcodes, social links); some are not published to visitors at all (see "Not published" in the field table). Website and social fields need `includeDetails`.

**Does 2GIS Places Scraper give phone numbers?**

No. Phone numbers and e-mail addresses are never collected.

**How do I get only new places?**

Turn on `filterCreatedRecently` and schedule the run weekly.

**Can I run many searches in one run of 2GIS Places Scraper?**

Yes. Put many keywords into `searchQueries`; each gives up to `maxItems` places.

**Can I export the 2GIS Places Scraper results to Excel or Google Sheets?**

Yes. Every 2GIS Places Scraper dataset exports to CSV, Excel (XLSX), JSON, XML and HTML, and the Google Sheets integration can append the rows of 2GIS Places Scraper to a sheet after every run.

#### Is it legal to use 2GIS Places Scraper?

2GIS Places Scraper collects only business information that 2GIS shows publicly to every visitor and never collects phone numbers or e-mail addresses. Reviews can contain personal data protected by laws such as the GDPR and Russia's personal data law. Use 2GIS Places Scraper only for legitimate purposes and, if you are unsure, ask a lawyer before you use 2GIS Places Scraper at scale.

#### Feedback on 2GIS Places Scraper

Found a bug in 2GIS Places Scraper or missing a field? Open an issue on the 2GIS Places Scraper page in Apify Console. We read every report and improve 2GIS Places Scraper quickly.

# Actor input Schema

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

What to look for in the city, one per line: кафе, стоматология, car service, hotel ...

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

City as in 2GIS links: moscow, spb, novosibirsk, almaty, astana, dubai ...

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

Which 2GIS country site the search uses (place links carry their own site).

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

Optional: place links (https://2gis.ru/moscow/firm/70000001034739765) or search links (https://2gis.ru/moscow/search/кафе).

## `organizationIds` (type: `array`):

Optional: organisation (chain) ids - every branch of the chain in the city becomes a row (the id is in the 'all branches' link /branches/<id>).

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

Places per search query, search link or organisation (2GIS shows at most 60 per list).

## `maxTotalItems` (type: `integer`):

Optional: stop the run after this many places. 0 = no total limit.

## `includeDetails` (type: `boolean`):

Open every place once for its full record (website, social links, entrances, photo albums); off = the search card only (faster).

## `includeBuildingDetails` (type: `boolean`):

Add the building of each place: purpose, floors, material, emergency state, branches in the building (one lookup per building, cached).

## `filterRating` (type: `number`):

Keep places rated at least this (0-5). 0 = off.

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

Optional: keep places with one of these 2GIS category (rubric) ids, e.g. 161 = cafes, 159 = bars.

## `categoryFilter` (type: `array`):

Optional: keep places whose category name contains one of these words.

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

Keep places that list a website.

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

Keep places that have photos.

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

Keep places that publish goods, a menu or a price list.

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

Keep places whose attributes mention Wi-Fi.

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

Keep places whose attributes mention card payment.

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

Keep places whose attributes mention takeaway.

## `filterDelivery` (type: `boolean`):

Keep places whose attributes mention delivery.

## `filter24h` (type: `boolean`):

Keep places open around the clock.

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

Keep places added to 2GIS in the last 90 days.

## `skipClosedPlaces` (type: `boolean`):

Leave out places marked closed or temporarily closed.

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

Optional: {"lat": 55.7558, "lng": 37.6173, "radiusKm": 3} keeps places within the radius of the point.

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

Add the newest reviews of every place in the reviews column.

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

Reviews per place when reviews are on (pages of 50 are followed).

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

Order of the reviews.

## `reviewRatings` (type: `array`):

Optional: keep only reviews with these star ratings, e.g. 1, 2.

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

Also add reviews without a star rating.

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

Add the author name, id, photo and review count to every review.

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

Language and country of the review service.

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

How many places (with their full record, building and reviews) are processed at the same time.

## `includeRawData` (type: `boolean`):

Also save the complete original place record (without contact data) in the raw column.

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

Residential proxy is the default and recommended.

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

Same as searchQueries.

## `location` (type: `string`):

Same as city.

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

Same as city.

## `country` (type: `string`):

Same as domain (ru, kz, ae ...).

## `maxResults` (type: `integer`):

Same as maxItems.

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

Same as maxReviewsPerPlace.

## `filterMinRating` (type: `number`):

Same as filterRating.

## `filterWebsite` (type: `boolean`):

Same as filterHasSite.

## `filterCardPayment` (type: `boolean`):

Same as filterPaymentCard.

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

Same as filterDelivery.

## `filterOpen24h` (type: `boolean`):

Same as filter24h.

## `filterNewPlaces` (type: `boolean`):

Same as filterCreatedRecently.

## `reviewsRating` (type: `string`):

all / positive / negative (API).

## `reviewsWithAnswer` (type: `boolean`):

Keep only reviews with an owner reply (API).

## `reviewsStartDate` (type: `string`):

Only reviews from this date (API).

## `reviewsFilterKeyword` (type: `string`):

Only reviews containing this text (API).

## `reviewsSource` (type: `string`):

2gis / flamp / booking (API).

## Actor input object example

```json
{
  "searchQueries": [
    "кафе"
  ],
  "city": "moscow",
  "domain": "2gis.ru",
  "maxItems": 20,
  "maxTotalItems": 0,
  "includeDetails": true,
  "includeBuildingDetails": true,
  "filterRating": 0,
  "filterHasSite": false,
  "filterHasPhotos": false,
  "filterHasGoods": false,
  "filterWifi": false,
  "filterPaymentCard": false,
  "filterTakeaway": false,
  "filterDelivery": false,
  "filter24h": false,
  "filterCreatedRecently": false,
  "skipClosedPlaces": false,
  "includeReviews": false,
  "maxReviewsPerPlace": 10,
  "reviewSortBy": "date_edited",
  "includeUnratedReviews": false,
  "includeReviewerData": true,
  "language": "ru_RU",
  "maxConcurrency": 8,
  "includeRawData": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One row per result, in the run's default dataset.

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

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

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

```

## MCP server setup

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