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

Grok Build · Social Media

How to Use Bilibili video playback URLs in Grok Build

Returns temporary DASH media URLs for a video part. Use it for an authorized playback review, fetching a new URL when the previous one expires.

Prompts to try with Bilibili video playback URLs in Grok Build

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

Use Bilibili video playback URLs for BV1SfK9zPEL3 and add a temporary playback-link view for an authorized reviewer in this project.

Bilibili video playback URLsGrok Build
Try asking
  • Use Bilibili video playback URLs to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Bilibili video playback URLs and tell me what changed since last week.

  • Check Bilibili video playback URLs and summarize what you find in three bullet points.

  • Pull the newest data from Bilibili video playback URLs and give me the result as a table.

How to set up Bilibili video playback URLs in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 Bilibili video playback URLs

    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": "alexandria",
        "model": "bilibili-com/videos/video_streams",
        "input": {
          "bvid": "<bvid>"
        }
      }'

Then paste one of the prompts above: Grok Build finds Bilibili video playback URLs on Spiral, shows the price and runs it.

Bilibili video playback URLs providers and prices

Spiral runs Bilibili video playback URLs through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSocial Media
Bilibili · Video streams
bilibili-com/videos/video_streams

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cida number from 1

Part id from video_detail pages[].cid; defaults to the first part.

Every API field of Bilibili · Video streams is on its tool page: open its card above.

What can you do with Bilibili video playback URLs in Grok Build?

Build a research panel for Bilibili music releases or Chinese-language tutorials. Have the coding agent turn retrieved Bilibili results into searchable records and review screens in your project.

Inspect permitted playback for a prepared shortlist

Verify the metadata for selected video IDs, inspect each video's parts, and request temporary playback URLs for an authorized viewing session.

Plan a multipart tutorial review

Find a public educator's uploads, inspect the parts belonging to a selected tutorial, and request playback URLs for the parts an authorized reviewer needs to watch.

Prepare an authorized translation review

Find a candidate video, check the public creator profile and video description for attribution, and obtain temporary playback URLs for a permitted language review.

Prepare a permitted screening shortlist

Review a creator's uploads and verify a shortlist of video records. Read viewer reactions to help frame the discussion, then obtain temporary playback URLs for an authorized preview.

Questions about Bilibili video playback URLs in Grok Build

Can Grok Build use Bilibili video playback URLs?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Bilibili video playback URLs like any built-in tool.

How much does Bilibili video playback URLs cost in Grok Build?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.

Do I need an Alexandria account to use Bilibili video playback URLs in Grok Build?

No. Spiral runs Bilibili video playback URLs on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Bilibili video playback URLs in Grok Build?

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

Does Grok Build wait while Bilibili video playback URLs runs?

Bilibili video playback URLs runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

What Bilibili content does this data cover?

The documented coverage is public bilibili.com video data: uploader profiles and archives, video metadata, comments and temporary DASH playback links.

Can Bilibili search return every matching video?

Bilibili serves at most 1,000 hits for a video query. A broad search cannot establish the full number of matching videos across the site.

Which languages can Bilibili autocomplete help with?

The web autocomplete documentation includes Chinese, English and Japanese, plus suggestions from full Chinese pinyin. It describes a maximum of 10 candidate keywords.

Do video records distinguish publication time from retrieval time?

The documented video detail response includes a publication timestamp and a separate observation timestamp. The publication date describes the upload, while the observation timestamp identifies when its data was observed.

Get started

Start using Bilibili video playback URLs in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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