# Yandex Maps Scraper (`searchapi/yandex-maps-scraper`) Actor

Scrapes Yandex Maps for places and business listings. Extracts name, address, phone, coordinates, rating, reviews, opening hours, website, and more.

- **URL**: https://apify.com/searchapi/yandex-maps-scraper.md
- **Developed by:** [Search API](https://apify.com/searchapi) (community)
- **Categories:** Developer tools, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 9 total users, 1 monthly users, 58.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 search results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Scraper

Search public Yandex Maps business listings by keyword and location. Collect place names, addresses, categories, public contact details, ratings, hours, photos, and other source-provided business information.

### Input

Provide a `query` or a batch in `queries` for a useful search. `location` is combined with each phrase exactly as a person would enter it in Maps.

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `query` | string | — | Business, category, or place phrase, such as `coffee shops`. |
| `queries` | string array | `[]` | Optional batch of up to 20 searches; results are selected fairly. |
| `location` | string | — | City, region, or country combined with each query. |
| `maxItems` | integer | `100` | Global maximum number of unique places. |
| `maxPages` | integer | `4` | Maximum result pages allowed for each query. |
| `categories` | string array | `[]` | Keep places whose Yandex category contains a supplied value. |
| `minRating` | number | `0` | Minimum source-provided rating. |
| `minReviewCount` | integer | `0` | Minimum source-provided review count. |
| `openNow` | boolean | `false` | Require Yandex to report the place as open now. |
| `hasPhone` | boolean | `false` | Keep only places with a public phone number. |
| `hasWebsite` | boolean | `false` | Keep only places with a public website. |
| `hasPhotos` | boolean | `false` | Keep only places with at least one public source photo. |
| `sortBy` | string | `relevance` | `relevance`, `rating`, `reviews`, or `name`. |
| `maxImagesPerPlace` | integer | `5` | Maximum public image URLs retained per place. |
| `searchDomain` | string | `yandex.com` | `yandex.com`, `yandex.ru`, `yandex.kz`, or `yandex.com.tr`. |
| `language` | string | `en_US` | Search locale, such as `en_US`, `ru_RU`, `tr_TR`, or `kk_KZ`. |
| `country` | string | — | Optional requested-market label. Use proxy country for network geolocation. |
| `maxConcurrency` | integer | `4` | Maximum public Maps pages fetched simultaneously. |
| `maxRequestRetries` | integer | `3` | Bounded retries for temporary network, rate-limit, and server failures. |
| `requestTimeoutSecs` | integer | `30` | Timeout for one Maps request. |
| `useApifyProxy` | boolean | `true` | Use Apify Proxy unless custom proxy URLs are supplied. |
| `proxyGroups` | string array | `[]` | Compatible groups such as `RESIDENTIAL`; `GOOGLE_SERP` is incompatible. |
| `proxyCountryCode` | string | — | Optional two-letter proxy country code. |
| `proxyUrls` | string array | `[]` | Custom proxies take precedence over Apify Proxy settings. |

Example:

```json
{
  "query": "coffee shops",
  "location": "New York, NY",
  "maxItems": 20,
  "minRating": 4,
  "openNow": true
}
```

See [`.actor/input_schema.json`](.actor/input_schema.json) for the complete accepted input schema.

### Output

Dataset rows follow [`.actor/dataset_schema.json`](.actor/dataset_schema.json). The schema declares all fields optional; the Actor omits unavailable source values rather than emitting empty placeholders.

<details>
<summary>Dataset fields and types</summary>

| Field | Type |
| --- | --- |
| `id` | string |
| `placeId` | string |
| `position` | integer |
| `queryPosition` | integer |
| `sourcePosition` | integer |
| `page` | integer |
| `name` | string |
| `shortName` | string |
| `description` | string |
| `url` | string |
| `address` | string |
| `fullAddress` | string |
| `country` | string |
| `locality` | string |
| `street` | string |
| `house` | string |
| `latitude` | number |
| `longitude` | number |
| `category` | string |
| `type` | string |
| `resultType` | string |
| `priceLevel` | string |
| `categories` | array of objects |
| `categoryNames` | array of strings |
| `phone` | string |
| `phoneNumbers` | array of strings |
| `phones` | array of objects |
| `website` | string |
| `websiteDomain` | string |
| `websites` | array of strings |
| `socialLinks` | array of objects |
| `businessLinks` | array of objects |
| `rating` | number |
| `ratingCount` | integer |
| `reviewCount` | integer |
| `status` | string |
| `isOpenNow` | boolean |
| `workingStatus` | string |
| `workingStatusShort` | string |
| `workingHoursText` | string |
| `openingHours` | string |
| `weeklyHours` | array of objects |
| `photoCount` | integer |
| `thumbnailUrl` | string |
| `imageUrls` | array of strings |
| `features` | array of objects |
| `featureGroups` | array of strings |
| `verifiedOwner` | boolean |
| `geoId` | integer |
| `regionId` | integer |
| `regionName` | string |
| `timezoneOffsetMinutes` | integer |
| `breadcrumbs` | array of strings |
| `source` | string |
| `sourceDomain` | string |
| `extractionMethod` | string |
| `searchQuery` | string |
| `searchLocation` | string |
| `searchUrl` | string |
| `searchLanguage` | string |
| `language` | string |
| `requestedCountry` | string |
| `totalResults` | integer |
| `sourcePageSize` | integer |
| `correctedQuery` | string |
| `searchMetadata` | object |
| `scrapedAt` | string |

</details>

### How to use

Enter a business/category phrase and location in the Apify Input tab. Add optional filters, start the Actor, and review places in the Output dataset. The same fields can be submitted as JSON through the Apify API.

### Retrieval, proxies, and limits

The Actor reads Yandex's structured public result state over HTTP, validates it before parsing, and uses a narrowly scoped HTML link fallback if that structure changes. Batch results are selected round-robin so one query cannot consume the global item limit. `maxPages` bounds requests per query.

Direct HTTP, Apify Proxy, country routing, proxy groups, and custom proxy URLs are supported. `GOOGLE_SERP` is rejected because it is for supported Google Search/Shopping requests, not Yandex Maps. Proxy choice does not bypass CAPTCHA or other access controls; challenge pages fail closed. Results and filters depend on Yandex's ranking, locale, location wording, and available business metadata.

# Changelog

This Actor's version history is a separate document: https://apify.com/searchapi/yandex-maps-scraper/changelog.md

# Actor input Schema

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

A business, category, or place search such as restaurants or coffee shops.

## `queries` (type: `array`):

Optional batch of up to 20 searches. Results are selected fairly across queries.

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

City, region, or country to combine with each query.

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

Global maximum number of unique places to store.

## `maxPages` (type: `integer`):

Maximum Yandex result pages allowed for each query.

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

Keep places whose Yandex category contains at least one supplied value.

## `minRating` (type: `number`):

Keep only places at or above this source-provided rating.

## `minReviewCount` (type: `integer`):

Keep only places with at least this many source-provided reviews.

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

Require Yandex to report the place as currently open.

## `hasPhone` (type: `boolean`):

Keep only places with a public phone number.

## `hasWebsite` (type: `boolean`):

Keep only places with a public website.

## `hasPhotos` (type: `boolean`):

Keep only places with at least one public source photo.

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

Order matched records within each query before fair global selection.

## `maxImagesPerPlace` (type: `integer`):

Maximum public image URLs retained for each place.

## `searchDomain` (type: `string`):

Yandex Maps domain used for public search requests.

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

Locale such as en_US, ru_RU, tr_TR, or kk_KZ.

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

Optional provenance label for the requested market. Use proxy country for network geolocation.

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

Maximum public Maps pages fetched at the same time.

## `maxRequestRetries` (type: `integer`):

Bounded retries for temporary network, rate-limit, and server failures.

## `requestTimeoutSecs` (type: `integer`):

Timeout for one Yandex Maps HTTP request.

## `useApifyProxy` (type: `boolean`):

Route requests through Apify Proxy unless custom proxy URLs are supplied.

## `proxyGroups` (type: `array`):

Compatible groups such as RESIDENTIAL. GOOGLE_SERP is not compatible with Yandex Maps.

## `proxyCountryCode` (type: `string`):

Optional two-letter proxy country code.

## `proxyUrls` (type: `array`):

Custom proxies take precedence over Apify Proxy settings.

## Actor input object example

```json
{
  "query": "restaurants",
  "queries": [],
  "location": "London",
  "maxItems": 100,
  "maxPages": 4,
  "categories": [],
  "minRating": 0,
  "minReviewCount": 0,
  "openNow": false,
  "hasPhone": false,
  "hasWebsite": false,
  "hasPhotos": false,
  "sortBy": "relevance",
  "maxImagesPerPlace": 5,
  "searchDomain": "yandex.com",
  "language": "en_US",
  "maxConcurrency": 4,
  "maxRequestRetries": 3,
  "requestTimeoutSecs": 30,
  "useApifyProxy": true,
  "proxyGroups": [],
  "proxyUrls": []
}
```

# Actor output Schema

## `dataset` (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 = {
    "query": "restaurants",
    "location": "London"
};

// Run the Actor and wait for it to finish
const run = await client.actor("searchapi/yandex-maps-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": "restaurants",
    "location": "London",
}

# Run the Actor and wait for it to finish
run = client.actor("searchapi/yandex-maps-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 '{
  "query": "restaurants",
  "location": "London"
}' |
apify call searchapi/yandex-maps-scraper --silent --output-dataset

```

## MCP server setup

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