[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Bilibili search suggestions](https://spiral.ai/integrations/muse-code/bilibili-search-suggestions)

# How to Use Bilibili search suggestions in Muse Code

Returns Bilibili autocomplete keywords for a search phrase. Use it to find the wording people search for before looking up videos.

|  |  |
| --- | --- |
| Model | Bilibili search suggestions |
| Available through | Alexandria |
| Category | Social Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bilibili search suggestions in Muse Code

- Use Bilibili search suggestions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Bilibili search suggestions and tell me what changed since last week.
- Check Bilibili search suggestions and summarize what you find in three bullet points.
- Pull the newest data from Bilibili search suggestions and give me the result as a table.
- Check Bilibili search suggestions every morning and tell me only when something changed.

## How to set up Bilibili search suggestions in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Bilibili search suggestions**: One request; the result comes back by polling or a webhook.

```bash
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/suggest",
    "input": {
      "term": "<term>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Bilibili search suggestions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Bilibili search suggestions tools and prices

- [Bilibili · Suggest](https://spiral.ai/tools/alexandria/bilibili-com/videos/suggest) (Alexandria): $0.00873 per call.

## What can you do with Bilibili search suggestions in Muse Code?

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.

### Prepare a music release brief

Expand a song's search wording, identify the public artist account, inspect its profile and uploads, and find related videos. Verify the selected video records and summarize recurring questions in their comments.

### Check attribution in a music catalog

Try original-language song names, resolve creator accounts, and compare their profiles and upload archives with keyword matches. Verify a saved list of video IDs before assigning creator credit in a catalog.

### Curate a Chinese-language tutorial collection

Expand topic keywords, find public educational creators, and review their profiles and upload catalogs. Check selected videos for titles, duration and publication dates, then use viewer questions to identify prerequisites worth explaining.

### Compare product announcements with public reviews

Expand a product's Chinese search terms, identify business and public reviewer accounts, and inspect their profiles and uploads. Verify announcement and review videos, compare their engagement counts, and summarize questions appearing in the comments.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Bilibili search suggestions in other agents

- [Amp](https://spiral.ai/integrations/amp/bilibili-search-suggestions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bilibili-search-suggestions)
- [Claude](https://spiral.ai/integrations/claude-desktop/bilibili-search-suggestions)
- [Claude Code](https://spiral.ai/integrations/claude-code/bilibili-search-suggestions)
- [Cline](https://spiral.ai/integrations/cline/bilibili-search-suggestions)
- [Codex](https://spiral.ai/integrations/codex/bilibili-search-suggestions)
- [Cursor](https://spiral.ai/integrations/cursor/bilibili-search-suggestions)
- [Devin](https://spiral.ai/integrations/devin/bilibili-search-suggestions)
- [dots](https://spiral.ai/integrations/dots/bilibili-search-suggestions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bilibili-search-suggestions)
- [Gemini](https://spiral.ai/integrations/gemini/bilibili-search-suggestions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bilibili-search-suggestions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bilibili-search-suggestions)
- [goose](https://spiral.ai/integrations/goose/bilibili-search-suggestions)
- [Grok](https://spiral.ai/integrations/grok/bilibili-search-suggestions)
- [Grok Build](https://spiral.ai/integrations/grok-build/bilibili-search-suggestions)
- [Hermes](https://spiral.ai/integrations/hermes/bilibili-search-suggestions)
- [Instinct](https://spiral.ai/integrations/instinct/bilibili-search-suggestions)
- [Manus](https://spiral.ai/integrations/manus/bilibili-search-suggestions)
- [Muse](https://spiral.ai/integrations/muse/bilibili-search-suggestions)
- [n8n](https://spiral.ai/integrations/n8n/bilibili-search-suggestions)
- [Notion](https://spiral.ai/integrations/notion/bilibili-search-suggestions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bilibili-search-suggestions)
- [opencode](https://spiral.ai/integrations/opencode/bilibili-search-suggestions)
- [Perplexity](https://spiral.ai/integrations/perplexity/bilibili-search-suggestions)
- [Raycast](https://spiral.ai/integrations/raycast/bilibili-search-suggestions)
- [VS Code](https://spiral.ai/integrations/vscode/bilibili-search-suggestions)
- [Windsurf](https://spiral.ai/integrations/windsurf/bilibili-search-suggestions)
- [Zapier](https://spiral.ai/integrations/zapier/bilibili-search-suggestions)

## More Muse Code guides

- [Bilibili creator uploads](https://spiral.ai/integrations/muse-code/bilibili-creator-uploads)
- [Bilibili video batch lookup](https://spiral.ai/integrations/muse-code/bilibili-video-batch-lookup)
- [Bilibili creator search](https://spiral.ai/integrations/muse-code/bilibili-creator-search)
- [Bilibili video comments](https://spiral.ai/integrations/muse-code/bilibili-video-comments)
- [Bilibili creator profile](https://spiral.ai/integrations/muse-code/bilibili-creator-profile)
- [Bilibili video details](https://spiral.ai/integrations/muse-code/bilibili-video-details)

## Questions about Bilibili search suggestions in Muse Code

**Can Muse Code use Bilibili search suggestions?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Bilibili search suggestions like any built-in tool.

**How much does Bilibili search suggestions cost in Muse Code?**

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

**Do I need an Alexandria account to use Bilibili search suggestions in Muse Code?**

No. Spiral runs Bilibili search suggestions 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 search suggestions in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Bilibili search suggestions runs?**

Bilibili search suggestions runs in the background. Muse Code 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.

