ToolSocket / Tools / Bilibili
Bilibili (B站) data for AI agents
ToolSocket gives Claude, ChatGPT, Cursor, Codex and any MCP or REST client live access to Bilibili (B站) — videos, uploaders, comments, danmaku and rankings — through 63 ready-made tools. No Bilibili account, scraper or API key of your own is needed: connect https://toolsocket.top/mcp once and pay per call (most calls $0.0015).
ToolSocket 让 Claude、ChatGPT、Cursor、Codex 等任何支持 MCP 或 REST 的 AI 智能体,直接读取B站的实时数据:视频、UP 主、评论、弹幕和排行榜数据,共 63 个工具。不用注册B站账号、不用写爬虫,接入一个地址即可,按次计费(大多 $0.0015/次)。
- 63 tools
- Most calls $0.0015
- MCP + REST
- Failed calls refunded
What you can get
- Trending & rankings · 热榜与排行Get hot search data (web) · Get creator rankings (huahuo) · Get X-Huo ranking industries (huahuo)7 tools
- Search · 搜索Get general search data (web) · search all (app) · search by type (app)5 tools
- Posts & videos · 作品与内容Get single video data (web) · Get single video data V2 (web) · Get single video data V3 (web)20 tools
- Users & creators · 用户与创作者Get user homepage video data (web) · Get user homepage video data V2 (web) · Get user collection folders (web)18 tools
- Comments · 评论Get comments on the specified video (web) · Get reply to the specified comment (web) · Get Video Danmaku (web)5 tools
- Live · 直播Get information of specified live room (web) · Get live video data of specified room (web) · Get a list of all live areas (web)8 tools
- Shop & products · 电商与商品Get commerce category options (huahuo) · Get live-commerce categories (huahuo)2 tools
Connect in one step
Claude.ai, ChatGPT, Cursor, VS Code: add the MCP URL https://toolsocket.top/mcp and sign in. Claude Code:
claude mcp add --transport http toolsocket https://toolsocket.top/mcp
Any agent that reads skills (Claude Code, Codex, OpenClaw…): tell it set up https://toolsocket.top/SKILL.md. Setup for every client is in the docs.
Example
「B 站搜「AI 编程」,播放量最高的视频是哪些?」
Or call the tool directly over REST:
curl -s -X POST https://toolsocket.top/v1/run \
-H "Authorization: Bearer $TOOLSOCKET_API_KEY" \
-H "content-type: application/json" \
-d '{"tool":"bilibili#web/fetch_hot_search","input":{"limit":10},"wait":30}'Guides
All Bilibili tools (63)
| Tool | ID | Price |
|---|---|---|
| Bilibili · Get single video data (web)哔哩哔哩 · 获取单个视频详情信息(web) Get single video data | bilibili#web/fetch_one_video | $0.0015 / call |
| Bilibili · Get single video data V2 (web)哔哩哔哩 · 获取单个视频详情信息V2(web) Get single video data V2 | bilibili#web/fetch_one_video_v2 | $0.003 / call |
| Bilibili · Get single video data V3 (web)哔哩哔哩 · 获取单个视频详情信息V3(web) Get single video data V3 | bilibili#web/fetch_one_video_v3 | $0.0015 / call |
| Bilibili · Get single video detail (web)哔哩哔哩 · 获取单个视频详情(web) Get single video detail | bilibili#web/fetch_video_detail | $0.0015 / call |
| Bilibili · Get single video play info (web)哔哩哔哩 · 获取单个视频播放信息(web) Get single video play info | bilibili#web/fetch_video_play_info | $0.0015 / call |
| Bilibili · Get video subtitle info (web)哔哩哔哩 · 获取视频字幕信息(web) Get video subtitle info | bilibili#web/fetch_video_subtitle | $0.0015 / call |
| Bilibili · Get hot search data (web)哔哩哔哩 · 获取热门搜索信息(web) Get hot search data | bilibili#web/fetch_hot_search | $0.0015 / call |
| Bilibili · Get general search data (web)哔哩哔哩 · 获取综合搜索信息(web) Get general search data | bilibili#web/fetch_general_search | $0.0015 / call |
| Bilibili · Get video playurl (web)哔哩哔哩 · 获取视频流地址(web) Get video playurl | bilibili#web/fetch_video_playurl | $0.0015 / call |
| Bilibili · Get user homepage video data (web)哔哩哔哩 · 获取用户主页作品数据(web) Get user post video data | bilibili#web/fetch_user_post_videos | $0.0015 / call |
| Bilibili · Get user homepage video data V2 (web)哔哩哔哩 · 获取用户主页作品数据V2(web) Get user post video data, optionally searching by keyword within that user's works. | bilibili#web/fetch_user_post_videos_v2 | $0.0015 / call |
| Bilibili · Get user collection folders (web)哔哩哔哩 · 获取用户所有收藏夹信息(web) Get user collection folders | bilibili#web/fetch_collect_folders | $0.0015 / call |
| Bilibili · Gets video data from a collection folder (web)哔哩哔哩 · 获取指定收藏夹内视频数据(web) Gets video data from a collection folder | bilibili#web/fetch_user_collection_videos | $0.0015 / call |
| Bilibili · Get information of specified user (web)哔哩哔哩 · 获取指定用户的信息(web) Get information of specified user | bilibili#web/fetch_user_profile | $0.0015 / call |
| Bilibili · Get user relation stat (following and followers) (web)哔哩哔哩 · 获取用户关系状态统计(web) Get user relation stat (following count and follower count) | bilibili#web/fetch_user_relation_stat | $0.0015 / call |
| Bilibili · Get comprehensive popular video information (web)哔哩哔哩 · 获取综合热门视频信息(web) Get comprehensive popular video information | bilibili#web/fetch_com_popular | $0.0015 / call |
| Bilibili · Get comments on the specified video (web)哔哩哔哩 · 获取指定视频的评论(web) Get comments on the specified video | bilibili#web/fetch_video_comments | $0.0015 / call |
| Bilibili · Get reply to the specified comment (web)哔哩哔哩 · 获取视频下指定评论的回复(web) Get reply to the specified comment | bilibili#web/fetch_comment_reply | $0.0015 / call |
| Bilibili · Get dynamic information of specified user (web)哔哩哔哩 · 获取指定用户动态(web) Get dynamic information of specified user | bilibili#web/fetch_user_dynamic | $0.0015 / call |
| Bilibili · Get dynamic detail (web)哔哩哔哩 · 获取动态详情(web) Get detail information of specified dynamic (v1 API) | bilibili#web/fetch_dynamic_detail | $0.0015 / call |
| Bilibili · Get dynamic detail v2 (web)哔哩哔哩 · 获取动态详情v2(web) Get detail information of specified dynamic (v2 API) | bilibili#web/fetch_dynamic_detail_v2 | $0.0015 / call |
| Bilibili · Get Video Danmaku (web)哔哩哔哩 · 获取视频实时弹幕(web) Get Video Danmaku | bilibili#web/fetch_video_danmaku | $0.0015 / call |
| Bilibili · Get information of specified live room (web)哔哩哔哩 · 获取指定直播间信息(web) Get information of specified live room | bilibili#web/fetch_live_room_detail | $0.0015 / call |
| Bilibili · Get live video data of specified room (web)哔哩哔哩 · 获取直播间视频流(web) Get live video data of specified room | bilibili#web/fetch_live_videos | $0.0015 / call |
| Bilibili · Get a list of all live areas (web)哔哩哔哩 · 获取所有直播分区列表(web) Get a list of all live areas | bilibili#web/fetch_all_live_areas | $0.0015 / call |
| Bilibili · Generate aid by bvid (web)哔哩哔哩 · 通过bv号获得视频aid号(web) Generate aid by bvid | bilibili#web/bv_to_aid | $0.0015 / call |
| Bilibili · Extract user ID (web)哔哩哔哩 · 提取用户ID(web) Extract user ID | bilibili#web/fetch_get_user_id | $0.0015 / call |
| Bilibili · Get single video data (app)哔哩哔哩 · 获取单个视频详情信息(app) Get single video data (APP API) | bilibili#app/fetch_one_video | $0.0015 / call |
| Bilibili · Get video comments (app)哔哩哔哩 · 获取视频评论列表(app) Get video comments | bilibili#app/fetch_video_comments | $0.0015 / call |
| Bilibili · Get reply detail (app)哔哩哔哩 · 获取二级评论回复(app) Get reply detail (second level comments) | bilibili#app/fetch_reply_detail | $0.0015 / call |
| Bilibili · Get user videos (app)哔哩哔哩 · 获取用户投稿视频(app) Get user uploaded videos | bilibili#app/fetch_user_videos | $0.0015 / call |
| Bilibili · Get user info (app)哔哩哔哩 · 获取用户信息(app) Get user info | bilibili#app/fetch_user_info | $0.0015 / call |
| Bilibili · Get home feed (app)哔哩哔哩 · 获取主页推荐视频流(app) Get home feed (recommended videos) | bilibili#app/fetch_home_feed | $0.0015 / call |
| Bilibili · Get popular feed (app)哔哩哔哩 · 获取热门推荐(app) Get popular feed | bilibili#app/fetch_popular_feed | $0.0015 / call |
| Bilibili · search all (app)哔哩哔哩 · 综合搜索(app) search all (returns all types of search results) | bilibili#app/fetch_search_all | $0.0015 / call |
| Bilibili · search by type (app)哔哩哔哩 · 分类搜索(app) search by type | bilibili#app/fetch_search_by_type | $0.0015 / call |
| Bilibili · Get cinema tab (app)哔哩哔哩 · 获取影视推荐(app) Get cinema tab (movies/TV recommendations) | bilibili#app/fetch_cinema_tab | $0.0015 / call |
| Bilibili · Get bangumi tab (app)哔哩哔哩 · 获取番剧推荐(app) Get bangumi tab (anime recommendations) | bilibili#app/fetch_bangumi_tab | $0.0015 / call |
| Bilibili · Search Huahuo creators or content (huahuo)哔哩哔哩 · UP主广场搜索(搜UP主 / 搜内容)(huahuo) Search creators by nickname, UID, or content keyword in the Huahuo marketplace. | bilibili#huahuo/search_upper | $0.015 / call |
| Bilibili · Search live creators (huahuo)哔哩哔哩 · 直播广场搜索(huahuo) Search live creators for branded-content or live-commerce collaborations. | bilibili#huahuo/search_live_upper | $0.015 / call |
| Bilibili · Get creator rankings (huahuo)哔哩哔哩 · UP主榜单(huahuo) Retrieve breakout, high-value, or top-tier creator rankings for rapid discovery. | bilibili#huahuo/popular_up_list | $0.009 / call |
| Bilibili · Get X-Huo ranking industries (huahuo)哔哩哔哩 · X火榜行业下拉(huahuo) Retrieve the two-level X-Huo industry tree used by creator and product rankings. | bilibili#huahuo/x_huo_industry_drop | $0.009 / call |
| Bilibili · Get X-Huo ranking periods (huahuo)哔哩哔哩 · X火榜可选期数(huahuo) Get valid monthly or quarterly X-Huo periods for popular_up_x_huo requests. | bilibili#huahuo/x_huo_date_options | $0.009 / call |
| Bilibili · Get creator ranking categories (huahuo)哔哩哔哩 · UP主榜单分区下拉(huahuo) Get content categories accepted by popular_up_list as tid_name values. | bilibili#huahuo/popular_up_tid_drop | $0.009 / call |
| Bilibili · Get Huahuo video rankings (huahuo)哔哩哔哩 · 视频榜单(huahuo) Retrieve Huahuo video rankings for a selected industry or all industries. | bilibili#huahuo/popular_avid_list | $0.009 / call |
| Bilibili · Get video ranking industries (huahuo)哔哩哔哩 · 视频榜单行业下拉(huahuo) Get industry names supported by the Huahuo video ranking endpoint. | bilibili#huahuo/popular_avid_category_drop | $0.009 / call |
| Bilibili · Get creator marketplace filter dictionaries (huahuo)哔哩哔哩 · 广场筛选字典(huahuo) Retrieve the primary filter dictionaries used to build creator marketplace search forms. | bilibili#huahuo/square_static_info | $0.009 / call |
| Bilibili · Get creator filter panel configuration (huahuo)哔哩哔哩 · 搜UP主筛选面板配置(huahuo) Retrieve the creator-filter configuration for a selected industry strategy panel. | bilibili#huahuo/upper_label_tree | $0.009 / call |
| Bilibili · Get MCN organizations (huahuo)哔哩哔哩 · MCN机构下拉(huahuo) Retrieve MCN organizations available for creator search filters. | bilibili#huahuo/mcn_drop | $0.009 / call |
| Bilibili · Get region options (huahuo)哔哩哔哩 · 地域下拉(huahuo) Retrieve the province/city hierarchy used by creator residence filters. | bilibili#huahuo/region_drop | $0.009 / call |
| Bilibili · Get video partition options (huahuo)哔哩哔哩 · 稿件分区下拉(huahuo) Retrieve video content categories used to filter creators or content by topic. | bilibili#huahuo/partition_drop | $0.009 / call |
| Bilibili · Get audience packages (huahuo)哔哩哔哩 · 人群包列表(huahuo) Retrieve custom audience packages available to the current advertiser | bilibili#huahuo/dmp_pkg_list | $0.009 / call |
| Bilibili · Get commerce category options (huahuo)哔哩哔哩 · 带货类目下拉(huahuo) Retrieve product categories supported by content-commerce filters. | bilibili#huahuo/effect_goods_drop | $0.009 / call |
| Bilibili · Get live-streaming guilds (huahuo)哔哩哔哩 · 直播公会下拉(huahuo) Retrieve live-streaming guilds available as marketplace filters. | bilibili#huahuo/live_guild_drop | $0.009 / call |
| Bilibili · Get live-streaming areas (huahuo)哔哩哔哩 · 直播分区下拉(huahuo) Retrieve live content categories used by live creator marketplace filters. | bilibili#huahuo/live_area_list | $0.009 / call |
| Bilibili · Get live creator persona tags (huahuo)哔哩哔哩 · 直播人设标签(huahuo) Retrieve persona labels describing live creators' style and content positioning. | bilibili#huahuo/live_parent_tag | $0.009 / call |
| Bilibili · Get live-commerce categories (huahuo)哔哩哔哩 · 直播带货类目(huahuo) Retrieve primary live-commerce product categories for filtering creators | bilibili#huahuo/live_good_category | $0.009 / call |
| Bilibili · Get persona tags (huahuo)哔哩哔哩 · 人设标签字典(huahuo) Retrieve persona tags describing a creator's image and account positioning. | bilibili#huahuo/tag_character | $0.009 / call |
| Bilibili · Get occupation tags (huahuo)哔哩哔哩 · 职业标签字典(huahuo) Retrieve occupation tags used for creator profiling and filtering. | bilibili#huahuo/tag_occupation | $0.009 / call |
| Bilibili · Get commercial tags (huahuo)哔哩哔哩 · 商业标签字典(huahuo) Retrieve tags describing creators' commercial collaboration characteristics and capabilities. | bilibili#huahuo/tag_commercial | $0.009 / call |
| Bilibili · Get industry tags (huahuo)哔哩哔哩 · 行业标签字典(huahuo) Retrieve industry tags used in advertiser and content collaboration scenarios. | bilibili#huahuo/industry_tags | $0.009 / call |
| Bilibili · Get content-style tags (huahuo)哔哩哔哩 · 内容风格字典(huahuo) Retrieve tags describing creators' content presentation and visual style. | bilibili#huahuo/label_char_style | $0.009 / call |
| Bilibili · Get current advertiser account information (huahuo)哔哩哔哩 · 当前广告主账号信息(huahuo) Retrieve the current advertiser's identity and role information to | bilibili#huahuo/account_session_info | $0.009 / call |
Machine-readable: /tools/bilibili.md · llms.txt · /v1/tools
FAQ
How can my AI agent get Bilibili data?
Connect the ToolSocket MCP server (https://toolsocket.top/mcp) to Claude, ChatGPT, Cursor, Codex or any MCP client, or call the REST API. Your agent searches the 63 Bilibili tools with discover_tools, reads the input schema with inspect_tool and runs it with run_tool.
Do I need a Bilibili account or API key?
No. ToolSocket handles the upstream access. You only need a ToolSocket account with a prepaid balance.
How much does it cost?
Most Bilibili calls cost $0.0015. You pay per call from a prepaid balance, there is no subscription, and failed calls are refunded automatically.
Which AI agents work with it?
Claude.ai and Claude Desktop, Claude Code, ChatGPT (developer mode), Cursor, VS Code Copilot, Windsurf, Codex, and any agent that can read a Markdown skill or make HTTP requests.
Other platforms
Douyin (抖音)TikTokXiaohongshu (小红书)WeChat (微信)Weibo (微博)Kuaishou (快手)Zhihu (知乎)Toutiao (今日头条)Xigua Video (西瓜视频)Pipixia (皮皮虾)Lemon8InstagramYouTubeX (Twitter)ThreadsRedditLinkedInTelegramDefiLlama (DeFi & crypto)Web search & page readerOpen data