Skip to main content
Glama

Douyin Scraper - Profiles, Videos, Comments and Trending

Facebook Search (No Login)

search_facebook
Read-onlyIdempotent

Facebook search without login: posts by keyword (newest or top, by date range and tagged place), people by name in a city, 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 example: {"type":"post","query":"creatina","postId":"100000000000000001","url":"https://www.facebook.com/reel/1000000000000001/","text":"...","time":"2026-11-25T22:16:57Z","reactionsCount":4,"commentsCount":0,"sharesCount":0,"authorName":"Página Exemplo","status":"ok"} Cost: pay per result with an Apify token (prices on apify.com/pomlabs), or US$ 0.03 per call with x402 (up to 100 results of 1 query). Read-only: it only reads public data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "search_facebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesKeyword, city name, group link or id, post link or profile link, depending on mode. Comma-separate several (max 3).
maxNoResults per query (1-100, default 10).
perNocity_pages: posts of each page (1-5, default 1).
cityNoPeople: a Brazilian city by name (Campinas, or Campinas, SP when the name repeats), or the Facebook city id of any city (e.g. 105534776146145).
modeNoposts (default), top, people, pages, places, events, videos, group_posts, post_urls, following, city_pages, groups or members.
reelsNovideos mode: only reels.
sinceNoPosts 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.
untilNoPosts before this date.
recentNoPosts: newest first (default true).
excludeNoDrop posts with these words (comma-separated).
onlyNewNoOnly posts never returned to this API key under stateKey before.
only_aiNoWith ai_labels: only posts where one applies.
repliesNoWith comments: the replies and the replies to replies.
skip_aiNoSkip posts with Facebook's AI-generated label.
commentsNoEvery first-level comment of each post, inside the post (charged per comment).
contactsNoE-mails and phones found in the post text and WhatsApp button.
keywordsNoKeep posts whose text has one of these words (comma-separated, whole words, accents ignored).
listingsNoOnly buy-and-sell listings (price, sold flag, seller).
locationNoPosts: Facebook's place filter (a Brazilian city name or a Facebook place id); it favours posts tagged there.
stateKeyNoWith onlyNew: a name for this monitor (3 to 60 letters, numbers, - or _).
ai_labelsNoComma-separated labels that finish 'The author ...' (e.g. offers a property for sale); each post gets the labels that apply, with a score.
max_priceNoListings priced at most this.
min_priceNoListings priced at least this.
questionsNoOnly posts Facebook marks as a question.
min_sharesNoMinimum shares.
post_typesNoOnly these kinds, comma-separated: text, photo, album, video, link, shared, event, other.
with_mediaNoOnly posts with a photo or video.
author_nameNoOnly posts whose author name has one of these texts.
max_repliesNoReplies per comment (1-200, default 20).
max_commentsNoComments per post (1-1000, default 100).
min_commentsNoMinimum comments.
only_authorsNoOnly posts by these profile ids or links.
only_contactNoOnly posts with an e-mail or phone.
page_detailsNopages and places: address, phone, e-mail, website, rating and category from the About page (up to 25 per call).
skip_no_textNoSkip posts without text.
group_detailsNoGroup posts: the group's About once per group (exact members, posts per day and month, created, privacy, description, rules, admins, history).
keywords_modeNoany (default) or all.
min_reactionsNoMinimum reactions.
comments_orderNoranked (default), newest, oldest or relevant.
listing_statusNoany (default), available or sold.
min_engagementNoMinimum engagement score (reactions + 2 x comments + 3 x shares).
exclude_authorsNoProfile ids or links whose posts are dropped.
skip_duplicatesNoSkip the same text posted again by the same author.
listing_locationNoListings: city, state, coordinates, condition, category and delivery from the Marketplace page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, idempotentHint, openWorldHint), so the bar is lower, yet the description still adds real behavioral context: the pay-per-result Apify pricing, the US$0.03-per-call x402 alternative with its 100-result cap, per-comment charging when comments=true, and that only public data is read. It stops short of disclosing rate limits, failure behavior, or latency for a scraping tool that can silently charge per comment.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded with capability but crams an undifferentiated list of every mode and filter into one dense block that largely duplicates the mode enum in the schema. The return-value example and cost sentence earn their place, but the '25 filters' and mode enumeration could be trimmed to leave room for actual mode-choice guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 44-parameter, twelve-mode tool with no output schema, the description supplies a concrete sample item object, the result envelope ({items: [...]}), pricing, and read-only guarantees, which is a lot of what an agent needs to call and interpret it. Remaining gaps are pagination/continuation behavior and rate limits, but nothing essential to a correct first call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (44 documented params), so the baseline is 3. The description does add some meaning the schema does not: 'in posts mode it also goes to Facebook as a date filter, so older posts can be reached', 'group_details once per group', 'page_details ... up to 25 per call', and that comments are charged per comment. Those are useful, but most of the parameter narrative in the description merely restates the mode list already present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb and resource ('Facebook search without login') and then enumerates the actual result families it can return: posts by keyword, people by name in a city, pages/places with contacts, events, videos and reels, group posts, listings, follows, members. It explicitly separates itself from get_facebook_page_posts, so an agent can distinguish it from the closest sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a use case ('Use to find Facebook posts, pages or people by keyword') and names one alternative with its selecting condition ('for the full post list of a known page use get_facebook_page_posts'). What it lacks is mode-selection guidance: with twelve modes (posts, top, people, pages, places, events, videos, group_posts, post_urls, following, city_pages, groups, members) the agent gets no signal about which mode to pick for which intent beyond the one-line summary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.