Products/YouTube/Scraper

YouTube Scraper icon

YouTube Scraper REST API and Apify actor

YouTube search data without the Data API quota.

Search terms or video and playlist links in, one row per video out, likes and comments included.

2 USD per 1,000 videos. 5 USD free credits, no card. Credit packs.

GET /v1/youtube/search
curl -G "https://api.vakitek.co.uk/v1/youtube/search" \
  -H "X-API-Key: $VAKITEK_API_KEY" \
  --data-urlencode "query=espresso machine review" \
  --data-urlencode "max_results=10"
data[0], one row per video200 OK
{
  "title": "The Fellow ES1 Espresso Machine Review",
  "channelName": "James Hoffmann",
  "viewCount": 836278,
  "likes": 13000,
  "commentsCount": 1000,
  "publishedAt": "2026-08-13T00:00:00.000Z",
  "duration": "34:16",
  "url": "https://www.youtube.com/watch?v=mAYbmcqPphc",
  ...
}
Real response for the search "espresso machine review", 23 Oct 2026. Trimmed.

What you get

A full row per video

title, viewCount, likes, commentsCount, publishedAt, duration, hashtags, the channel and its subscribers.

Filters that work

date_filter, sort and content type on search terms. In our live tests, week returned only this week's videos.

No Google project

No Data API key, no daily quota units to ration. Public data only.

One bad link does not stop the run

Deleted videos and private playlists return a typed error row; the rest completes.

Not included: transcripts (use YouTube Transcript), downloads, a channel summary row. publishedAt is the day, not the time. Limits and error codes.

One price per video

2 USD/ 1,000 videos

Likes, comments, description and filters included. Empty searches and error rows are free.

10 search terms x 50 videos, every week4 USD / month
2,000 videos x 0.002 USD

One wallet for all 10 YouTube APIs. Credits never expire. Credit packs from 10 USD. Runs on Apify are billed by Apify.

Against streamers/youtube-scraper on Apify

CriterionVakitekstreamers
Price per 1,000 videos2 USD on every plan$4.00 free plan to $2.40 Business
Extra paid eventsNoneDate filter on channels, AI summary, transcription
Date filterWorks in our live testsTwo open issues say it is ignored
Success rate, last 30 days98.9% of 281 results99.1% of runs

Source: its Apify Store page, its issues and the public Apify API, 23 Oct 2026. Our rate counts results, theirs counts runs.

Questions

Does it replace the YouTube Data API v3?

For public video, search and playlist data, yes. It does not do anything that needs a signed-in account: uploads, private videos, analytics.

Can I export search results to CSV or Excel?

Yes. Run the search on Apify and download CSV or Excel, or pull JSON from the API.

I use streamers/youtube-scraper. What breaks if I switch?

Little. Most field names are the same. Differences: date is relative text (use publishedAt), duration is "m:ss", no channel summary row.

Is scraping YouTube legal?

We read public pages only, with no login. YouTube's Terms of Service restrict automated access, so check your use against them and your local law.

Do I need Apify?

No. The REST API is separate: sign up with your email, copy your key, call it. Apify is the no-code option, billed by Apify on your Apify account at the same unit price plus its 0.00005 USD start event per run.

Pull your first search in a minute.

API reference: endpoints, limits and error codes

Base URL https://api.vakitek.co.uk. Send your key in the X-API-Key header. Every response is JSON with data (one row per item), meta (request id, count, latency, paging cursor) and billing (what was charged).

GET /v1/youtube/search

YouTube search results, one row per video.

querySearch termsrequired
max_resultsRows to return1 to 100, default 10
sortrelevance, rating, date, viewsdefault relevance
date_filterhour, today, week, month, yearoptional
content_kindvideo or shortdefault video

GET /v1/youtube/video

One video by id or link.

videoVideo id or linkrequired

Also video_type (video, movie) and length_filter (under4, between420, plus20). Links lists (startUrls) and Shorts or streams per search term are on the Apify actor.

Limits

Rate limit
120 requests per minute per API key (default). Over that you get 429. Need more? Write to support.
Batch
Transcript and Channel email take up to 25 videos or channels per POST. More returns 422.
Page size
Search up to 100 rows, Shorts and channel videos up to 200 rows per call, then follow meta.next_cursor.
Concurrency
No per-key cap. The service runs a limited number of scrapes at the same time and queues the rest, so very parallel clients wait longer. Start with 4 calls in flight.
Latency
1 to 9 seconds per call in our checks on 23 Oct 2026 (one call per endpoint). Set your client timeout to 120 seconds.
Wallet
Checked before each call. When it is empty you get 402 and nothing runs. Runs on Apify are billed by Apify, not from this wallet.
Data
We keep request metadata (route, status, counts, timing) for billing and support. We do not keep a copy of the rows we return.

HTTP status codes

StatusBodyMeaningWhat to do
200{data, meta, billing}Done. Some rows may carry an error code (free).Retry only rows whose code says retry later.
401UNAUTHORIZEDMissing or wrong X-API-Key.Fix the key. Do not retry.
402INSUFFICIENT_CREDITSYour wallet is empty.Buy a pack, then retry.
422INVALID_INPUTA parameter is wrong, or more than 25 items in a batch.Fix the request. Do not retry.
429RATE_LIMITEDOver 120 requests per minute.Wait, then retry with backoff: 1 s, 2 s, 4 s.
502UPSTREAM_ERRORYouTube or our service failed for the whole call. Not billed.Retry once after a few seconds.
Row codeWhat happenedRetryYou pay
video rowA video, Short or stream came back. The only billed row.n/a2 USD / 1,000
NOT_FOUNDThe video, playlist or channel was deleted, is private or never existedno retryfree
NO_RESULTSNothing matches your search and filtersno retryfree
INVALID_INPUTAn option value is invalidno retryfree
PARSE_ERRORYouTube changed its page and we could not read it. We get alerted and fix itno retryfree
BLOCKEDYouTube refused us for now, usually age-restricted content, even after trying every proxy tierretry laterfree
UPSTREAM_ERRORSomething went wrong on YouTube's side or oursretry laterfree
UPSTREAM_UNAVAILABLEOur API was unreachableretry laterfree
TIME_BUDGET_EXCEEDEDThe time budget ran out before this search term or URL finishedretry laterfree
Get a free API key Pricing