Skip to main content
POST
/
api
/
rutube
/
videos
/rutube/videos
curl --request POST \
  --url https://api.anysite.io/api/rutube/videos \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "video": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@rutube_video",
    "title": "<string>",
    "description": "<string>",
    "url": "<string>",
    "image": "<string>",
    "preview_url": "<string>",
    "author": {
      "id": 123,
      "@type": "@rutube_author",
      "name": "<string>",
      "image": "<string>",
      "url": "<string>",
      "is_official": false,
      "subscriber_count": 123
    },
    "category": {
      "id": 123,
      "@type": "@rutube_category",
      "name": "<string>",
      "alias": "<string>",
      "url": "<string>"
    },
    "pg_rating": {
      "@type": "@rutube_pg_rating",
      "age": 123,
      "image": "<string>"
    },
    "duration": 123,
    "view_count": 123,
    "track_id": 123,
    "embed_url": "<string>",
    "origin_type": "<string>",
    "tags": [],
    "restricted_countries": [],
    "is_adult": false,
    "is_official": false,
    "is_licensed": true,
    "is_livestream": false,
    "is_on_air": false,
    "is_audio": false,
    "is_paid": false,
    "is_serial": false,
    "created_at": 123,
    "published_at": 123,
    "updated_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

Examples:

"dbe725fb7e9bd8491916980d4a539970"

"https://rutube.ru/video/dbe725fb7e9bd8491916980d4a539970/"

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_video
title
string | null
description
string | null
url
string | null
image
string | null
preview_url
string | null
author
RutubeAuthor · object
category
RutubeCategory · object
pg_rating
RutubePgRating · object
duration
integer | null
view_count
integer | null
track_id
integer | null
embed_url
string | null
origin_type
string | null
tags
RutubeTag · object[]
restricted_countries
string[]
is_adult
boolean
default:false
is_official
boolean
default:false
is_licensed
boolean | null
is_livestream
boolean
default:false
is_on_air
boolean
default:false
is_audio
boolean
default:false
is_paid
boolean
default:false
is_serial
boolean
default:false
created_at
integer | null
published_at
integer | null
updated_at
integer | null