POST

API health

24h health
Normal
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Last 24 hours

Last 30 days

Search VK videos by keyword for title, duration, publish date, views, likes, reposts and the owning user or community. It searches videos only, not wall posts, groups or profiles, and does not download the media.

Send POST https://api.everyinfra.com/api/v1/social with platform set to vk and action set to video_search. Price $16 per 1,000 requests ($0.016 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

#
Please help me write a data collection script with the EveryInfra VK Video search endpoint (vk/video_search).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to vk and action to video_search, and put the parameters inside params.
- Required parameters:
  - keyword: Specifies the search query for the video_search action. This parameter only searches videos; it does not perform general text searches across wall posts, groups, or user profiles.
- Optional parameters:
  - limit: The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 10)
- Returns a list of records. Main fields of each record: id, url, title, text, media_type, duration_sec, duration_seconds, posted_at, view_count, like_count, repost_count, cover_image_url; 14 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=vk.
- Example request body:
{
  "platform": "vk",
  "action": "video_search",
  "params": {
    "keyword": "уроки гитары"
  }
}
- Price: $16 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesvkPlatform identifier, fixed value.
actionbodystringYesvideo_searchCapability identifier, fixed value.
keywordbody.paramsstringYes-Specifies the search query for the video_search action. This parameter only searches videos; it does not perform general text searches across wall posts, groups, or user profiles.
limitbody.paramsinteger (1–50)No10The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "vk",
  "action": "video_search",
  "params": {
    "keyword": "уроки гитары"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
Captured November 7, 2026 at 14:47 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
json
{  "id": "req_…",  "platform": "vk",  "action": "video_search",  "results": [    {      "id": "•••",      "url": "https://vk.com/video-55568446_456241316",      "title": "Стрыкало - Наше лето 🎶 кавер на гитаре и аккорды",      "text": "Аккорды: https://disk.yandex.ru/i/5an1tLBsaEugQw\nШкола про гитару: https://pro-gitaru.ru/startyv\nМой Boosty тут: https://boosty.to/pro-gitaru\nНаш Телеграм канал: https://t.me/pro_gitaru\nКанал в MAX: https://max.ru/progitaru\n============================================\nОсновной ка…",      "media_type": "video",      "duration_sec": 144,      "posted_at": "2026-11-07T15:00:00+00:00",      "view_count": 10,      "like_count": 3,      "repost_count": 0,      "cover_image_url": "https://iv.okcdn.ru/getVideoPreview?id=20878830144069&idx=0&type=39&tkn=X48yCkHmO3ysQCnQws28tAnP1-Y&fn=vid_w&scl=4",      "owner_id": "•••",      "owner_url": "https://vk.com/•••",      "platform": "vk",      "duration_seconds": 144    },    {      "id": "•••",      "url": "https://vk.com/video-55568446_456241315",      "title": "Абдулов - Мир без любви 🎶 кавер на гитаре и аккорды",      "text": "Текст и аккорды: https://pro-gitaru.ru/?p=93435\nШкола про гитару: https://pro-gitaru.ru/startyv\nМой Boosty тут: https://boosty.to/pro-gitaru\nНаш Телеграм канал: https://t.me/pro_gitaru\nКанал в MAX: https://max.ru/progitaru\n============================================\nОсновной кан…",      "media_type": "video",      "duration_sec": 164,      "posted_at": "2026-11-06T13:00:00+00:00",      "view_count": 111,      "like_count": 4,      "repost_count": 0,      "cover_image_url": "https://iv.okcdn.ru/getVideoPreview?id=20878743177797&idx=0&type=39&tkn=mers2oD6RWs-8qm1UwnbUNdDofg&fn=vid_w&scl=4",      "owner_id": "•••",      "owner_url": "https://vk.com/•••",      "platform": "vk",      "duration_seconds": 164    }  ],  "count": 10,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
media_typeKeeps the platform's own meaning
duration_secKeeps the platform's own meaning
duration_secondsDuration in seconds. null for content that is not video or audio.
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
view_countViews or plays. null means not disclosed, not 0.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
repost_countReposts (as distinct from quote posts). null means not disclosed.
cover_image_urlKeeps the platform's own meaning
owner_idKeeps the platform's own meaning
owner_urlKeeps the platform's own meaning
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Official references

#

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • VK Official Schema: Video Duration and Owning Entity ↗

    The official VK video object distinguishes video ID, `owner_id`, and uploading user, while defining duration in seconds. This explains video fields; it does not imply that this endpoint supports other capabilities in the official schema.

    Checked 2026-09-04

Google Analytics needs consent. Privacy