How to Use YouTube hashtag search in opencode
Find videos matching a YouTube hashtag, with titles, links, views, duration, and channel details. Use it to explore tagged content around an event, product, or topic.
Prompts to try with YouTube hashtag search in opencode
Copy an example into opencode, or ask in your own words.
Use YouTube hashtag search for #arduino. Save the returned video records in the project's research directory and create a browsable list grouped by channel.
Use YouTube hashtag search for #blender. Build a review queue in this project with video titles, links, channel details, and public views.
Scrape https://example.com/pricing with YouTube hashtag search and turn it into a comparison table. Save the result in ./assets.
Crawl the docs at https://docs.example.com with YouTube hashtag search and summarize each section.
Pull the latest posts from this blog with YouTube hashtag search and list their titles and dates.
How to set up YouTube hashtag search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 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 hashtag 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-hashtag", "input": { "hashtag": "funny" } }'
Then paste one of the prompts above: opencode finds YouTube hashtag search on Spiral, shows the price and runs it.
YouTube hashtag search providers and prices
Spiral runs YouTube hashtag search through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Type | all or shorts | all | Search for all types of content or only shorts |
Every API field of YouTube · Search by Hashtag is on its tool page: open its card above.
What can you do with YouTube hashtag search in opencode?
Build a YouTube research view for a specific topic, populated with returned video records or suggested searches. Your coding agent can turn that material into a reviewable table or topic taxonomy in the project.
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 hashtag search and opencode
YouTube hashtag search in other agents
Questions about YouTube hashtag search in opencode
Can opencode use YouTube hashtag search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run YouTube hashtag search like any built-in tool.
How much does YouTube hashtag search cost in opencode?
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 opencode plan is separate.
Do I need a ScrapeCreators account to use YouTube hashtag search in opencode?
No. Spiral runs YouTube hashtag search on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube hashtag search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while YouTube hashtag search runs?
YouTube hashtag search runs in the background. opencode 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 hashtag search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


