Bilibili Scraper: Videos, Comments, Danmaku, Trends · $0.07/1K

v1.0.6
dev.workers.pomlabs.pom-data-api/bilibili-scraper Checked 4 days ago Published 20 hours ago

Bilibili without login: search videos and users (date range, Chinese brand names), whole channels

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_threads_posts Threads Search, Posts & Profiles

Threads (Meta) posts from keyword search, profiles or post links: text, likes, replies, reposts, date, media, author, polls with votes; profile followers, bio, fediverse sharing and reposts. Use for Threads (Meta) posts; for Facebook pages use get_facebook_page_posts and for Facebook-wide keyword search use search_facebook. Returns {items: [...]} with one object per result, for example: {"type":"post","text":"Top things I did today...","likes":59406,"replies":405,"reposts":543,"createdAt":"2026-11-21T19:35:13Z","author":{"username":"example_user"}} Cost: pay per result (prices on the store pag…

ParameterTypeDescription
fromstringOnly posts created on or after this date (YYYY-MM-DD).
languagestringSearch: only posts in this language (en, pt...), when Threads tells it.
maxintegerMaximum posts (1-300, default 50).
poststringPost URLs. Comma-separate several (max 5).
profilestringUsernames or profile URLs. Comma-separate several (max 10).
querystringKeywords to search. Comma-separate several (max 5).
repostsbooleanProfiles: also return the posts each profile reposted, with who reposted them and when (repostedByUsername, repostedByUserId, repostedAt).
sortstringSearch order: top (default) or recent (newest first).
tostringOnly posts created on or before this date (YYYY-MM-DD).

get_telegram_channel_posts Telegram Channel Posts

Posts of public Telegram channels from the t.me web preview: text, date, views, reactions, media links, forwards, replies, link previews and polls; channel title, bio, photo and exact subscribers. Filter by keyword and date. Subscriber growth (7 and 30 days, since first reading) from our own daily history of every channel read (grows over time). Use for posts of a public Telegram channel; for Chinese video platforms use get_douyin_data or search_bilibili. Returns {items: [...]} with one object per result, for example: {"type":"post","channel":"durov","postId":568,"url":"https://t.me/durov/568"…

ParameterTypeDescription
channel *stringChannel usernames, @names or t.me links. Comma-separate several (max 5; max 3 with keyword).
afterintegerOnly posts with an id above this number.
afterIdsstringPer channel id above which to read, as name:id pairs comma-separated (durov:500,telegram:300). Wins over after.
commentsbooleanAdd the public comments under each post as extra rows (rowType comment; only channels with a discussion group; default false).
commentsPerintegerComments per post, the newest, 1-200 (default 20).
daysintegerOnly posts from the last N days (same as from).
excludestringSkip posts containing any of these words, comma-separated.
fromstringOnly posts on or after this date (YYYY-MM-DD).
infobooleanAdd one row per channel with title, bio, photo and exact subscribers (default true).
keywordstringOnly posts containing these words.
maxintegerMaximum posts per channel, newest first (1-500, default 20).
mediastringOnly posts with these media types, comma-separated: text, photo, video, document, poll, sticker, voice, location.
profilebooleanOnly the channel row, no posts (default false).
tostringOnly posts on or before this date (YYYY-MM-DD).

get_facebook_page_posts Facebook Page Posts

Public posts of any Facebook page, no login: text, date, link, total reactions and each type, comments, shares, photo and video links, author, links, hashtags and mentions in the text, link preview, top comment, video length, tagged place, shared post, page name and followers. Optional free summary per page (averages, engagement by post type, posts per week, best post, busiest hours). Use for the posts of one known Facebook page; to find posts, pages or groups by keyword use search_facebook. Returns {items: [...]} with one object per result, for example: {"postId":"1696522545176448","url":"htt…

ParameterTypeDescription
commentsbooleanAdd the comments of each post, one row each ("type": "comment"): text, date, author name, link and photo, likes, number of replies, links and mentions, comment link (default false).
commentsMaxintegerMaximum comments and replies per post (1-30, default 10). With comments, up to 3 posts per call; for more posts, make several calls.
commentsSincestringOnly comments newer than this: a date (2026-11-01) or "7 days". Older ones are skipped and free.
coveragebooleanAdd one free row per page (type page_coverage) saying why reading stopped (date_reached, end_of_timeline, page_max_reached, run_max_reached...) and whether the date window was read to the end (complet…
cursorstringNext page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
detailsbooleanAdd one row per page with its details: bio, categories, e-mails, phones, WhatsApp, address, websites and social links, rating, price range, services, verified badge, followers (charged per page; defau…
maxintegerMaximum posts per page (1-50, default 10). Newest first, pinned post left out.
maxTotalintegerMost posts for the whole call, across all pages (optional); pages after it are skipped for free.
onlyNewbooleanOnly posts published since your last call for the same page and stateKey; posts you already got are never charged again (default false).
pagestringFacebook page links, names or numeric ids. Comma-separate several (max 3). Page or post is required.
poststringLinks to single posts, photos, videos or reels (max 3): you get their comments.
repliesbooleanAdd the replies, and the replies to them ("type": "reply"), with the comment they answer (default false).
sincestringOnly posts newer than this: a date (2026-11-01) or "7 days", "2 weeks", "1 month".
sortstringComment order: relevant (default), newest or all, as in the post comment menu.
stateKeystringWith onlyNew: a name you choose for this monitor (letters, numbers, - and _; up to 60), so each of your monitors keeps its own place. Pick one only you use.
summarybooleanAdd one free summary row per page: totals and averages, engagement by post type, posts per week, best post, top hashtags, busiest hours and days (default false).
transcriptbooleanFor video posts, the captions as text and with times (videoTranscript, transcriptSegments), when the video has captions; free (default false).
transcriptLanguagestringPreferred caption language when a video has several (en, pt, Spanish...).
untilstringOnly posts older than this (same formats); with since, a date window. Skipped posts are free.

search_bilibili Bilibili Search, Comments, Danmaku & Trending

Bilibili (China) without login: search videos or users by keyword (date range, length, sort, Chinese brand names added automatically), all videos of a channel with its profile, full stats of a video with its top comments and their replies, every danmaku (bullet comment) with the second it appears at, a danmaku profile of how viewers reacted along the video, trending now and the ranking of 20 categories, and Chinese sentiment on comments. Clean English fields. Use for Bilibili videos and users; for Douyin use get_douyin_data. Returns {items: [...]} with one object per result, for example: {"typ…

ParameterTypeDescription
q *stringKeyword, channel link or uid:<id>, video link or BV id, or popular. Comma-separate several (max 3).
afterstringOnly videos published after this date (2026-11-01) or within a period (7 days, 3 months). Search and channel.
aliasesstringOther names searched together with the keyword (comma-separated), e.g. the Chinese name of a brand.
beforestringOnly videos published before this date (2026-11-20).
categorystringFor q=popular: the ranking of this category instead of the popular list.
channel_keywordstringFor channel queries: only videos matching this keyword.
comment_sortstringComments: popular (default), newest first, by likes, or both lists merged.
commentsbooleanAlso return the top comments of each video.
danmakubooleanDanmaku profile per video: count, unique senders, per-minute timeline, peak minute, repeated phrases and a sample.
danmaku_keywordsstringDanmaku rows: only those containing one of these words (comma-separated).
danmaku_rowsbooleanEvery danmaku (bullet comment) as a row: text, second in the video, color, mode, send time, sender hash.
durationstringVideo length filter (minutes).
end_secnumberDanmaku rows: up to this second of the video.
localizebooleanAlso search the Chinese name of a known Latin brand (nike -> 耐克). Default true.
maxintegerResults per query (1-200, default 40; 1-10 when comments or danmaku are asked).
max_commentsintegerComments per video (1-200, default 20), paged through the popular or newest list.
max_danmakuintegerDanmaku rows per video (1-2000, default 500).
profile_onlybooleanFor channel queries: only the channel profile, no videos.
repliesbooleanComments: also return the replies of each top comment (first 20).
sentimentbooleanChinese sentiment (-1 to 1, positive/neutral/negative) on titles, comments and the danmaku profile.
sortstringVideo search order (default relevance).
start_secnumberDanmaku rows: from this second of the video.
subtitle_langstringTranscript: only these languages (comma-separated: zh, en, ja...).
subtitlesbooleanTranscript of each video from its subtitles (the uploader's and Bilibili's AI ones: Chinese speech and an AI English translation on most videos), with each line's start and end second.
typestringWhat keywords search: videos (default) or users.

get_douyin_data Douyin Profiles, Videos, Comments & Trending

Douyin (Chinese TikTok) without login: creator profiles with their latest posts (date filter, no-watermark video links), video stats with paginated comments and bullet comments (danmaku), videos that use a sound, the five hot-search boards with each topic's lead video, and creator search by keyword. Clean English fields. Use for Douyin (Chinese TikTok) creators and videos; for Bilibili use search_bilibili. Returns {items: [...]} with one object per result, for example: {"type":"video","source":"profile","rank":1,"awemeId":"7709904111285587242","url":"https://www.douyin.com/video/77099041112855…

ParameterTypeDescription
q *stringDouyin profile link, video link or id, v.douyin.com share link, sound link (douyin.com/music/<id>), trending, or a keyword (creator search). Comma-separate several (max 3).
boardsstringFor trending: hot, entertainment, society, seeding (product picks), challenge; comma-separate several (default hot).
commentsintegerFor video links: how many comments (0-200, default 0).
danmakuintegerFor video links: how many on-screen bullet comments (弹幕), each with the second it appears at (0-500, default 0).
daysintegerFor profiles: only posts from the last N days.
maxintegerPosts per profile, videos per sound, trends or creators (1-100, default 30).
no_pinnedbooleanFor profiles: skip pinned posts.
relatedbooleanFor video links: also the related videos.
sincestringFor profiles: only posts published on or after this date (YYYY-MM-DD).
trend_videosbooleanFor trending: also the video Douyin opens for each topic, with full stats.

search_facebook Facebook Search (No Login)

Facebook search without login: posts by keyword (newest or top, by date range and tagged place), people by name, pages and places with contacts, events, videos and reels, posts of public groups with the group details, buy-and-sell listings with price and location, post links, who a profile follows, groups and members. Every post can come with all its comments and replies, contacts found, AI labels and 25 filters. Use to find Facebook posts, pages or people by keyword; for the full post list of a known page use get_facebook_page_posts. Returns {items: [...]} with one object per result, for exam…

ParameterTypeDescription
q *stringKeyword, city name, group link or id, post link or profile link, depending on mode. Comma-separate several (max 3).
ai_labelsstringComma-separated labels that finish 'The author ...' (e.g. offers a property for sale); each post gets the labels that apply, with a score.
author_namestringOnly posts whose author name has one of these texts.
commentsbooleanEvery first-level comment of each post, inside the post (charged per comment).
comments_orderstringranked (default), newest, oldest or relevant.
contactsbooleanE-mails and phones found in the post text and WhatsApp button.
excludestringDrop posts with these words (comma-separated).
exclude_authorsstringProfile ids or links whose posts are dropped.
group_detailsbooleanGroup posts: the group's About once per group (exact members, posts per day and month, created, privacy, description, rules, admins, history).
keywordsstringKeep posts whose text has one of these words (comma-separated, whole words, accents ignored).
keywords_modestringany (default) or all.
listing_locationbooleanListings: city, state, coordinates, condition, category and delivery from the Marketplace page.
listing_statusstringany (default), available or sold.
listingsbooleanOnly buy-and-sell listings (price, sold flag, seller).
locationstringPosts: Facebook's place filter (a supported city name or a Facebook place id); it favours posts tagged there.
maxintegerResults per query (1-100, default 10).
max_commentsintegerComments per post (1-1000, default 100).
max_priceintegerListings priced at most this.
max_repliesintegerReplies per comment (1-200, default 20).
min_commentsintegerMinimum comments.
min_engagementintegerMinimum engagement score (reactions + 2 x comments + 3 x shares).
min_priceintegerListings priced at least this.
min_reactionsintegerMinimum reactions.
min_sharesintegerMinimum shares.
modestringposts (default), top, people, pages, places, events, videos, group_posts, post_urls, following, city_pages, groups or members.
onlyNewbooleanOnly posts never returned to this API key under stateKey before.
only_aibooleanWith ai_labels: only posts where one applies.
only_authorsstringOnly posts by these profile ids or links.
only_contactbooleanOnly posts with an e-mail or phone.
page_detailsbooleanpages and places: address, phone, e-mail, website, rating and category from the About page (up to 25 per call).
perintegercity_pages: posts of each page (1-5, default 1).
post_typesstringOnly these kinds, comma-separated: text, photo, album, video, link, shared, event, other.
questionsbooleanOnly posts Facebook marks as a question.
recentbooleanPosts: newest first (default true).
reelsbooleanvideos mode: only reels.
repliesbooleanWith comments: the replies and the replies to replies.
sincestringPosts after this date (2026-11-01 or 7 days). In posts mode it also goes to Facebook as a date filter, so older posts can be reached.
skip_aibooleanSkip posts with Facebook's AI-generated label.
skip_duplicatesbooleanSkip the same text posted again by the same author.
skip_no_textbooleanSkip posts without text.
sortstringgroup_posts: order of the group feed: newest (default), recentActivity (the group's activity order) or mostRelevant (Facebook's top posts).
stateKeystringWith onlyNew: a name for this monitor (3 to 60 letters, numbers, - or _).
untilstringPosts before this date.
with_mediabooleanOnly posts with a photo or video.