# 2gis Reviews (`shareze001/2gis-reviews`) Actor

- **URL**: https://apify.com/shareze001/2gis-reviews.md
- **Developed by:** [shareze](https://apify.com/shareze001) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.

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 Reviews Scraper

Collect reviews from [2GIS](https://2gis.com/) places by **firm URL** or **place ID**, with **size**, **sort**, and **rated** filter.

Uses the public 2GIS Reviews API — no browser or proxy required.

### Features

- Input **firm URLs** and/or numeric **place IDs**
- Caps reviews per place with `size`
- API sort: `date_created` · `date_edited` · `friends` · `trust`
- Optional `rated` to keep only starred reviews
- Returns text, rating, author, dates, photos, official reply, and place context

### How to use

Provide `urls` and/or `placeIds`.

#### By URL

```json
{
  "urls": [
    "https://2gis.kz/almaty/firm/70000001035014267"
  ],
  "size": 50,
  "sort": "date_created"
}
```

#### By place ID

```json
{
  "placeIds": ["70000001035014267"],
  "size": 100,
  "sort": "trust",
  "rated": true,
  "locale": "ru_KZ"
}
```

### Input

| Field | Required | Description |
| --- | --- | --- |
| `urls` | one of | 2GIS firm / reviews URLs |
| `placeIds` | one of | Numeric 2GIS firm / branch IDs |
| `size` | no | Max reviews **per place** (default `50`) |
| `sort` | no | `date_created` · `date_edited` · `friends` · `trust` (default `date_created`) |
| `rated` | no | If `true`, only reviews with a star rating (default `true`) |
| `locale` | no | API locale, e.g. `ru_KZ`, `ru_RU` (default `ru_KZ`) |

### Output

Each dataset item is one review:

| Field | Description |
| --- | --- |
| `id` | Review id |
| `place` | `{ id, url, rating, reviewCount }` — firm context |
| `rating` | Star rating |
| `text` | Review body |
| `dateCreated` | Created at (ISO) |
| `dateEdited` | Edited at when present |
| `provider` | Source tag (e.g. `2gis`) |
| `likesCount` | Likes |
| `commentsCount` | Comments |
| `isHidden` | Hidden flag |
| `author` | `{ id, name, reviewsCount, photoUrl, provider }` |
| `photoUrls` | Review photo URLs |
| `officialAnswer` | `{ text, dateCreated }` when the business replied |

#### Example item

```json
{
  "id": "306236575",
  "place": {
    "id": "70000001035014267",
    "url": "https://2gis.kz/almaty/firm/70000001035014267",
    "rating": 4.9,
    "reviewCount": 2565
  },
  "rating": 5,
  "text": "Заведение 👍🏻 кальянный мастер Азамату отдельная благодарность 💨",
  "dateCreated": "2026-10-15T01:55:57.869292+07:00",
  "dateEdited": null,
  "provider": "2gis",
  "likesCount": 0,
  "commentsCount": 0,
  "isHidden": false,
  "author": {
    "id": "47048654",
    "name": "Dana Dark",
    "reviewsCount": 6,
    "photoUrl": "https://i0.photo.2gis.com/images/profile/....jpg",
    "provider": "2gis"
  },
  "photoUrls": [],
  "officialAnswer": null
}
```

# Actor input Schema

## `urls` (type: `array`):

2GIS firm URLs. Example: https://2gis.kz/almaty/firm/70000001035014267

## `placeIds` (type: `array`):

2GIS firm / branch IDs. Example: 70000001035014267

## `size` (type: `integer`):

Maximum number of reviews to return for each place.

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

Review order from the 2GIS Reviews API.

## `rated` (type: `boolean`):

If true, only reviews with a star rating (API rated=true).

## `locale` (type: `string`):

API locale, e.g. ru_KZ, ru_RU.

## Actor input object example

```json
{
  "placeIds": [
    "70000001035014267"
  ],
  "size": 50,
  "sort": "date_created",
  "rated": true,
  "locale": "ru_KZ"
}
```

# 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 = {
    "placeIds": [
        "70000001035014267"
    ],
    "size": 50,
    "sort": "date_created",
    "rated": true,
    "locale": "ru_KZ"
};

// Run the Actor and wait for it to finish
const run = await client.actor("shareze001/2gis-reviews").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 = {
    "placeIds": ["70000001035014267"],
    "size": 50,
    "sort": "date_created",
    "rated": True,
    "locale": "ru_KZ",
}

# Run the Actor and wait for it to finish
run = client.actor("shareze001/2gis-reviews").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 '{
  "placeIds": [
    "70000001035014267"
  ],
  "size": 50,
  "sort": "date_created",
  "rated": true,
  "locale": "ru_KZ"
}' |
apify call shareze001/2gis-reviews --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shareze001/2gis-reviews"
        }
    }
}
```

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/VlmiygellKjZ9hAEN/builds/YcHMhbGzVXDb3j4c7/openapi.json
