How to Use YouTube keyword search in n8n
Find YouTube videos, Shorts, channels, playlists, and live streams by keyword, with video titles, links, views, duration, and channel details. Use it to inspect published results for a topic or product.
Prompts to try with YouTube keyword search in n8n
Copy an example into n8n, or ask in your own words.
Each morning, use YouTube keyword search for 'NASA Artemis'. Report video links absent from the previous collection, with titles and channel names.
Every Monday, use YouTube keyword search for 'Sony Alpha tutorial'. Prepare a digest of returned titles and channels, highlighting links absent from the last digest.
Every Monday at 9am: scrape https://example.com/pricing with YouTube keyword search and turn it into a comparison table.
Crawl the docs at https://docs.example.com with YouTube keyword search and summarize each section.
Pull the latest posts from this blog with YouTube keyword search and list their titles and dates.
How to set up YouTube keyword search in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run YouTube keyword search in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds YouTube keyword search, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run YouTube keyword search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/youtube-search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: n8n finds YouTube keyword search on Spiral, shows the price and runs it.
YouTube keyword search providers and prices
Spiral runs YouTube keyword search through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Type | videos, shorts, channels, or playlists | Type of content to search for | |
| Sort by | relevance or popular | Sort by | |
| Duration | under_3_min, between_3_and_20_min, or over_20_min | Duration of the video. Only applies to videos (not shorts). | |
| Upload date | today, this_week, this_month, or this_year | Upload date |
Every API field of YouTube · Search is on its tool page: open its card above.
What can you do with YouTube keyword search in n8n?
Maintain a recurring YouTube research digest for a product, event, or educational topic. A scheduled agent can compare the returned video records or suggested phrases with its previous collection and highlight additions.
Plan a tutorial brief
Research Blender tutorials through suggested searches, keyword results, or #blender videos. Turn the returned wording and video titles into a shortlist of tutorial topics to review.
Research product video topics
Explore Sony camera topics through search suggestions, product keyword results, or #sonyalpha videos. Organize the returned material into reviews, demonstrations, and tutorials for an editorial brief.
Prepare an event research brief
Explore CES through suggested search phrases, keyword results, or #ces videos. Build a review queue of product announcements and event coverage using the returned text and links where available.
Build a topic taxonomy
Use returned searches or video titles about Arduino to propose categories such as beginner projects, sensors, and troubleshooting. Review the actual returned wording before adding categories to a content library.
Compare video formats
Inspect titles, durations, views, and channel details for running-shoe keyword results or #runningshoes videos. Build a comparison of the demonstrations, reviews, and guides represented in the returned results.
Find public creator channels to review
Collect channels attached to returned Raspberry Pi videos, or inspect channel suggestions when YouTube supplies them. Produce a shortlist for a person to review for educational relevance.
More on YouTube keyword search and n8n
Overview
YouTube keyword search in other agents
Questions about YouTube keyword search in n8n
Can n8n use YouTube keyword search?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run YouTube keyword search like any built-in tool.
How much does YouTube keyword search cost in n8n?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need a ScrapeCreators account to use YouTube keyword search in n8n?
You need no ScrapeCreators account. n8n uses one Spiral API key for every tool, and Spiral runs YouTube keyword search on its own ScrapeCreators account.
How long does it take to set up YouTube keyword search in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while YouTube keyword search runs?
YouTube keyword search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
Can YouTube discovery find private videos?
Private videos do not appear in YouTube's search results. These discovery tools cannot provide a complete inventory of a channel's private uploads.
Does one response contain every matching YouTube video?
Keyword and hashtag searches return result pages with continuation tokens for more results. Autocomplete returns suggested searches and channel matches, so it is not a video inventory.
What information identifies a video result?
Keyword and hashtag video results include a title, URL, thumbnail, and channel details. They also include public views, publication information, and duration.
Where does YouTube look for hashtags?
YouTube's hashtag results include videos carrying the hashtag in either the title or description. A hashtag does not have to appear visibly in the title to match.
Are autocomplete matches always video titles?
YouTube's dropdown can suggest queries or channels. Channel suggestions can include a public channel ID, handle, name, and thumbnail.
Start using YouTube keyword search in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


