Skip to the content

Scraper API

2GIS

twogis.placeAvailable

2GIS place

What its page states: name, address, coordinates, categories, rating, attributes, opening hours, and its telephone numbers, websites, email addresses, messengers and social pages.

Give it a place's id on 2GIS, or the address of its page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
35 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/twogis.place/runs

{
"input": {
"place": "70000001067436787"
}
}

sent, and answered

a record of the run35 fields

{
place_id: "70000001067436787"
type: "branch"
name: "Orto, cafe"
short_name: "Orto"
description: "cafe"
url: "https://2gis.ru/dubai/firm/70000001067436787"
address: "395, Jumeirah road"
address_comment: "G Floor"
building_name: null
… 26 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 35 fields are set down here; the whole record is below.

2gis.ru
The page 2GIS place reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Complete a business record
Add the phones, website, email, messengers and social networks 2GIS lists for a place to the record you hold, with its address and pin.
Check your own locations
Read your branches on 2GIS and compare hours, phones and address with what you hold. removed flags a place taken out of the directory.
Size a chain
branch_count and organization_id say how many branches an organisation has on 2GIS, with the rating and number of reviews at each branch you read.

What you send

A place's id on 2GIS, or the address of its page. It is the one input.

placestring Required
The place's id on 2GIS, e.g. 70000001034739765 (the place_id of a twogis.search record), or the address of its page (https://2gis.ru/moscow/firm/70000001034739765).

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/twogis.place/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"place":"70000001067436787"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("twogis.place", {"place": "70000001067436787"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("twogis.place", { place: "70000001067436787" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "twogis.place", map[string]any{"place": "70000001067436787"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("twogis.place", Map.of("place", "70000001067436787"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run twogis.place --input-json '{"place":"70000001067436787"}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

What its page states: name, address, coordinates, categories, rating, attributes, opening hours, and its telephone numbers, websites, email addresses, messengers and social pages. A record has 35 fields. One we could not read is null, never an empty string or a zero.

A record twogis.place returned
{
  "place_id": "70000001067436787",
  "type": "branch",
  "name": "Orto, cafe",
  "short_name": "Orto",
  "description": "cafe",
  "url": "https://2gis.ru/dubai/firm/70000001067436787",
  "address": "395, Jumeirah road",
  "address_comment": "G Floor",
  "building_name": null,
  "postal_code": null,
  "district": "Jumeirah 2",
  "city": "Dubai",
  "region": "Dubai Emirate",
  "country": "UAE",
  "latitude": 25.19497,
  "longitude": 55.235842,
  "categories": [
    "Coffee shop"
  ],
  "rating": 5,
  "rating_count": 15,
  "review_count": 4,
  "attributes": [
    "GreatList",
    "Average bill 40 AED",
    "Breakfast menu"
  ],
  "hours": [
    {
      "day": "Mon",
      "opens": "07:00",
      "closes": "24:00"
    },
    {
      "day": "Tue",
      "opens": "07:00",
      "closes": "24:00"
    }
  ],
  "open_24_7": null,
  "utc_offset_minutes": 240,
  "organization_id": "70000001067436786",
  "branch_count": 1,
  "photo_count": 1,
  "image": "https://i3.photo.2gis.com/main/branch/99/70000001067436787/common",
  "promoted": false,
  "removed": false,
  "contacts": [],
  "phones": [],
  "website": null,
  "email": null,
  "fetched_at": "2026-11-19T18:07:41.629757Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: attributes: 9 items, the first 3 shown; hours: 7 items, the first 2 shown.

Values withheld: contacts: the example keeps no contact details; phones: the example keeps no contact details.

The fields of a record

place_idstring
2GIS's id of the place.
typestring
What the place is: branch for an organisation's branch, or building, street, adm_div (a district or a town), station, attraction and the like.
namestring
The name as the page writes it, e.g. Orto, cafe.
short_namestring or null
The name without what follows the comma, e.g. Orto.
descriptionstring or null
What the name is followed by, e.g. cafe.
urlstring
The place's page on 2GIS.
addressstring or null
The street address, e.g. 395, Jumeirah road.
address_commentstring or null
What the page adds to the address, e.g. the floor or the office.
building_namestring or null
The name of the building the place is in, when the page gives one.
postal_codestring or null
The postal code.
districtstring or null
The district of the city.
citystring or null
The city or town.
regionstring or null
The region the city is in.
countrystring or null
The country, in the page's language.
latitudenumber or null
The latitude of the place's pin, in decimal degrees.
longitudenumber or null
The longitude of that pin.
categorieslist of strings
The categories 2GIS lists the place in, the main one first.
ratingnumber or null
The average rating, 1 to 5. Null for a place nobody has rated.
rating_countinteger or null
How many ratings the average is of.
review_countinteger or null
How many of those ratings come with a written review.
attributeslist of strings
What the page lists the place as offering or having, e.g. Wi-Fi, Average bill 40 AED.
hourslist of objects
The opening hours, a row per day and period. Empty when the page lists none.
open_24_7boolean or null
True when the page says the place is open around the clock.
utc_offset_minutesinteger or null
The place's time zone as minutes ahead of UTC.
organization_idstring or null
2GIS's id of the organisation the branch belongs to.
branch_countinteger or null
How many branches that organisation has on 2GIS.
photo_countinteger or null
How many photos the page has of the place.
imagestring or null
The place's main photo.
promotedboolean or null
True when the place is shown as an advertiser.
removedboolean
True when 2GIS says the place was removed from its directory: it may have closed for good or for a while.
contactslist of objects
Every contact the page lists, in its order: telephone numbers, websites, email addresses, messengers and social networks.Each holds type, value, text, comment.
phoneslist of strings
The telephone numbers among the contacts, in international form.
websitestring or null
The first website among the contacts.
emailstring or null
The first email address among the contacts.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one place. Reviews, photos and price lists are not returned.
  • The contacts are the ones a business lists on its public 2GIS page.
  • A place 2GIS has removed from its directory is still returned while its page exists, marked as removed.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does 2GIS place return?

What its page states: name, address, coordinates, categories, rating, attributes, opening hours, and its telephone numbers, websites, email addresses, messengers and social pages. A record has 35 fields, among them place_id, type, name, short_name, description and url. A value that could not be read is null, never an empty string or a zero.

What do I send?

A place's id on 2GIS, or the address of its page. The input place is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

One run reads one place. Reviews, photos and price lists are not returned. The contacts are the ones a business lists on its public 2GIS page. A place 2GIS has removed from its directory is still returned while its page exists, marked as removed.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id twogis.place and the same input. It costs what the same API call costs.

2GIS

2GIS's public search results and place pages: businesses and places in Russia, Kazakhstan, the Emirates and the other countries it maps.

  • 2GIS search

    twogis.search

    A search and a city, as 2GIS names the city in its page addresses. The places on a page of the results: name, address, district, coordinates, categories, rating and how many ratings it is of, attributes, opening hours, and the organisation's number of branches.

2GIS on the line-up

Where
5 countries

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.