Reviews
Get review and website records for a company.
View as MarkdownReturns a paginated list of review websites and URLs associated with the specified company.
Endpoint
GET /api/v1/companies/:company_id/reviewParameters
| Parameter | Type | In | Description |
|---|---|---|---|
company_id | integer | path | The unique identifier of the company. |
page | integer | body | Page number (default: 1). |
limit | integer | body | Records per page (default: 100). |
Code Examples
Get reviews
import requests
url = 'https://api.statsnet.co/api/v1/companies/12345/review'
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
response = requests.get(url, headers=headers).json()
print(response)Response
Success response
{
"ok": true,
"websites": [
{
"url": "https://2gis.kz/company/12345",
"source": "2gis"
}
],
"total": 1,
"pagination_total": 1,
"pagination_offset": 0
}Error Handling
Error response
{
"ok": false,
"error": {
"code": 403,
"message": "Forbidden"
}
}