Skip to main content
POST
/
api
/
rutube
/
videos
/
comments
/rutube/videos/comments
curl --request POST \
  --url https://api.anysite.io/api/rutube/videos/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "video": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@rutube_comment",
    "text": "<string>",
    "user": {
      "id": 123,
      "@type": "@rutube_comment_user",
      "name": "<string>",
      "image": "<string>",
      "url": "<string>",
      "is_official": false
    },
    "parent_id": "<string>",
    "like_count": 123,
    "dislike_count": 123,
    "reply_count": 123,
    "is_pinned": false,
    "is_edited": false,
    "created_at": 123,
    "edited_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
video
string
required

Video id (32-character hex) or video URL

Example:

"dbe725fb7e9bd8491916980d4a539970"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@rutube_comment
text
string | null
user
RutubeCommentUser · object
parent_id
string | null
like_count
integer | null
dislike_count
integer | null
reply_count
integer | null
is_pinned
boolean
default:false
is_edited
boolean
default:false
created_at
integer | null
edited_at
integer | null