How to Use YouTube raw Shorts search results in Cursor
Returns Shorts search results in YouTube's raw response structure, with pagination information. Use it when you need to inspect the original response or build your own parser.
Prompts to try with YouTube raw Shorts search results in Cursor
Copy an example into Cursor, or ask in your own words.
Use YouTube raw Shorts search results for 'Blender geometry nodes' and inspect the response before adding a parser to this project's research importer.
Use YouTube raw Shorts search results to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from YouTube raw Shorts search results and tell me what changed since last week.
Check YouTube raw Shorts search results and summarize what you find in three bullet points.
Pull the newest data from YouTube raw Shorts search results and give me the result as a table.
How to set up YouTube raw Shorts search results in Cursor
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.
Use the Spiral skill
- Send Cursor 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 raw Shorts search results
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": "tikhub", "model": "tikhub/youtube-web-v2-get-shorts-search", "input": { "search_query": "Python编程" } }'
Then paste one of the prompts above: Cursor finds YouTube raw Shorts search results on Spiral, shows the price and runs it.
YouTube raw Shorts search results providers and prices
Spiral runs YouTube raw Shorts search results through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Cursor for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| YouTubeSearchSortAPI | relevance, upload_date, view_count, or rating | YouTube搜索排序方式 - API显示版本 | |
| YouTubeUploadTimeAPI | hour, today, week, month, or year | YouTube上传时间过滤 - API显示版本 | |
| Filter mixed content | on or off | on | Filter mixed content (long videos), default True |
Every API field of YouTube Web V2 · Shorts search (raw data, recommend V2) is on its tool page: open its card above.
What can you do with YouTube raw Shorts search results in Cursor?
Build a YouTube research view that turns retrieved text, content links, and public engagement data into reviewable records. A coding agent can adapt the project's parser and presentation to the specific YouTube data you choose.
Plan a tutorial from audience questions
Combine autocomplete phrases, Shorts examples, community announcements, related videos, and comment discussions to choose a tutorial topic and outline the questions it should answer.
Review a public product launch
Compare a brand's community announcement, launch-video captions, audience questions, Shorts coverage, related videos, and autocomplete phrases. Separate what the brand announced from what viewers asked about.
Draft a product education FAQ
Collect recurring questions from comments and replies, compare them with tutorial captions and community posts, and use search suggestions and Shorts examples to identify gaps in the explanation.
Build a course viewing list
Find lesson candidates through Shorts searches, autocomplete, and related videos. Review available captions and educators' community posts to write a viewing list with a clear purpose for each selection.
More on YouTube raw Shorts search results and Cursor
Overview
YouTube raw Shorts search results in other agents
Questions about YouTube raw Shorts search results in Cursor
Can Cursor use YouTube raw Shorts search results?
Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run YouTube raw Shorts search results like any built-in tool.
How much does YouTube raw Shorts search results cost in Cursor?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.
Do I need a TikHub account to use YouTube raw Shorts search results in Cursor?
No. Spiral runs YouTube raw Shorts search results on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube raw Shorts search results in Cursor?
About two minutes: add the hosted server, then sign in.
Does Cursor wait while YouTube raw Shorts search results runs?
YouTube raw Shorts search results runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.
Can public YouTube search reveal private videos?
Private videos do not appear in YouTube search results. Unlisted videos generally stay out of search, with an exception when someone adds one to a public playlist.
How fresh are YouTube engagement counts?
YouTube says metrics may take time to appear during the first few hours after publication. Counts can also slow down, freeze, or change while YouTube verifies engagement.
Why can YouTube recommendations differ between viewers?
YouTube uses viewing habits and other signals to personalize recommendations. For Up Next, the video currently being watched is the main recommendation signal.
Does language or region affect YouTube's suggested search terms?
Yes. TikHub documents different autocomplete suggestions by language and region, typically returning 10–20 phrases for a query.
Are YouTube's automatic captions accurate enough to quote?
YouTube warns that automatic captions can misrepresent speech because of accents, mispronunciations, dialects, or background noise. Check the relevant passage before using it as a direct quote.
Start using YouTube raw Shorts search results in Cursor
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cursor:
set up https://spiral.ai/SKILL.md


