Products/YouTube/YouTube Scraper/Integration
YouTube Scraper Integration
Automate YouTube scraping in n8n
n8n's template library lists 383 results for "youtube" and 29 for "apify youtube", so YouTube data is already a common n8n use case. There is no dedicated node for this API yet, so an HTTP Request node is the way in, the same pattern used for the YouTube Transcript API.
2 USD / 1,000 per video returned, with likes, comment count and description included, no per-run minimum.
Copy-paste example
curl "https://api.vakitek.co.uk/v1/youtube/search?query=espresso+machine+review" \ -H "X-API-Key: $VAKITEK_API_KEY"
Step by step
- Create a credential. Add a Header Auth credential named vakitekApi holding your API key from the Vakitek dashboard.
- Add the HTTP Request node. Set the method to GET, the URL to https://api.vakitek.co.uk/v1/youtube/search (or /v1/youtube/video for a single URL), and attach the vakitekApi credential.
- Map your query. Set the query parameter to an expression from an earlier node, such as a Google Sheets row of search terms.
- Read the response. data is an array of video items; a NOT_FOUND or NO_RESULTS row means that search term or URL had nothing to return, not a workflow failure.
- Schedule it. Add n8n's own Schedule Trigger node to re-run the search on an interval for ongoing brand or competitor monitoring.
Your options compared
| Option | Trade-offs |
|---|---|
| Vakitek HTTP Request node (this guide) | No dedicated n8n node exists yet, so this is one HTTP Request node pointed at the API, returning likes, comment count and description in every row with no separate add-on billing. |
| Official YouTube Data API v3 node or credential | n8n does not ship a built-in YouTube Data API node either, so this path would mean building a Google Cloud project, OAuth and quota management yourself. |
| DIY scraping library in a Code node | Possible, but it moves proxy handling and YouTube's bot checks into your own n8n instance, inheriting the same cloud IP block risk documented for the transcript library's community node. |
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The HTTP Request node returns 401. | The X-API-Key header is missing, wrong, or the key was revoked. | Check the vakitekApi credential against the key shown in the Vakitek dashboard. Missing, unknown and revoked keys all return the same 401 UNAUTHORIZED body. |
| The node returns 200 but the workflow treats it as empty. | The search, playlist or channel matched nothing, or the input was not a valid YouTube reference. | Branch on the item's error field (for example NO_RESULTS or INVALID_INPUT) with an IF node instead of assuming data is always populated. |
| A scheduled search starts failing with 429. | The per-key rate limit, 120 requests a minute by default, was exceeded. | Space out the Schedule Trigger's interval or add a Wait node. 429 responses carry error RATE_LIMITED. |
| A query with an invalid filter value fails. | An option value, such as an unrecognized dateFilter, is invalid. | The API returns INVALID_INPUT for that row; check the value against the documented filter options before sending it. |
Questions
Is there a native n8n node for this API?
Not yet. Use the HTTP Request node with your API key until a dedicated node ships.
Can I schedule a recurring pull?
Yes, with n8n's own Schedule Trigger node calling the API on the interval you set.
What happens when a search returns nothing?
You get a typed NO_RESULTS row instead of an empty crash, so the rest of a multi-query workflow still completes.
Try YouTube Scraper with 5 USD of free credit.
Sources
- n8n template counts for "youtube" and "apify youtube": https://api.n8n.io
