Skip to main content
POST
/
api
/
twogis
/
places
/
reviews
/twogis/places/reviews
curl --request POST \
  --url https://api.anysite.io/api/twogis/places/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "place": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "date_edited"
}
'
[
  {
    "id": "<string>",
    "@type": "@twogis_review",
    "text": "<string>",
    "rating": 123,
    "provider": "<string>",
    "created_at": "<string>",
    "edited_at": "<string>",
    "like_count": 123,
    "comment_count": 123,
    "images": [],
    "user": {
      "id": "<string>",
      "@type": "@twogis_review_user",
      "name": "<string>",
      "review_count": 123,
      "image": "<string>",
      "url": "<string>"
    },
    "official_answer": {
      "@type": "@twogis_official_answer",
      "id": "<string>",
      "text": "<string>",
      "org_name": "<string>",
      "created_at": "<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 a place URL or the place endpoint)

Minimum string length: 1
Example:

"70000001035840049"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:date_edited

Review ordering

Available options:
date_edited,
date_created

Response

Successful Response

id
string
required
@type
string
default:@twogis_review
text
string | null
rating
integer | null
provider
string | null
created_at
string | null
edited_at
string | null
like_count
integer | null
comment_count
integer | null
images
string[]
user
TwogisReviewUser · object
official_answer
TwogisOfficialAnswer · object