Skip to main content
POST
/
api
/
otzovik
/
reviews
/
comments
/otzovik/reviews/comments
curl --request POST \
  --url https://api.anysite.io/api/otzovik/reviews/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "review": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@otzovik_comment",
    "text": "<string>",
    "published_at": 123,
    "author": {
      "alias": "<string>",
      "@type": "@otzovik_review_author",
      "karma": 123,
      "location": "<string>",
      "review_count": 123,
      "image": "<string>",
      "url": "<string>"
    },
    "parent_id": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
review
string
required

Review id ('15810837') or full review page URL

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|/?review_\d+\.html|\d+)$
Example:

"15810837"

count
integer
required

Number of comments to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@otzovik_comment
text
string | null
published_at
integer | null
author
OtzovikReviewAuthor · object
parent_id
integer | null