Skip to main content
POST
/
api
/
rutube
/
channels
/rutube/channels
curl --request POST \
  --url https://api.anysite.io/api/rutube/channels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "channel": 123,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@rutube_channel",
    "name": "<string>",
    "description": "<string>",
    "url": "<string>",
    "image": "<string>",
    "cover": "<string>",
    "is_official": false,
    "video_count": 123,
    "view_count": 123,
    "subscriber_count": 123,
    "channel_type": "<string>",
    "alias": "<string>",
    "joined_at": 123,
    "updated_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
channel
integer
required

Channel numeric id or channel URL

Examples:

23483497

"https://rutube.ru/channel/23483497/"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@rutube_channel
name
string | null
description
string | null
url
string | null
image
string | null
cover
string | null
is_official
boolean
default:false
video_count
integer | null
view_count
integer | null
subscriber_count
integer | null
channel_type
string | null
alias
string | null
joined_at
integer | null
updated_at
integer | null