Skip to main content
POST
/
api
/
vk
/
videos
/vk/videos
curl --request POST \
  --url https://api.anysite.io/api/vk/videos \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "video": "<string>",
  "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
video
string
required

VK video in {owner_id}_{video_id} form or a video URL

Minimum string length: 1
Examples:

"-22822305_456242998"

"https://vk.com/video-22822305_456242998"

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