# 2GIS Scraper: Business Profiles, Phones & Emails (`sian.agency/2gis-profiles-scraper`) Actor

Search 2GIS (2ГИС) by keyword and city and get business profiles with phones, emails, websites, social links, hours, rating, review count, coordinates and categories. Optionally add the latest reviews. 207 cities. Export JSON, CSV or Excel.

- **URL**: https://apify.com/sian.agency/2gis-profiles-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Lead generation, Automation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.37 / 1,000 business profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 2GIS Scraper: Business Profiles, Phones & Emails 📍

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Google Maps Scraper](https://img.shields.io/badge/Store-Google%20Maps%20Scraper-4285F4)](https://apify.com/sian.agency/local-business-data-scraper?fpr=sian) [![Yelp Business & Reviews Scraper](https://img.shields.io/badge/Store-Yelp%20Business%20%26%20Reviews-D32323)](https://apify.com/sian.agency/yelp-business-reviews-scraper?fpr=sian) [![Email & Contact Lead Scraper](https://img.shields.io/badge/Store-Email%20%26%20Contact%20Lead%20Scraper-1AE392)](https://apify.com/sian.agency/email-contact-lead-scraper?fpr=sian)

#### 🎉 Search 2GIS (2ГИС) by keyword and city. Every row has phones, emails, websites, socials, hours and rating

##### For lead generation teams, agencies and market researchers working in Russia, Kazakhstan, Uzbekistan and the UAE

### 🔎 What is the 2GIS Profiles Scraper — and when should you use it?

The **2GIS Profiles Scraper** turns public 2GIS (2ГИС) business listings, found by keyword and city, with phones, emails, websites, social links, hours and ratings into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** Business profiles for a keyword and city as rows: name, categories, address with coordinates, phones, emails, websites and social links, opening hours, rating, review count and listed features. Filter to businesses with a website or an email, set a minimum rating, and add the latest reviews with the business reply. A second mode looks up businesses by 2GIS link or ID. 207 cities and regions are covered, from Moscow and Saint Petersburg to Almaty, Tashkent and Dubai.

**Use something else when:** the businesses are outside 2GIS coverage, such as the United States or Western Europe. Use [Google Maps Scraper](https://apify.com/sian.agency/local-business-data-scraper?fpr=sian) for business listings with emails, phone numbers and reviews from Google Maps, which works in any country. This actor reads public 2GIS business listings and their reviews. Photos, menus, prices and private owner data are not available.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/2gis-profiles-scraper

**Agentic payments:** Availability of [x402](https://www.x402.org/) and [Skyfire](https://www.skyfire.xyz/) depends on this Actor's current Store eligibility. Check the published listing for supported payment methods. Apify charges a run-start fee. Each saved business or review adds a result charge.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want 2GIS business contacts and ratings for a keyword and city using the Apify Actor `sian.agency/2gis-profiles-scraper`.

Use it when I need: Business profiles for a keyword and city as rows: name, categories, address with coordinates, phones, emails, websites and social links, opening hours, rating, review count and listed features. Filter to businesses with a website or an email, set a minimum rating, and add the latest reviews with the business reply. A second mode looks up businesses by 2GIS link or ID. 207 cities and regions are covered, from Moscow and Saint Petersburg to Almaty, Tashkent and Dubai.

Don't use it when: the businesses are outside 2GIS coverage, such as the United States or Western Europe — use local-business-data-scraper instead.

How to call it: set `operation` to `search`, give `searchQueries` (for example кафе or dentist) and `locations` (a city name or code such as Москва, moscow, almaty or dubai), choose `sort`, and use `onlyWithWebsite`, `onlyWithEmail` and `minRating` to filter. Set `reviewsPerPlace` above 0 to add the latest reviews. Set `operation` to `lookup` and list 2GIS links or IDs in `places` to read specific businesses. `maxResults` caps the rows.

Start with this input:
{
  "operation": "search",
  "searchQueries": [
    "стоматология"
  ],
  "locations": [
    "Москва"
  ],
  "onlyWithEmail": true,
  "maxResults": 50
}

Ask me which business types and cities to search, whether to keep only businesses with an email or a website, and how many rows to save, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *List 100 dentists in Almaty that publish an email, with phone, website and rating.*
- *Find cafes in Saint Petersburg rated 4.5 or higher and show their phone numbers and opening hours.*
- *Look up these five 2GIS links and add their ten latest reviews.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/2gis-profiles-scraper.md](https://apify.com/sian.agency/2gis-profiles-scraper.md).

### 📋 Overview

**Turn any 2GIS search into a contact list.** Pick a business type and a city. Each row is one business, with its address, coordinates, phones, emails, website, social links, hours, rating and categories. No 2GIS account, no key, no browser to babysit.

**What you get:**

- 📞 **Contacts on every row**: Phones in international format, emails, websites, plus VK, Telegram, WhatsApp, Viber, OK and YouTube links when the business lists them.
- 🌍 **207 cities and regions**: Moscow, Saint Petersburg, Novosibirsk, Almaty, Tashkent, Tbilisi, Dubai and more. Type the name in Russian or English.
- 🎯 **Filters that save money**: Keep only businesses with a website or an email, or above a minimum rating. You pay for what is saved.
- 💬 **Optional reviews**: Add the latest reviews with rating, text, author, date and the business reply.
- 📦 **50 businesses per request**: Large cities run fast. A query with thousands of matches finishes in minutes.
- 💰 **Pay per saved row**: Saved businesses and reviews have a result charge. Apify charges a separate run-start fee.

### ✨ Features

- 🔑 **Several queries and cities per run**: Every query is searched in every city. Duplicate businesses are saved once.
- ↕️ **Three sort orders**: Best match, highest rated or newest listings first.
- 🏢 **Lookup mode**: Paste 2GIS links or numeric IDs and get one fresh profile row each.
- 🕒 **Structured hours**: One line per weekday, with a 24/7 flag where it applies.
- ✨ **Listed features**: Cuisine, payment methods, services and the average bill when 2GIS shows them.
- 🧭 **Coordinates and districts**: Latitude, longitude, city, district, postcode and floor notes.
- 🗣️ **Russian or English output**: English is available where 2GIS has translated the data.
- 📄 **Run report**: A one-page summary with copy buttons for the phone and email lists.
- 📥 **Any export format**: JSON, CSV, Excel, XML or HTML from the dataset.

### 🎬 Quick Start

Pick a mode, enter a business type and a city, and press Start. The prefilled run searches "кафе" in Москва and returns 20 businesses in about 15 seconds. Results land in the dataset, ready to download.

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~2gis-profiles-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation": "search", "searchQueries": ["стоматология"], "locations": ["Москва"], "onlyWithEmail": true, "maxResults": 50}'
```

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose a mode

Business search finds businesses for your queries. Profile lookup reads the businesses you list.

#### Step 2: Enter your queries and cities

Type a business type such as аптека or dentist, and a city such as Санкт-Петербург, almaty or dubai.

#### Step 3: Run and download

Press Start, then open the dataset and export JSON, CSV or Excel.

**In about a minute you will have:**

- A table of businesses with address, rating and categories
- Phones, emails and social links in their own columns
- A report page with every phone and email ready to copy

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| operation | string | No | `search` (default) or `lookup` |
| searchQueries | array | Yes for search | Business types or names, one per line. Prefilled with кафе |
| locations | array | Yes for search | Cities by name or code. Prefilled with Москва |
| sort | string | No | `relevance` (default), `rating` or `creation_time` |
| onlyWithWebsite | boolean | No | Save only businesses that list a website |
| onlyWithEmail | boolean | No | Save only businesses that list an email |
| minRating | integer | No | 0 to 5. Save only businesses rated at least this high |
| maxResults | integer | No | 1 to 10,000, default 20. Free plans save up to 25 |
| reviewsPerPlace | integer | No | 0 to 50, default 0. Latest reviews added to each business |
| language | string | No | `ru` (default) or `en` |
| places | array | Yes for lookup | 2GIS links or numeric IDs |

**Example:**

```json
{
  "operation": "search",
  "searchQueries": ["аптека", "стоматология"],
  "locations": ["Москва", "Санкт-Петербург"],
  "minRating": 4,
  "maxResults": 200
}
```

**Lookup:**

```json
{
  "operation": "lookup",
  "places": ["https://2gis.ru/moscow/firm/70000001113263430", "70000001041081959"],
  "reviewsPerPlace": 10
}
```

### 📤 Output

Each row carries more than 30 fields. The most useful ones:

| Field | Type | Description |
|-------|------|-------------|
| name | string | Business name |
| url | string | Link to the business page on 2GIS |
| category | string | Main category |
| categories | array | All categories |
| address | string | Street address |
| city | string | City |
| latitude, longitude | number | Coordinates |
| phones | array | Phone numbers in international format |
| emails | array | Emails listed on 2GIS |
| websites | array | Website addresses |
| socialLinks | object | Links keyed by network, such as telegram or vkontakte |
| rating | number | Average rating out of 5 |
| reviewCount | integer | Number of reviews |
| workingHours | object | Opening hours per weekday |
| attributes | array | Cuisine, payment methods, services |
| averageBill | string | Average bill text when listed |
| reviews | array | Latest reviews, when requested |

**Example (shortened):**

```json
{
  "placeId": "70000001007168531",
  "url": "https://2gis.ru/moscow/firm/70000001007168531",
  "name": "Dark Patrick`s Pub, ирландский паб",
  "category": "Бары",
  "address": "Большой Златоустинский переулок, 1 ст1",
  "city": "Москва",
  "latitude": 55.759979,
  "longitude": 37.631638,
  "phones": ["+74956213797"],
  "emails": ["6244655@mail.ru"],
  "websites": ["http://dp-pub.ru"],
  "socialLinks": { "vkontakte": ["https://vk.com/dppub"] },
  "rating": 5,
  "reviewCount": 92,
  "workingHours": { "Mon": "12:00-24:00", "Fri": "12:00-03:00" },
  "averageBill": "Чек 1250 ₽",
  "status": "success"
}
```

Lookup rows use the same fields. A business that cannot be found gets an error row with its ID and adds no result charge.

### 💼 Use Cases & Examples

#### 1. Lead generation

**A web agency builds a call list of dentists in ten cities.**

**Input:** query стоматология, ten cities, email filter on.
**Output:** Businesses with phone, email, website and rating.
**Use:** Sort by rating and start outreach the same day.

#### 2. Market mapping

**A franchise analyst counts competitors per district.**

**Input:** one query, one city, 5,000 results.
**Output:** Every listing with coordinates, district and category.
**Use:** Plot density on a map and spot underserved areas.

#### 3. Sales prospecting

**A review-management agency looks for businesses with a website and a weak rating.**

**Input:** website filter on, sorted by newest listings.
**Output:** New businesses with rating and review count.
**Use:** Pitch the ones with few reviews first.

#### 4. Reputation monitoring

**A restaurant group watches reviews on its own branches and three rivals.**

**Input:** lookup mode with five links, ten reviews each, run on a schedule.
**Output:** Latest reviews with rating, date and the business reply.
**Use:** Send the new ones to Slack every morning.

#### 5. Site selection

**A pharmacy chain compares districts before opening a branch.**

**Input:** query аптека in several cities.
**Output:** Branch counts, ratings and opening hours per district.
**Use:** Rank districts by competition.

#### 6. Data enrichment

**A CRM team refreshes contacts it already holds.**

**Input:** lookup mode with stored 2GIS IDs.
**Output:** Current phones, emails, websites and hours.
**Use:** Overwrite stale records.

### 🔌 Integration Examples

#### JavaScript/Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/2gis-profiles-scraper').call({
  operation: 'search',
  searchQueries: ['стоматология'],
  locations: ['Москва'],
  onlyWithEmail: true,
  maxResults: 50,
});

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

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/2gis-profiles-scraper').call(
    run_input={'operation': 'search', 'searchQueries': ['стоматология'], 'locations': ['Москва'], 'onlyWithEmail': True, 'maxResults': 50}
)

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

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~2gis-profiles-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation": "search", "searchQueries": ["аптека"], "locations": ["almaty"], "maxResults": 100}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: Schedule or webhook
2. **HTTP Request**: Start the actor with your query and city
3. **Process**: Read the dataset items
4. **Action**: Save to a sheet or CRM, or post to Slack

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **Up to 25 rows** per run with every field included
- No credit card required
- Enough to test a query

#### PAID Tier (Production Ready)

- **Up to 10,000 rows** per run
- Volume tiers lower the price per row
- Pay per result: only saved businesses and reviews are charged

💰 **Priced below the other 2GIS business scrapers on the Store** per business at the Bronze plan level, with contacts, hours and ratings included in the same charge instead of sold as add-ons.

🔗 [View current pricing](https://apify.com/sian.agency/2gis-profiles-scraper?fpr=sian)

### ❓ Frequently Asked Questions

**Q: Do I need a 2GIS account or an API key?**
A: No. Enter a query and a city and run it.

**Q: Which cities are covered?**
A: 207 cities and regions in 20 countries, including every large Russian city, Kazakhstan, Uzbekistan, Georgia, Saudi Arabia and the UAE. Type the name in Russian or English, or use the 2GIS code such as moscow or spb.

**Q: How many businesses can one search return?**
A: As many as 2GIS lists for that query and city, up to your result limit. Free plans save 25 per run, paid plans up to 10,000.

**Q: Are photos included?**
A: No. Phones, emails, websites, social links, hours, coordinates, rating, categories and optional reviews are included.

**Q: Why are some emails or websites empty?**
A: The business did not list them on 2GIS. Nothing is guessed or looked up elsewhere, so a minority of rows carry an email. Use the email filter to save only those.

**Q: Can I get reviews?**
A: Yes. Set the reviews per business to 1 or more, up to 50. Each review saved is charged as a Review.

**Q: What output formats are available?**
A: JSON, CSV, Excel, XML and HTML from the Apify dataset.

**Q: How long does a run take?**
A: About 15 seconds for 20 businesses. Large runs read 50 businesses per request.

**Q: Is this legal?**
A: See the legal section below. Phone numbers and emails of sole traders are personal data, so check your lawful basis before you contact anyone.

### 🐞 Troubleshooting

**The run saved fewer rows than I asked for**

- With the email filter or a minimum rating on, many businesses are skipped. The run stops after about 30 times your result limit. Loosen the filters, add cities, or turn them off.

**A query returned nothing**

- Try a broader or differently worded query. Russian queries usually find more than English ones. Business types such as кафе work better than long phrases.

**A city was skipped**

- Use the city name in Russian or English, or its 2GIS code such as moscow, spb or almaty.

**Business not found in lookup mode**

- Check the link or ID. A business link looks like https://2gis.ru/moscow/firm/70000001113263430.

### ⚖️ Is it legal to scrape data?

This actor reads only what businesses have made public on 2GIS. It does not log in and does not read private data.

Phone numbers and emails in your results can be personal data, especially for sole traders. They are protected by the **GDPR** in the European Union, by Russia's law **152-FZ** and by anti-spam rules in many countries. Use them only where you have a lawful basis, identify yourself in any message and honour opt-outs. If you are unsure, ask your lawyer.

2GIS's license agreement restricts automated access and commercial reuse of its data, and you are responsible for how you use the results. You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### 🤝 Support

**Join our active support community**

- For issues or questions, open an issue on the actor's Issues tab
- Check [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

2GIS (2ГИС) is a trademark of its owner. SIÁN Agency is independent and is not affiliated with or endorsed by 2GIS.

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/2gis-profiles-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

🔎 **PICK A MODE:** Business search finds businesses for your keywords in the cities you list. Profile lookup reads the businesses you list by 2GIS link or ID. Only information 2GIS shows publicly is read.

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

🔑 **SEARCH QUERIES:** What to look for, one per line, in Russian or English. Business types (кафе, аптека, dentist) and company names both work. Each query is searched in every city below. Used by Business search.

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

🌍 **CITIES:** One per line. Use the city name in Russian or English, or its 2GIS code such as moscow, spb, novosibirsk, almaty or dubai. 207 cities and regions in 20 countries are supported. Used by Business search.

## `sort` (type: `string`):

↕️ **SORT:** Best match is 2GIS's own ranking. Highest rated puts the best reviewed businesses first. Newest listings finds recently added businesses. Used by Business search.

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

🌐 **WEBSITE FILTER:** Save only businesses that list a website on 2GIS. Used by Business search.

## `onlyWithEmail` (type: `boolean`):

📧 **EMAIL FILTER:** Save only businesses that list an email on 2GIS. Other businesses are read but not saved or charged. The run reads up to about 30 times your result limit in total, so a rare email may mean fewer rows. Used by Business search.

## `minRating` (type: `integer`):

⭐ **MINIMUM RATING:** Save only businesses rated at least this many stars (0 to 5). 0 keeps everything, including unrated businesses. Other businesses are read but not saved or charged. Used by Business search.

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

🔢 **RESULT LIMIT:** Save up to this many businesses in total across all queries and cities. Free plans save at most 25. Used by every mode.

## `reviewsPerPlace` (type: `integer`):

💬 **REVIEWS:** Add the latest reviews to each business, up to this many (0 to 50). 0 skips reviews. Each review saved is billed as a Review. Used by every mode.

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

🗣️ **LANGUAGE:** Language for category names, addresses and attributes. English is available where 2GIS has translated the data. Used by every mode.

## `places` (type: `array`):

🏢 **BUSINESSES:** 2GIS business links or numeric IDs, one per line, for example https://2gis.ru/moscow/firm/70000001113263430 or 70000001113263430. Used by Profile lookup.

## Actor input object example

```json
{
  "operation": "search",
  "searchQueries": [
    "кафе",
    "стоматология",
    "автосервис"
  ],
  "locations": [
    "Москва",
    "Санкт-Петербург",
    "Almaty",
    "Dubai"
  ],
  "sort": "relevance",
  "onlyWithWebsite": false,
  "onlyWithEmail": false,
  "minRating": 0,
  "maxResults": 20,
  "reviewsPerPlace": 0,
  "language": "ru",
  "places": [
    "https://2gis.ru/moscow/firm/70000001113263430",
    "70000001041081959"
  ]
}
```

# Actor output Schema

## `2gisBusinessProfiles` (type: `string`):

Every business profile this run returned.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# 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 = {
    "operation": "search",
    "searchQueries": [
        "кафе"
    ],
    "locations": [
        "Москва"
    ],
    "sort": "relevance",
    "onlyWithWebsite": false,
    "onlyWithEmail": false,
    "minRating": 0,
    "maxResults": 20,
    "reviewsPerPlace": 0,
    "language": "ru"
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/2gis-profiles-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 = {
    "operation": "search",
    "searchQueries": ["кафе"],
    "locations": ["Москва"],
    "sort": "relevance",
    "onlyWithWebsite": False,
    "onlyWithEmail": False,
    "minRating": 0,
    "maxResults": 20,
    "reviewsPerPlace": 0,
    "language": "ru",
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/2gis-profiles-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 '{
  "operation": "search",
  "searchQueries": [
    "кафе"
  ],
  "locations": [
    "Москва"
  ],
  "sort": "relevance",
  "onlyWithWebsite": false,
  "onlyWithEmail": false,
  "minRating": 0,
  "maxResults": 20,
  "reviewsPerPlace": 0,
  "language": "ru"
}' |
apify call sian.agency/2gis-profiles-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/2gis-profiles-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/RLaDcXtBYMTJceTWf/builds/gZ5g9FqKwsq7Fxw7h/openapi.json
