映
Rutube API
5 endpointsSocial & VideoRUsocial:read5 real examples
Returns Rutube video details, HLS stream playlists, channel videos, comments and the video categories.
View as Markdown| GET | /rutube/video | A public Rutube video by its URL or id: title, description, duration, views, channel and dates. |
| GET | /rutube/streams | The HLS playlist of a public Rutube video and its renditions, from the highest to the lowest resolution. |
| GET | /rutube/channelVideos | The public videos of one Rutube channel, newest first, 20 per page. |
| GET | /rutube/comments | Comments on one public Rutube video, 20 per page, in the order Rutube shows them. |
| GET | /rutube/categories | The video categories Rutube sorts its catalog into. |
video
GET
/v1/rutube/videoA public Rutube video by its URL or id: title, description, duration, views, channel and dates.
scope social:read1 unitcached 10 min
Parameters
urlstring required | Rutube video URL (https://rutube.ru/video/<id>/) or the 32-character video id. e.g. https://rutube.ru/video/2239a49871ae52770b4fd7093c46bb7f/ |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
createdAt | string |
description | string |
durationSeconds | integer (int64) |
embedUrl | string |
id | string |
isAdult | boolean |
isLive | boolean |
likeCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/rutube/video?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rutube/video?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rutube/video?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "23577112", "name": "Шахматы Олег Соломаха", "url": "", "username": "" }, "commentCount": 0, "createdAt": "", "description": "Подписывайтесь на мои другие соц.сети:\nТЕЛЕГРАМ ► https://t.me/solochess\nВК ВИДЕО ► https://vkvideo.ru/@solochessvk\nДЗЕН ► https://dzen.ru/s…", "durationSeconds": 1212, "embedUrl": "https://rutube.ru/play/embed/2239a49871ae52770b4fd7093c46bb7f", "id": "2239a49871ae52770b4fd7093c46bb7f", "isAdult": false, "isLive": false, "likeCount": 0, "publishedAt": "", "thumbnails": [ { "height": 0, "url": "https://pic.rtbcdn.ru/video/2025-06-17/bc/a7/bca7f33d2a8ccefe35d4ff6332c06d4d.jpg", "width": 0 } ], "title": "Жертва и странное решение соперника. Шахматы рапид", "url": "https://rutube.ru/video/2239a49871ae52770b4fd7093c46bb7f/", "viewCount": 2200 }, "meta": { "cached": false, "endpoint": "video", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "rutube", "requestId": "req_2Xb9kQ…", "units": 1 } }
streams
GET
/v1/rutube/streamsThe HLS playlist of a public Rutube video and its renditions, from the highest to the lowest resolution.
scope social:read1 unitcached 5 min
Parameters
urlstring required | Rutube video URL (https://rutube.ru/video/<id>/) or the 32-character video id. e.g. https://rutube.ru/video/2239a49871ae52770b4fd7093c46bb7f/ |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
hlsUrl | string |
id | string |
variants | Variant[] |
bandwidth | integer (int64) |
height | integer (int64) |
url | string |
width | integer (int64) |
curl "https://api.hoshime.com/v1/rutube/streams?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rutube/streams?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rutube/streams?url=https%3A%2F%2Frutube.ru%2Fvideo%2F2239a49871ae52770b4fd7093c46bb7f%2F", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "hlsUrl": "https://bl.rutube.ru/route/2239a49871ae52770b4fd7093c46bb7f.m3u8?guids=e6128a96-56cf-4570-b4d3-523cde83e759_1920x1080_1061684_D1212167_B8609…", "id": "2239a49871ae52770b4fd7093c46bb7f", "variants": [ { "bandwidth": 1061000, "height": 1080, "url": "https://river-4-456.rtbcdn.ru/hls-vod/0mBMi2wwB2cM5O_RLRWQBw/1794592972/2217/0x5000c500e7502747/e6128a9656cf4570b4d3523cde83e759.mp4.m3u8?i=…", "width": 1920 }, { "bandwidth": 1061000, "height": 1080, "url": "https://river-1.rutube.ru/hls-vod/0mBMi2wwB2cM5O_RLRWQBw/1794592972/2217/0x5000c500e7502747/e6128a9656cf4570b4d3523cde83e759.mp4.m3u8?i=1920…", "width": 1920 } ] }, "meta": { "cached": false, "endpoint": "streams", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "rutube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelVideos
GET
/v1/rutube/channelVideosThe public videos of one Rutube channel, newest first, 20 per page.
scope social:read1 unitcached 10 minpaginated
Parameters
idstring required | Numeric channel id, or the rutube.ru/video/person/<id>/ URL. e.g. 23577112 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
createdAt | string |
description | string |
durationSeconds | integer (int64) |
embedUrl | string |
id | string |
isAdult | boolean |
isLive | boolean |
likeCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/rutube/channelVideos?id=23577112" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rutube/channelVideos?id=23577112", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rutube/channelVideos?id=23577112", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "23577112", "name": "Шахматы Олег Соломаха", "url": "", "username": "" }, "commentCount": 0, "createdAt": "", "description": "В рубрике Шахматы блиц вы увидите мои блиц партии, сыгранные на разных шахматных сайтах в интернете по 3 или 5 минут. \nПодписывайтесь на мои…", "durationSeconds": 581, "embedUrl": "https://rutube.ru/play/embed/342068d0fca31953b3169f495492e7fc", "id": "342068d0fca31953b3169f495492e7fc", "isAdult": false, "isLive": false, "likeCount": 0, "publishedAt": "", "thumbnails": [ { "height": 0, "url": "https://pic.rtbcdn.ru/video/2026-11-06/6f/80/6f8082b5b60e0b51697ed2910a57bcbe.jpg", "width": 0 } ], "title": "Шахматы блиц. Игорь Немцев🆚Олег Соломаха. Поединок высшей категории", "url": "https://rutube.ru/video/342068d0fca31953b3169f495492e7fc/", "viewCount": 116 }, { "author": { "avatarUrl": "", "id": "23577112", "name": "Шахматы Олег Соломаха", "url": "", "username": "" }, "commentCount": 0, "createdAt": "", "description": "Подписывайтесь на мои другие соц.сети: \n✈️ТЕЛЕГРАМ ► https://t.me/solochess \nⓂ️MAX ► https://max.ru/channel_solo170885 \n🅱️ВК ВИДЕО ► http…", "durationSeconds": 1447, "embedUrl": "https://rutube.ru/play/embed/0c54b9e6a6a092792a606b7bae59e21a", "id": "0c54b9e6a6a092792a606b7bae59e21a", "isAdult": false, "isLive": false, "likeCount": 0, "publishedAt": "", "thumbnails": [ { "height": 0, "url": "https://pic.rtbcdn.ru/video/2026-10-24/99/8c/998c43f9ee1e1d2e4a5cbda6d2ff0198.jpg", "width": 0 } ], "title": "Шахматы. Атака в шахматной партии. Часть 7 Перевес на решающем участке борьбы", "url": "https://rutube.ru/video/0c54b9e6a6a092792a606b7bae59e21a/", "viewCount": 87 } ], "meta": { "cached": false, "endpoint": "channelVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rutube", "requestId": "req_2Xb9kQ…", "units": 1 } }
comments
GET
/v1/rutube/commentsComments on one public Rutube video, 20 per page, in the order Rutube shows them.
scope social:read1 unitcached 10 minpaginated
Parameters
idstring required | Video id or rutube.ru video URL. e.g. 2239a49871ae52770b4fd7093c46bb7f |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
parentId | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/rutube/comments?id=2239a49871ae52770b4fd7093c46bb7f" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rutube/comments?id=2239a49871ae52770b4fd7093c46bb7f", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rutube/comments?id=2239a49871ae52770b4fd7093c46bb7f", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "43092287", "name": "channel43092287", "url": "", "username": "" }, "createdAt": "2026-06-22T05:55:48Z", "id": "1782107748781054761", "likeCount": 0, "parentId": "", "replyCount": 0, "text": "Какой первый разряд,вы офигели? Сила не меньше мастера у Соломахи." }, { "author": { "avatarUrl": "", "id": "58843049", "name": "Наша с дочей жизнь!!! Маргарита", "url": "", "username": "" }, "createdAt": "2026-06-21T15:54:38Z", "id": "1782057278475554059", "likeCount": 0, "parentId": "", "replyCount": 0, "text": "Наш привет" } ], "meta": { "cached": false, "endpoint": "comments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rutube", "requestId": "req_2Xb9kQ…", "units": 1 } }
categories
GET
/v1/rutube/categoriesThe video categories Rutube sorts its catalog into.
scope social:read1 unitcached 24 hpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
id | string |
name | string |
shortName | string |
url | string |
curl "https://api.hoshime.com/v1/rutube/categories" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/rutube/categories", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/rutube/categories", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "78", "name": "Обзоры и распаковки товаров", "shortName": "goods", "url": "https://rutube.ru/video/category/78/" }, { "id": "73", "name": "Лайфстайл", "shortName": "lifestyle", "url": "https://rutube.ru/video/category/73/" } ], "meta": { "cached": false, "endpoint": "categories", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "rutube", "requestId": "req_2Xb9kQ…", "units": 1 } }