---
title: "How do I fix Bilibili API error -412 or -352 anti-bot blocks? | FeedMCP"
description: "Bilibili errors -412 (request blocked) and -352 (risk check failed) are triggered by missing WBI signatures, datacenter IPs or missing buvid3 cookies. Feed"
canonical: "https://feedmcp.com/answers/bilibili-error-412-and-352/"
---
<p class="crumbs"><a href="/answers/">Answers</a></p>

# How do I fix Bilibili API error -412 or -352 anti-bot blocks?

Bilibili errors **`-412`** (request blocked) and **`-352`** (risk check failed) are triggered by missing WBI signatures, datacenter IPs or missing `buvid3` cookies. **FeedMCP** handles all Bilibili access server-side at **$0.002/call** (search **$0.003**), with zero charge on failures.

Works cleanly from cloud hosts (Cloudflare Workers, AWS, Vercel) and AI agents without datacenter IP blocks. See [Bilibili APIs](/apis/bilibili/).

## Endpoints and pricing

| Endpoint | ID | Price | What it returns |
| --- | --- | --- | --- |
| [Bilibili video](/apis/bilibili/videos/get/) | `bilibili.videos.get` | $0.002 | One video: title, description, cover, length, uploader, plays, likes, coins, favorites, danmaku and comments |
| [Bilibili video comments](/apis/bilibili/videos/comments/list/) | `bilibili.videos.comments.list` | $0.002 | Comments under a video: text, time, commenter, likes and reply count, page by page |
| [Bilibili video search](/apis/bilibili/videos/search/) | `bilibili.videos.search` | $0.003 | Search videos by keyword, ordered by relevance, most played or newest |
| [Bilibili uploader videos](/apis/bilibili/users/videos/list/) | `bilibili.users.videos.list` | $0.002 | An uploader's videos, newest first, page by page |

Pay per call with failed calls free. Verify live prices for free via `GET https://api.feedmcp.com/v1/catalog/prices` and cap per-call spend with `X-Max-Price`.

## How to do it

### Option 1: Ask your AI via MCP

1. Sign up in the [console](/console/keys/) ($0.10 free trial credit, no card) and create an API key with a spend cap.
2. Add `https://api.feedmcp.com/mcp` to Claude, Cursor, Codex or Cherry Studio via the [MCP setup page](/mcp/) or [Integrations](/integrations/).
3. Ask your AI:

> Fetch view, danmaku and comment counts for this Bilibili creator's latest 10 videos

### Option 2: Call the HTTP API directly

```bash
curl "https://api.feedmcp.com/v1/bilibili/videos/get" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY" \
  -H "X-Max-Price: 0.002"
```

## Key facts at a glance

| Item | Detail |
| --- | --- |
| Starting price | $0.002 and up (pay per call, no subscription) |
| Failed calls | Free (`charged: false`) |
| Spend guardrails | Per-key spend cap + `X-Max-Price` + `Idempotency-Key` |
| Data scope | Public data only; no platform account login required |
| Access | Remote MCP (`Streamable HTTP`) + REST API + OpenAPI |

## Questions

### How do I fix Bilibili API error -412 or -352 anti-bot blocks?

Bilibili errors **`-412`** (request blocked) and **`-352`** (risk check failed) are triggered by missing WBI signatures, datacenter IPs or missing `buvid3` cookies. **FeedMCP** handles all Bilibili access server-side at **$0.002/call** (search **$0.003**), with zero charge on failures.

### How much do these endpoints cost? Are failed calls billed?

Endpoints on this page start at $0.002 per call with no monthly subscription and non-expiring balances. Bad parameters, timeouts, upstream errors and missing objects are free. New accounts receive $0.10 trial credit, no card required.

### Do I need my own platform account or cookies?

No. FeedMCP reads public data only; calls never go through your personal accounts.

## Related answers

- [How to use TikHub-style Douyin, Xiaohongshu and TikTok endpoints in Claude or Cursor via a hosted MCP server?](/answers/tikhub-mcp-server-and-unified-api/)
- [How can AI read Bilibili videos, comments, creator uploads and trending charts?](/answers/can-ai-read-bilibili/)
- [How do I export Bilibili video comments and nested replies?](/answers/export-bilibili-comments/)
- [MediaCrawler keeps breaking or requiring login—what is a reliable API alternative?](/answers/mediacrawler-alternative/)
- [How do I fix Xiaohongshu error 461 or missing xsec_token when fetching notes?](/answers/xiaohongshu-error-461-xsec-token/)
- [What are Douyin a_bogus, msToken and sec_uid, and how do I avoid signing them?](/answers/douyin-a-bogus-mstoken-sec-uid/)

---

HTML version: https://feedmcp.com/answers/bilibili-error-412-and-352/
