Skip to main content
POST
/
api
/
rutube
/
shows
/
search
/rutube/shows/search
curl --request POST \
  --url https://api.anysite.io/api/rutube/shows/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@rutube_show",
    "name": "<string>",
    "original_title": "<string>",
    "description": "<string>",
    "url": "<string>",
    "image": "<string>",
    "type": "<string>",
    "year": "<string>",
    "countries": [],
    "genres": [],
    "seasons_count": 123,
    "subscriber_count": 123,
    "age_restriction": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query

Minimum string length: 1
Example:

"кухня"

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
integer
required
@type
string
default:@rutube_show
name
string | null
original_title
string | null
description
string | null
url
string | null
image
string | null
type
string | null
year
string | null
countries
string[]
genres
string[]
seasons_count
integer | null
subscriber_count
integer | null
age_restriction
string | null