Regions list
Lists the 2GIS regions with their code, id, country, time zone and centre point, optionally for one country.
Loading / 加载中…
2GIS Business Listings and Reviews API · Reviews & reputation data
The 2GIS API returns business directory data from 2GIS for cities in Russia, Kazakhstan, Central Asia, the Caucasus and the Gulf. Its records describe branches of businesses: where they are, how to reach them, when they open and how customers rate them, together with the reviews customers write and the regions and categories that organise the directory.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Lists the 2GIS regions with their code, id, country, time zone and centre point, optionally for one country.
Returns the full business card of one branch, found by its id or its 2GIS firm link.
Returns one page of customer reviews for a branch, newest or most recently edited first.
Returns the top rubric groups of a region, or the rubrics inside one group, with branch and organisation counts.
Finds businesses in a region or around a point by text and/or rubric, with filters and four sort orders.
2GIS is a local search company that produces digital city maps and guides, bringing a map, a directory of businesses and navigation together in one service. In 2GIS, a region means a large city together with its nearby settlements and satellite towns: an internal 2GIS unit rather than an administrative division.
Businesses in the directory are filed under rubrics, the 2GIS word for categories, which form two levels, broad groups at the top and narrower rubrics nested inside each group. The information panel that opens for a company on the map is called its card, and it brings together the company's contacts, photos and customer reviews.
Each row of post-2gis-search describes one branch of a business:
| Field | What it tells you |
|---|---|
org_id | identifies that branch |
name | the branch's name in one piece |
name_primary, name_extension | the same name split into two parts |
brand_id, brand_name | identify the brand when the branch belongs to a chain |
brand_branch_count | the number of branches that brand has |
address, full_address | the location as text, in lines ready to display |
address_comment | a note that goes with the address |
street, house, postcode, country, region, city, district | the location in parts, which support sorting and grouping |
latitude, longitude | place the branch on a map |
rubrics | the categories under which the branch is filed |
Contact details come as they are published on the listing:
| Field | What it tells you |
|---|---|
phones | a list in which each entry has the number, a display form meant for showing to people and a comment attached to that line |
emails, websites | lists of addresses |
social_links | each social profile with its type, its url and its handle |
other_contacts | the remaining contact entries |
Opening hours sit in hours, keyed by weekday from Monday to Sunday, where each day holds a list of ranges written as HH:MM-HH:MM. is_24x7 shows whether the branch is open around the clock, and hours_comment keeps a note about the hours.
To keep only businesses that publish a website, set body.has_website to true: in a search for кофе in Moscow this reduced 18,426 matches to 5,207.
A row also carries these fields:
| Field | What it tells you |
|---|---|
rating, review_count, rating_count | customer opinion of the branch |
brand_rating, brand_review_count | for a chain, the same picture for the brand as a whole |
photo_count, main_photo_url | describe the photos |
is_advertiser | shows whether the business advertises on 2GIS |
updated_at | tells when the record was last updated |
url | links to the listing itself |
Setting body.has_photos to true keeps only businesses with photos, which in the same Moscow search for кофе left 9,660 of the 18,426 matches.
post-2gis-detail returns a single object, org, that holds every field a search row has and adds four more:
attributes is a list whose entries carry group, name and tag; together they describe details such as the average bill, the cuisine, the accepted payment methods and the amenitiesdescription holds the text that describes the businessnearest_metro lists the closest metro stations, each as a station_id with distance_m, the distance in metrespurpose completes the recordBecause the card already repeats the search fields, one call to this operation is enough for a branch whose id you hold, without a search beforehand.
Each entry in reviews is one customer review:
| Field | What it tells you |
|---|---|
review_id | the id of the review |
rating | the star rating |
text | the text of the review |
date_created, date_edited | the dates on which the review was created and edited |
author_name, author_id, author_reviews_count, author_photo | describe the person who wrote the review |
likes_count, comments_count | count the reactions to the review |
photos | the pictures attached to the review |
business_reply, business_reply_date | the business's answer and the date of that answer, when it has answered |
org_id | ties the review to its branch |
is_verified is returned with each review as well.
Ordering by newest follows the date on which a review was written, while edited puts the most recently edited reviews first, which suits a job that looks for reviews changed since its last run.
post-2gis-cities describes the regions of 2GIS, 207 of them on 2026-11-03. Each entry in cities has these fields:
| Field | What it tells you |
|---|---|
region_id, code | the region's id and its short code |
name | the region's name in the requested language |
country_code | the code of the region's country |
domain, url | the region's domain and URL |
locale | the region's own locale |
time_zone | the region's time zone |
latitude, longitude | the centre point of the region |
post-2gis-rubrics describes the category tree of one region. Each entry in rubrics has a rubric_id, a name, an alias, a type and a parent_id, plus two counts:
branch_count for the branches that the rubric holds in that regionorg_count for the organisations that the rubric holds in that regionThese two counts show how large a category is in a city before you spend a search on it.
{
"body": {
"city": "moscow",
"query": "кофейня",
"has_photos": true,
"sort": "rating"
}
}POST /api/v1/twogis/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Run a search first: each row carries an org_id, and that value is what the business card and the review calls take. If you already have a 2GIS firm link such as https://2gis.ru/moscow/firm/70000001113359188, the number after /firm/ is the same id. The business card call also accepts the whole link in url instead of org_id, while the review call needs the id itself.
city takes a region's code, such as moscow, spb or novosibirsk, its numeric region_id, or its Russian name, such as Москва, and the regions list supplies all three. When a search has neither city nor ll, it runs in Moscow, and the rubric tree is also the Moscow one when city is left out.
Yes. Send country to the regions list with an ISO country code such as kz, uz, kg, ae or sa to get only the regions of that country, or ru for the Russian ones. The code of a region then goes into city on search and on the rubric tree; codes outside Russia include almaty, astana, tashkent, dubai and riyadh. A search in Almaty or Dubai is built the same way as one in Moscow, with a different city value.
Send locale. On search, the business card and the rubric tree it sets the language of names and rubric labels, using codes such as en_AE, ar_AE, ru_KZ, kk_KZ or uz_UZ; without it they use the region's own locale. On the regions list it sets the language of region names, and Russian, ru_RU, applies when it is left out.
Call the rubric tree for your city without parent_id to get its top groups, about 28 of them, call it again with one group's rubric_id as parent_id, and pass the rubric_id you want to search as rubric_id. It works alone or together with query. For example, rubric 162 stands for coffee shops in Russia. The rubrics of a search row also carry ids, so a business you already know shows which rubric covers similar places.
Add open_at to the search as a weekday and a local time joined by a comma, with days written mon to sun and the time as HH:MM, for example fri,23:30. Only businesses open at that moment are returned. In a search for кофе in Moscow, Monday at 23:30 reduced 18,426 matches to 775. The filter combines with the photo and website filters and with any sort order.
Send ll as longitude, a comma and latitude, in that order, for example 37.6173,55.7558; with a point, city can be left out. Add radius in metres to keep only the branches inside that circle; radius works only together with ll. Each row returns latitude and longitude, so you can show the distance from the point yourself.
Send sort with the search. rating puts the highest rated businesses first, name orders them alphabetically, and distance lists the businesses nearest to the point in ll first, so it needs ll as well. When sort is left out, relevance applies, which keeps the default 2GIS order.