Skip to main content
POST
/
api
/
twogis
/
places
/twogis/places
curl --request POST \
  --url https://api.anysite.io/api/twogis/places \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "place": "<string>",
  "timeout": 300,
  "region_id": "<string>"
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "@twogis_place",
    "type": "<string>",
    "address": "<string>",
    "address_comment": "<string>",
    "latitude": 123,
    "longitude": 123,
    "region_id": 123,
    "city": "<string>",
    "district": "<string>",
    "rating": 123,
    "review_count": 123,
    "rating_count": 123,
    "org_rating": 123,
    "org_review_count": 123,
    "provider_ratings": [],
    "phone": "<string>",
    "website": "<string>",
    "email": "<string>",
    "socials": {},
    "ad_text": "<string>",
    "schedule": [],
    "rubrics": [],
    "primary_rubric": "<string>",
    "attributes": [],
    "org": {
      "id": "<string>",
      "@type": "@twogis_org",
      "name": "<string>",
      "branch_count": 123
    },
    "nearest_metro": [],
    "nearest_stations": [],
    "nearest_parking": [],
    "has_photos": false,
    "created_at": "<string>",
    "updated_at": "<string>",
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
place
string
required

Numeric 2GIS firm/branch id (from the place URL 2gis.ru/.../firm/{id} or from search)

Minimum string length: 1
Example:

"70000001035840049"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
region_id
string | null

2GIS region id for output localization

Response

Successful Response

id
string
required
name
string
required
@type
string
default:@twogis_place
type
string | null
address
string | null
address_comment
string | null
latitude
number | null
longitude
number | null
region_id
integer | null
city
string | null
district
string | null
rating
number | null
review_count
integer | null
rating_count
integer | null
org_rating
number | null
org_review_count
integer | null
provider_ratings
TwogisProviderRating · object[]
phone
string | null
website
string | null
email
string | null
socials
Socials · object
ad_text
string | null
schedule
TwogisScheduleDay · object[]
rubrics
TwogisRubric · object[]
primary_rubric
string | null
attributes
TwogisAttribute · object[]
org
TwogisOrg · object
nearest_metro
TwogisNearbyStation · object[]
nearest_stations
TwogisNearbyStation · object[]
nearest_parking
TwogisNearbyStation · object[]
has_photos
boolean
default:false
created_at
string | null
updated_at
string | null
url
string | null