Skip to main content
POST
/
api
/
vk
/
videos
/
search
/vk/videos/search
curl --request POST \
  --url https://api.anysite.io/api/vk/videos/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "VkVideo",
    "owner_id": 123,
    "video_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "created_at": 123,
    "duration": 123,
    "width": 123,
    "height": 123,
    "image": "<string>",
    "view_count": 123,
    "like_count": 123,
    "comment_count": 123,
    "repost_count": 123,
    "player_url": "<string>",
    "video_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Video search query

Minimum string length: 1
Example:

"funny cats"

count
integer
required

Max number of results to return

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:VkVideo
owner_id
integer | null
video_id
string | null
name
string | null
description
string | null
created_at
integer | null
duration
integer | null
width
integer | null
height
integer | null
image
string | null
view_count
integer | null
like_count
integer | null
comment_count
integer | null
repost_count
integer | null
player_url
string | null
video_url
string | null