# Search Bilibili videos for keyword research

**Use case:** 

Search a Chinese or English keyword and collect up to 20 public video records, ranked by relevance. The preset uses 机械键盘 (mechanical keyboards). Export titles, links, creators and available engagement counts to JSON or CSV for review. No Bilibili account cookies needed; an Apify account is required. $2 per 1,000 results, including platform usage. Fields may be missing.

## Input

```json
{
  "searchKeywords": [
    "机械键盘"
  ],
  "maxResultsPerKeyword": 20,
  "searchOrder": "totalrank",
  "enrichSearchResults": false,
  "includePopular": false,
  "maxPopular": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "title": {
    "label": "Title"
  },
  "url": {
    "label": "Url"
  },
  "authorName": {
    "label": "Author name"
  },
  "views": {
    "label": "Views"
  },
  "likes": {
    "label": "Likes"
  },
  "danmaku": {
    "label": "Danmaku"
  },
  "favorites": {
    "label": "Favorites"
  },
  "comments": {
    "label": "Comments"
  },
  "publishedAt": {
    "label": "Published at"
  },
  "name": {
    "label": "Name"
  },
  "followers": {
    "label": "Followers"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bilibili Scraper 哔哩哔哩 B站 - Videos, Trending, UP主 (No Login) Actor is ready to run with the inputs already set for "Search Bilibili videos for keyword research". [Sign up or log in](https://console.apify.com/create-task-from-example/8qca8r6bkhSPQX29G) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Search Bilibili videos for keyword research" task

The Bilibili Scraper 哔哩哔哩 B站 - Videos, Trending, UP主 (No Login) Actor will start running based on the input automatically. You can also change all the input fields, like search keywords, max videos per keyword, and more, to match your specific use case.

### 3. Receive the "Search Bilibili videos for keyword research" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, title, url, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Search Bilibili videos for keyword research" task via API](https://apify.com/zlexang/bilibili-scraper-no-login.md).

## FAQ

### What does the keyword preset search for?

The Bilibili keyword research task searches 机械键盘 (mechanical keyboards) by relevance, with up to 20 results. Replace the keyword to research another topic; titles and names stay in their original language.

### Which video fields can I export?

The Bilibili keyword research task returns titles, video links, creator IDs and names, publication dates, and available views, likes and favorites. Export results as JSON or CSV. Some fields may be missing.

### Why are coins or shares missing?

The Bilibili keyword research task leaves coins and shares null in search-only mode. Missing values are not zero. Detail enrichment is off in this preset; enabling it adds requests and has not been tested in this example.

### Do I need Bilibili login cookies?

The Bilibili keyword research task needs no Bilibili account login or account cookies from you. The Actor manages guest cookies internally. Running it requires an Apify account; Bilibili may still rate-limit requests.

### How much does the 20-result preset cost?

The Bilibili keyword research task costs $0.002 per returned video, including platform usage. Exactly 20 results cost $0.04. Saved run settings cap charges at $0.10 and use a 120-second timeout; users can change these settings.

### Does this collect video or comment content?

The Bilibili keyword research task collects public metadata, not video downloads, subtitles, comment text or full creator upload histories. Comments and danmaku are counts. Public availability does not grant reuse or AI-training rights.

### Is this a complete market or creator ranking?

The Bilibili keyword research task is a limited search sample, not a complete market dataset or influencer ranking. One author-run example returned 20 unique videos; that result does not establish reliability for all queries.

## About this Actor

This example demonstrates how to use [Bilibili Scraper 哔哩哔哩 B站 - Videos, Trending, UP主 (No Login)](https://apify.com/zlexang/bilibili-scraper-no-login.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zlexang/bilibili-scraper-no-login.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zlexang/bilibili-scraper-no-login.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
