# Yandex Maps Places Scraper - Emails, Phones & Reviews (`confidential_gnat/yandex-maps-places-scraper`) Actor

Scrapes Yandex Maps (yandex.com/maps) businesses by search and location, map area or link: name, address, phone, website, business emails, social links, hours, rating, categories, photos, menu and reviews. Cache for new places only.

- **URL**: https://apify.com/confidential_gnat/yandex-maps-places-scraper.md
- **Developed by:** [ActorFlow](https://apify.com/confidential_gnat) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. 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

## Yandex Maps (yandex.com/maps) Places Scraper - Businesses, Phones, Ratings & Reviews

![Yandex Maps Places Scraper cover: every place, phone and review, new places only with cache](https://i.postimg.cc/BQYzynFY/Gemini-Generated-Image-l9vq45l9vq45l9vq.jpg)

**Scrape businesses from Yandex Maps (yandex.com/maps)**: name, address, coordinates, **phone numbers**, website, social links, opening hours, **ratings**, categories, photos, popular menu items and **reviews**. Search by keyword and city, by map area, or paste a Yandex Maps link, press Start, then export the data as **JSON, CSV or Excel** or call the actor as an **API**.

**Target website:** [yandex.com/maps](https://yandex.com/maps)

### ✨ Features of this Yandex Maps places scraper

- **Place extraction** - search any keyword (coffee, dentist, hotel, pharmacy) in one or many cities, districts or addresses, or around a latitude and longitude with a radius.
- **Link and ID input** - paste Yandex Maps search links (with map position and filters) or place links, or give organization IDs to scrape places directly.
- **Email scraping** - optionally open each place's own website and save the business email addresses found there.
- **Reviews** - optionally save reviews with each place: author, rating, text, date, likes and the owner's reply.
- **Pagination support** - walks every result page of a search, and when one search is cut off at about 1,000 places it splits the map area into smaller parts automatically and removes duplicates.
- **Rating, price and award filtering** - minimum rating, price level, Good Place award and category names.
- **Five languages** - English, Russian, Kazakh, Turkish and Azerbaijani for categories, addresses and other texts.
- **Proxy support** - choose Apify Proxy groups or your own proxy URLs.
- **Cache deduplication** - skips places saved in earlier runs (deduplication), so scheduled runs return only new or changed places.
- **No browser required** - plain page requests keep runs fast and cheap.

### 🚀 How to scrape Yandex Maps places in 5 steps

1. [Sign up](https://apify.com/sign-up) for a free Apify account - includes **$5 monthly credit**.
2. Open the actor page and click **Try for free**.
3. Fill in the **Input** fields: a search query and a location, or Yandex Maps links.
4. Click **Start** and wait for the run to complete.
5. Download results from the **Output** tab in JSON, CSV, or Excel format.

You can also run this actor via the [Apify API](https://docs.apify.com/api/v2) or integrate it directly into your workflows using [Zapier](https://zapier.com/apps/apify), [Make](https://www.make.com/), or [n8n](https://n8n.io/).

### 💰 Pricing for the Yandex Maps scraper

This actor uses **pay-per-result** billing based on the compute units a run consumes.

- New Apify accounts include **$5 of free monthly credit**.
- It reads plain pages instead of driving a browser, so it costs significantly less to run than browser-based scrapers.

### 🖼️ Yandex Maps scraper input screenshot

The input form starts with the Yandex Maps links, search queries, locations, the max items limit and the cache name, then the optional settings. The proxy settings are last.

![Yandex Maps Places Scraper input form in Apify Console with the first 9 fields numbered 1 to 9: Yandex Maps links, search queries, locations, max items per search, cache project name, language, minimum rating, Good Place award only and reviews per place](https://i.postimg.cc/CLP2tx8C/Gemini-Generated-Image-ik5pvcik5pvcik5p.jpg)

1. **Yandex Maps links** - search links or place links to scrape directly
2. **Search queries** - what to look for, searched in every location (here `coffee`)
3. **Locations** - cities, districts or addresses to search in (here `Moscow`)
4. **Max items per search** - limit for each query and location, or each link
5. **Cache project name** - reuse the same name on every scheduled run to get only new or changed places
6. **Language** - language of categories, addresses and other texts
7. **Minimum rating** - only places rated at least this high
8. **Good Place award only** - only places with the Yandex Good Place award
9. **Reviews per place** - how many reviews to save with each place; 0 means none

The price level, category names, map area and organization ID fields follow below these, and the proxy configuration comes last.

### 🔧 Yandex Maps scraper input configuration

| Field | Type | Required | Default | Description |
| ----- | ---- | -------- | ------- | ----------- |
| Yandex Maps links (`startUrls`) | array | - | - | Search links or place links. Search links may carry `ll`, `spn`, `z` and `filter` parameters. |
| Keywords (`keywords`) | array | - | coffee in Moscow | What to find and where, such as `coffee in Moscow`; the part after `in` is the location. A keyword without `in` is searched in the locations below. |
| Search queries (`searchQueries`) | array | - | - | What to look for. Each query runs in every location. |
| Locations (`locations`) | array | - | - | Cities, districts or addresses; each is looked up and its whole area searched. |
| Max items per search (`maxItems`) | integer | - | 5 | Maximum places saved for each query and location, or for each link. |
| Cache project name (`cacheProjectName`) | string | - | - | Same name on each run returns only new or changed places. |
| Language (`language`) | string | - | en | en, ru, kk, tr or az. |
| Minimum rating (`minRating`) | string | - | - | 3.0, 3.5, 4.0, 4.5, 4.7 or 4.9 and up. |
| Good Place award only (`goodPlaceOnly`) | boolean | - | false | Only places with the Yandex Good Place award. |
| Price level (`priceCategory`) | string | - | - | cheap, reasonable, expensive or very_expensive. |
| Category names (`categories`) | array | - | - | Keep places with one of these category names (partial match). |
| Latitude / Longitude (`latitude`, `longitude`) | number | - | - | Search around a point instead of (or as well as) a named location. |
| Radius (km) (`radiusKm`) | number | - | 5 | Half the width of the area searched around the point. |
| Organization IDs (`organizationIds`) | array | - | - | Yandex organization IDs (the number at the end of a place link). |
| Reviews per place (`maxReviews`) | integer | - | 0 | Reviews saved with each place; 0 means none. Read 50 at a time. |
| Scrape emails from websites (`scrapeEmail`) | boolean | - | false | Opens each place's own website (home page, then its contact page) and saves the email addresses found there as `emails`. Slower runs; places without a website get `null`. |
| Proxy configuration (`proxyConfiguration`) | object | - | - | Optional. Keep the default or choose your own proxy. |

**Supported URL types:**

- Search: `https://yandex.com/maps/213/moscow/search/coffee/` (also with `?ll=37.6,55.75&spn=0.02,0.01` or `&filter=rating_threshold:gt4.5`)
- Place: `https://yandex.com/maps/org/alenka/156609640803/`

### 📦 Yandex Maps scraper output data

The actor saves a flat JSON record per place with the keys `id`, `url`, `title`, `shortTitle`, `categories`, `address`, `fullAddress`, `country`, `postalCode`, `latitude`, `longitude`, `phones`, `website`, `websites`, `socialLinks`, `emails`, `workingHoursText`, `workingHours`, `openNow`, `status`, `rating`, `ratingCount`, `reviewCount`, `awards`, `chainId`, `chainName`, `isVerifiedOwner`, `metro`, `features`, `menu`, `menuItemsCount`, `photoCount`, `photos`, `logo`, `reviews`, `sourceQuery`, `sourceLocation`, `sourceUrl`, `language`, `changeType` and `scrapedAt`. Missing values are `null`. The dataset has 2 views.

- **Overview** - name, categories, address, phones, website, rating, review count and link.
- **Contacts** - name, phones, website, social links, full address and coordinates.

**Output at a glance:**

| Name | Category | Address | Phone | Rating | Reviews |
| --- | --- | --- | --- | --- | --- |
| [Cup of Coffee](https://yandex.com/maps/org/cup_of_coffee/213694372795/) | Coffee shop | ulitsa Atlasova, 9 | +7 (994) 507-79-27 | 5 | 84 |
| [Кофе и Кусочек Италии](https://yandex.com/maps/org/kofe_i_kusochek_italii/179097248273/) | Cafe | Settlement of Kommunarka, ulitsa Aleksandry Monakhovoy, 88к3 | +7 (993) 889-35-31 | 5 | 253 |
| [Bert coffee](https://yandex.com/maps/org/bert_coffee/239967576318/) | Coffee shop | Odintsovo, Verkhne-Proletarskaya ulitsa, 1Б | +7 (909) 156-71-93 | 5 | 61 |
| [Coffee Planet](https://yandex.com/maps/org/coffee_planet/99284650397/) | Coffee shop | Moscow Region, Krasnogorsk Urban District, Pyatnitskoye shosse, 7-y kilometr, вл2с2 | +7 (965) 230-12-78 | 5 | 213 |
| [Grado](https://yandex.com/maps/org/grado/240048324319/) | Cafe | Moscow, Lobachevskogo Street, 120к1 | +7 (989) 300-12-21 | 5 | 77 |

**Sample output (raw JSON):**

```json
[
  {
    "id": "213694372795",
    "url": "https://yandex.com/maps/org/cup_of_coffee/213694372795/",
    "title": "Cup of Coffee",
    "shortTitle": "Cup of Coffee",
    "categories": [
      "Coffee shop",
      "coffee to go"
    ],
    "address": "ulitsa Atlasova, 9",
    "fullAddress": "Moscow, Novomoskovskiy Administrative Okrug, Filimonkovskiy District, Moskovskiy, ulitsa Atlasova, 9",
    "country": "Russian Federation",
    "postalCode": "108811",
    "latitude": 55.60048,
    "longitude": 37.3565,
    "phones": [
      "+7 (994) 507-79-27"
    ],
    "website": null,
    "websites": [],
    "emails": null,
    "socialLinks": [
      {
        "type": "telegram",
        "url": "https://t.me/cupcoffeeee"
      },
      {
        "type": "whatsapp",
        "url": "https://wa.me/+79055093827"
      }
    ],
    "workingHoursText": "Mon-Fri 8:00 AM–8:00 PM; Sat,Sun 9:00 AM–9:00 PM",
    "workingHours": {
      "Sunday": [
        "09:00-21:00"
      ],
      "Monday": [
        "08:00-20:00"
      ],
      "Tuesday": [
        "08:00-20:00"
      ],
      "Wednesday": [
        "08:00-20:00"
      ],
      "Thursday": [
        "08:00-20:00"
      ],
      "Friday": [
        "08:00-20:00"
      ],
      "Saturday": [
        "09:00-21:00"
      ]
    },
    "openNow": true,
    "status": "open",
    "rating": 5,
    "ratingCount": 99,
    "reviewCount": 84,
    "awards": [
      "goodPlaceYear: 2026"
    ],
    "chainId": null,
    "chainName": null,
    "isVerifiedOwner": true,
    "metro": [
      {
        "name": "Filatov Lug",
        "distance": "4 km",
        "meters": 3973
      },
      {
        "name": "Rasskazovka",
        "distance": "4.4 km",
        "meters": 4422
      }
    ],
    "features": [
      {
        "name": "price cup cappuccino",
        "value": "210–290 ₽"
      },
      {
        "name": "coffee to go",
        "value": true
      }
    ],
    "menu": [
      {
        "name": "Холодные напитки в ассортименте",
        "price": "360",
        "currency": "₽",
        "volume": "300 ml"
      },
      {
        "name": "Эклеры в ассортименте",
        "price": "180",
        "currency": "₽",
        "volume": "1 pcs."
      }
    ],
    "menuItemsCount": 17,
    "photoCount": 122,
    "photos": [
      "https://avatars.mds.yandex.net/get-altay/16494614/2a0000019bb2fd4359847caa9267fabbbd86/XXL",
      "https://avatars.mds.yandex.net/get-altay/16497373/2a00000198501c0cd6a8e933d20a6d39a3b3/XXL"
    ],
    "logo": "https://avatars.mds.yandex.net/get-altay/19582126/2a0000019ccfbbbb009377471acc84561f70/XXL",
    "reviews": null,
    "sourceQuery": "coffee",
    "sourceLocation": "Moscow",
    "sourceUrl": null,
    "language": "en",
    "changeType": null,
    "scrapedAt": "2026-11-07T15:03:00.409Z"
  },
  {
    "id": "179097248273",
    "url": "https://yandex.com/maps/org/kofe_i_kusochek_italii/179097248273/",
    "title": "Кофе и Кусочек Италии",
    "shortTitle": "Кофе и Кусочек Италии",
    "categories": [
      "Cafe",
      "coffee shop"
    ],
    "address": "Settlement of Kommunarka, ulitsa Aleksandry Monakhovoy, 88к3",
    "fullAddress": "Moscow, Novomoskovskiy Administrative Okrug, Settlement of Kommunarka, ulitsa Aleksandry Monakhovoy, 88к3",
    "country": "Russian Federation",
    "postalCode": "108826",
    "latitude": 55.544339,
    "longitude": 37.484042,
    "phones": [
      "+7 (993) 889-35-31"
    ],
    "website": "https://coffeekusochek.online/?yclid=15100078462281449471",
    "websites": [
      "https://coffeekusochek.online/?yclid=15100078462281449471"
    ],
    "socialLinks": [
      {
        "type": "telegram",
        "url": "https://t.me/cupbitecafe"
      }
    ],
    "workingHoursText": "daily, 10:00 AM–10:00 PM",
    "workingHours": {
      "Sunday": [
        "10:00-22:00"
      ],
      "Monday": [
        "10:00-22:00"
      ],
      "Tuesday": [
        "10:00-22:00"
      ],
      "Wednesday": [
        "10:00-22:00"
      ],
      "Thursday": [
        "10:00-22:00"
      ],
      "Friday": [
        "10:00-22:00"
      ],
      "Saturday": [
        "10:00-22:00"
      ]
    },
    "openNow": true,
    "status": "open",
    "rating": 5,
    "ratingCount": 347,
    "reviewCount": 253,
    "awards": [
      "goodPlaceYear: 2026"
    ],
    "chainId": null,
    "chainName": null,
    "isVerifiedOwner": true,
    "metro": [
      {
        "name": "Potapovo",
        "distance": "1.3 km",
        "meters": 1301
      },
      {
        "name": "Novomoskovskaya",
        "distance": "2.57 km",
        "meters": 2568
      }
    ],
    "features": [
      {
        "name": "prices",
        "value": "average"
      },
      {
        "name": "food delivery",
        "value": true
      }
    ],
    "menu": [
      {
        "name": "Арбузный салат",
        "price": "390",
        "currency": "₽",
        "volume": "375 g"
      },
      {
        "name": "Пиццбургер Гамадари",
        "price": "440",
        "currency": "₽",
        "volume": "1 pcs."
      }
    ],
    "menuItemsCount": 66,
    "photoCount": 71,
    "photos": [
      "https://avatars.mds.yandex.net/get-altay/17677530/2a0000019bcc005bad30bee99130564ecf7e/XXL",
      "https://avatars.mds.yandex.net/get-altay/16485345/2a00000197cae2cf8597c265a229b96f43ab/XXL"
    ],
    "logo": "https://avatars.mds.yandex.net/get-altay/20858623/2a000001a0806bf829ef8dc1b65770e5ff01/XXL",
    "reviews": null,
    "sourceQuery": "coffee",
    "sourceLocation": "Moscow",
    "sourceUrl": null,
    "language": "en",
    "changeType": null,
    "scrapedAt": "2026-11-07T15:03:00.418Z"
  }
]
```

### 🔁 Scrape only new Yandex Maps places with cache deduplication

Set the same **Cache project name** on every scheduled run and the actor uses cross-run **deduplication**: places already saved under that name, with the same rating, review count, status, phones and hours, are skipped, not charged and not counted towards Max items. Places you have not seen get `changeType: "new"` and places whose rating, reviews, status, phones or hours changed get `"updated"`. Different names keep separate caches. Add the run to an Apify Schedule to collect new businesses daily or weekly.

### 🐍 How to scrape Yandex Maps with Python, JavaScript or the API

Run the actor programmatically with the official Apify clients. Replace `<YOUR_API_TOKEN>` with the token from your [Apify Console](https://console.apify.com/account/integrations).

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

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("<username>/yandex-maps-places-scraper").call(run_input={
    "searchQueries": ["coffee"],
    "locations": ["Moscow"],
    "maxItems": 50,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('<username>/yandex-maps-places-scraper').call({
    searchQueries: ['coffee'],
    locations: ['Moscow'],
    maxItems: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** - start a run and wait for the dataset:

```bash
curl -X POST "https://api.apify.com/v2/acts/<username>~yandex-maps-places-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["coffee"], "locations": ["Moscow"], "maxItems": 50}'
```

### 💡 What you can use Yandex Maps business data for

- Lead generation: phone numbers, websites and social links of local businesses in Russia, Kazakhstan, Turkey and neighbouring countries.
- Competitor and market mapping: all cafes, clinics or shops of a category in a city with their ratings.
- Reputation monitoring: ratings, review counts and review text with owner replies.
- Location analysis: coordinates, nearby metro stations and opening hours for site selection.
- Directory building and data enrichment for CRMs and maps.

Sales teams, marketers, market researchers and analysts in retail, hospitality, healthcare and real estate typically use this data.

### ⚠️ Limitations of the Yandex Maps scraper

- **Search depth** - one Yandex search shows about 1,000 places; the actor splits the map area to go further, but very small areas with more places than that can still be cut off.
- **Menu** - Yandex exposes only the top menu items of a place (usually a handful) with their prices, plus the total count.
- **Photos** - the first photos Yandex lists for a place (about 10) and the total photo count; the full gallery is not available.
- **Review order** - reviews come in the order Yandex serves them; the sort order cannot be changed.
- **Emails** - Yandex Maps does not show business email addresses. With **Scrape emails from websites** on, the actor reads the place's own website (home page and one contact page) and saves the addresses it finds; places without a website, or sites that hide their email in a form or a script, return `null`.

### ❓ Yandex Maps scraper FAQ

#### Can I scrape Yandex Maps legally?

The actor only collects data already publicly visible on Yandex Maps - no login, paywall or private content is accessed. Scraping publicly available data is generally considered lawful (see *hiQ Labs v. LinkedIn*), but you are responsible for complying with the site's Terms of Service and applicable laws such as GDPR when personal data like reviewer names is involved.

#### What data does the Yandex Maps scraper return?

Name, categories, address, coordinates, phones, website, social links, opening hours, rating and review counts, awards, chain, metro stations, features, popular menu items, photos and logo. With **Reviews per place** above 0 each place also carries its reviews.

#### How many places can I scrape from one Yandex Maps search?

**Max items per search** limits each query and location (or each link). One Yandex search shows about 1,000 places at most; when you ask for more the actor splits the area into four smaller map areas, again and again, and removes duplicates.

#### Do I need a proxy to scrape Yandex Maps?

No setup is needed: keep the default proxy configuration. You can pick an Apify Proxy group or enter your own proxy URLs if you prefer.

#### How do I scrape Yandex Maps with Python?

Use the Python example above with the `apify-client` package and iterate over the dataset items.

#### Can I run this Yandex Maps scraper on a schedule?

Yes, use Apify Schedules. Add a **Cache project name** so every scheduled run deduplicates against what you saved before and returns only new or changed places.

#### What output formats are supported?

JSON, CSV, Excel, XML and RSS, either from the **Output** tab or through the Apify API.

#### Why are some Yandex Maps places missing a phone or website?

Yandex only shows what the business has published; places without a listed phone or website have `null` in those fields.

#### Is this the cheapest Yandex Maps scraper on Apify?

Probably yes. The cache deduplication skips places already saved in earlier runs, so repeated runs are not charged for duplicates and only new or changed places cost anything.

### 🔗 Relevant actors for Yandex Maps businesses

| Scraper | Description |
| ------- | ----------- |
| [Superpages Scraper](https://apify.com/confidential_gnat/superpages-scraper) | Scrape US businesses from Superpages: name, phone, address, category. |
| [BBB Emails & Info Scraper](https://apify.com/confidential_gnat/bbb-business-scraper) | Scrapes Better Business Bureau businesses: name, phone, address, rating. |
| [Yellow Pages USA Scraper](https://apify.com/confidential_gnat/yellowpages-usa-scraper) | Scrape US businesses from Yellow Pages with emails. |
| [Yellow Pages UK Scraper](https://apify.com/confidential_gnat/yellowpages-uk-scraper) | Scrape UK businesses from Yell with emails. |
| [Yellow Pages France Scraper](https://apify.com/confidential_gnat/yellowpages-france-scraper) | Scrape French businesses from PagesJaunes with emails. |

### 🔗 Other actors you may find useful

| Scraper | Description |
| ------- | ----------- |
| [Avito Listings Scraper](https://apify.com/confidential_gnat/avito-listings-scraper) | Scrapes classified listings from Avito: real estate, cars, goods, jobs. |
| [Kleinanzeigen Classifieds Scraper](https://apify.com/confidential_gnat/kleinanzeigen-listings-scraper) | Scrape ads from Kleinanzeigen (formerly eBay Kleinanzeigen). |
| [Rightmove Property Scraper](https://apify.com/confidential_gnat/rightmove-property-scraper) | Scrapes UK property listings from Rightmove, sale and rent. |
| [Carousell Products Scraper](https://apify.com/confidential_gnat/carousell-products-scraper) | Scrape Carousell product listings: prices, seller ratings, deal methods. |
| [Dice Jobs Scraper](https://apify.com/confidential_gnat/dice-jobs-scraper) | Scrapes tech job listings from Dice by keyword or URL. |

### 💬 Support & contact

If you encounter any issues or have questions, please [open an issue](https://apify.com/confidential_gnat/yandex-maps-places-scraper/issues/open).

You can also find more of our actors on the [Actor Flow](https://apify.com/confidential_gnat) page.

# Actor input Schema

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

Search links (https://yandex.com/maps/213/moscow/search/coffee/, with ll, spn or filter parameters if you like) or place links (https://yandex.com/maps/org/name/1234567890/).

## `keywords` (type: `array`):

What to find and where, for example coffee in Moscow, dentist in Almaty or hotel in Istanbul. The part after "in" is the location. A keyword without "in" is searched in the locations below.

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

What to look for, for example coffee, dentist, hotel or pharmacy. Each query is searched in every location below. Any language works. Use this together with Locations, or put the place in a keyword instead.

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

Cities, districts or addresses to search in, for example Moscow, Almaty or Istanbul. Each name is looked up on Yandex Maps and its whole area is searched.

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

Maximum places saved for each query and location (or for each link). One Yandex search shows about 1,000 places at most; above that the area is split into smaller map areas automatically.

## `scrapeEmail` (type: `boolean`):

Open each place's own website (its home page and, if needed, its contact page) and save the email addresses found there. Yandex Maps does not show emails, so this makes runs slower. Places without a website get no emails.

## `cacheProjectName` (type: `string`):

Use the same name on each scheduled run to get only new or changed places. Places already saved under this name with the same rating, review count, status, phones and hours are skipped, not charged and not counted towards Max items. Each record gets a changeType: new or updated.

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

Language of categories, addresses and other texts. Business names stay as their owners wrote them.

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

Only places rated at least this high.

## `goodPlaceOnly` (type: `boolean`):

Only places that carry the Yandex Good Place award.

## `priceCategory` (type: `string`):

Only places of this price level (used by food and drink places).

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

Keep only places with one of these category names (partial match, in the language chosen above), for example cafe or coffee shop.

## `latitude` (type: `number`):

Search around a point instead of (or as well as) a named location. Used together with longitude.

## `longitude` (type: `number`):

Longitude of the point to search around.

## `radiusKm` (type: `number`):

Half the width of the area searched around the latitude and longitude.

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

Yandex organization ids (the number at the end of a place link) to scrape directly.

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

How many reviews to save with each place (author, rating, text, date, likes, owner reply). 0 means none. Reviews are read 50 at a time and make runs slower.

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

Optional. Leave off to use the default proxy.

## Actor input object example

```json
{
  "keywords": [
    "coffee in Moscow"
  ],
  "maxItems": 2,
  "scrapeEmail": false,
  "language": "en",
  "goodPlaceOnly": false,
  "radiusKm": 5,
  "maxReviews": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "keywords": [
        "coffee in Moscow"
    ],
    "maxItems": 2,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("confidential_gnat/yandex-maps-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 = {
    "keywords": ["coffee in Moscow"],
    "maxItems": 2,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("confidential_gnat/yandex-maps-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 '{
  "keywords": [
    "coffee in Moscow"
  ],
  "maxItems": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call confidential_gnat/yandex-maps-places-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,confidential_gnat/yandex-maps-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/3frfUJNIhVz0nxogK/builds/kNhxsqOmszb3aNbpY/openapi.json
