Using the ReviewLab API, you can:
To start working with the ReviewLab API:
GET https://app.reviewlab.pro/api/v1/widgets/widget/:widgetId/reviews/remoteWhere widgetId is the widget identifier, which is available in the browser address bar on the widget page.
The request returns a list of widget reviews with pagination and filtering support.
Path parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| widgetId | string | Yes | Widget identifier |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | number | Yes | Number of reviews to load. Maximum: 300. Example: ?limit=50 |
| skip | number | No | Number of reviews to skip (used for pagination). Default: 0. Example: ?skip=50&limit=50 |
| type | string | No | Filter reviews by platform. Possible values: doubleGis, yaSprav, avito, zoon, vkontakte, prodoctorov, otzovik, googleMap, yaBusiness |
# First 20 reviews
GET /api/v1/widgets/widget/abc123/reviews/remote?limit=20
# Second page (reviews 20-40)
GET /api/v1/widgets/widget/abc123/reviews/remote?skip=20&limit=20
# Only reviews from Avito
GET /api/v1/widgets/widget/abc123/reviews/remote?limit=20&type=avito[
{
"_id": "string",
"name": "string",
"photo": "string",
"message": "string",
"images": ["string"],
"rating": "number",
"date": "Date",
"src": "string",
"type": "string" // "doubleGis" | "yaSprav" | "avito" | "zoon" | "vkontakte" | "prodoctorov" | "otzovik" | "googleMap" | "yaBusiness"
}
]To load data page by page, use a combination of the skip and limit parameters:
// Page 1
fetch('/api/v1/widgets/widget/abc123/reviews/remote?limit=20&skip=0')
// Page 2
fetch('/api/v1/widgets/widget/abc123/reviews/remote?limit=20&skip=20')
// Page 3
fetch('/api/v1/widgets/widget/abc123/reviews/remote?limit=20&skip=40')Links
Contacts