Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Social Media

How to Use YouTube signed playback URL in Windsurf

Returns a signed playback URL for a selected video format and its expiration information. Use it for authorized playback checks; links usually expire after about six hours and may fail from a different network.

Prompts to try with YouTube signed playback URL in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use YouTube signed playback URL for https://www.youtube.com/watch?v=aqz-KE-bpKQ and a format confirmed as available, then add expiration handling to this project's playback diagnostic.

YouTube signed playback URLWindsurf
Try asking
  • Use YouTube signed playback URL to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from YouTube signed playback URL and tell me what changed since last week.

  • Check YouTube signed playback URL and summarize what you find in three bullet points.

  • Pull the newest data from YouTube signed playback URL and give me the result as a table.

How to set up YouTube signed playback URL in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run YouTube signed playback URL

    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-signed-stream-url",
        "input": {
          "itag": 18
        }
      }'

Then paste one of the prompts above: Windsurf finds YouTube signed playback URL on Spiral, shows the price and runs it.

YouTube signed playback URL providers and prices

Spiral runs YouTube signed playback URL through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
YouTube Web V2 · Get signed video stream URL
tikhub/youtube-web-v2-get-signed-stream-url

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Itaga whole number

Format identifier itag (obtained from get_video_streams endpoint)

Every API field of YouTube Web V2 · Get signed video stream URL is on its tool page: open its card above.

What can you do with YouTube signed playback URL in Windsurf?

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.

Check subtitle timing on authorized media

Retrieve existing captions and a signed playback link for media you are authorized to inspect. Compare subtitle timing with playback and flag passages that need editorial review.

Test playback across an owned video series

Review related-video results for links to your organization's videos, then obtain signed playback links for the selected formats. Use the selected videos as a playback regression checklist.

Review a multilingual publication

Compare an organization's community announcement and audience questions with its available caption languages. For authorized media, inspect playback alongside the captions to flag terminology and subtitle issues.

Check an owned campaign announcement

Inspect the video attachment referenced by your organization's community post and obtain its signed playback link. Confirm that the announced asset matches the video your team intended to publish.

Questions about YouTube signed playback URL in Windsurf

Can Windsurf use YouTube signed playback URL?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run YouTube signed playback URL like any built-in tool.

How much does YouTube signed playback URL cost in Windsurf?

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need a TikHub account to use YouTube signed playback URL in Windsurf?

No. Spiral runs YouTube signed playback URL 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 signed playback URL in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while YouTube signed playback URL runs?

YouTube signed playback URL runs in the background. Windsurf 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.

Get started

Start using YouTube signed playback URL in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options