{"uid":"cap_cZzEOTGoNrx4koingbwrr","slug":"facebook-search-scraper-apify-via-stableapify-b4e5e255","name":"Facebook Search Scraper (Apify via StableApify)","description":"Start the \"Facebook Search Scraper\" Apify actor (apify/facebook-search-scraper). Extract Facebook search data from pages that match your search query. Get page URL, address, email, website, check-ins, creation date, ad status, category, fol…","url":"https://stableapify.dev/api/actors/apify/facebook-search-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["categories","locations"],"properties":{"locations":{"type":"array","items":{"type":"string"},"default":[],"description":"Free text location definition. Just add a name of a country, city or province."},"categories":{"type":"array","items":{"type":"string"},"default":[],"description":"Add one or multiple keywords. You can add the keywords one by one, or use the Bulk edit section to pull them from a prepared list."},"resultsLimit":{"type":"integer","maximum":9007199254740991,"minimum":1,"description":"Set the number of results you expect for the entire run. ⚠️ The max limit for Facebook search results is set to 1,000 to keep scraping efficient. More details in the README ."}},"description":"Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).","additionalProperties":{}},"options":{"type":"object","properties":{"build":{"type":"string","maxLength":100,"minLength":1},"memory":{"type":"integer","maximum":32768,"minimum":128},"maxItems":{"type":"integer","maximum":100000,"minimum":1}},"description":"Optional Apify run options.","additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"bbox":{"east":-73.9352,"west":-74.006,"north":40.758,"south":40.7128},"sort":"globalrelevanceex","maxItems":50,"listingType":"for_sale","extractionMethod":"MAP_MARKERS"},"options":{"memory":2048,"maxItems":50}},"response":{"run":{"id":"B4vWYuxXwTkK7aZTb","status":"READY","actorId":"Us34x9p7VgjCz99H6","startedAt":"2026-06-18T06:39:27.109Z","usageTotalUsd":0,"defaultDatasetId":"QJB8LNShqZUz4YQf4"},"token":"eyJhbGciOiJIUzI1NiJ9.eyJydW5JZCI6IkI0dldZdXhYd1RrSzdhWlRiIiwiYWN0b3JJZCI6ImFwaWZ5L2ZhY2Vib29rLXNlYXJjaC1zY3JhcGVyIiwiZGVmYXVsdERhdGFzZXRJZCI6IlFKQjhMTlNocVpVejRZUWY0IiwidyI6IjB4OWNjNDJmM2Q5MjQ1Yjg2N2FjY2NkNjMwYjQzZjkwNmMxNjY1YjE3NiIsImlhdCI6MTc4MTc2NDc2NywiZXhwIjoxNzg0MzU2NzY3fQ.Ysi-wjxbM9YMOTDOWJJH7mfBJuddPfm_71896tJ7AtM"}},"exampleRequest":{"input":{"bbox":{"east":-73.9352,"west":-74.006,"north":40.758,"south":40.7128},"sort":"globalrelevanceex","maxItems":50,"listingType":"for_sale","extractionMethod":"MAP_MARKERS"},"options":{"memory":2048,"maxItems":50}},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__uEWAa0BYYcKblsPjOyni","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Starts an Apify actor run that scrapes Facebook search results, returning page URLs, addresses, emails, websites, check-ins, creation dates, ad status, categories, and follower counts for pages matching a search query.","exampleAgentPrompt":"Search Facebook for 'pizza restaurants in Chicago' and scrape up to 50 matching pages — I need each page's URL, email, phone, website, and category.","exampleUseCases":[{"title":"Local business lead generation","prompt":"Search Facebook for 'plumbers in Austin Texas' and extract up to 100 page results — I need their business name, email, website, and address for a lead list."},{"title":"Competitor social presence research","prompt":"Find all Facebook pages matching 'organic skincare brand' and pull their URLs, follower counts, creation dates, and ad status so I can benchmark my competitors."},{"title":"Geographic market mapping","prompt":"Scrape Facebook search results for 'gyms and fitness studios' in the Manhattan area — I need page URLs, addresses, check-ins, and categories for up to 50 results."}],"resultDescription":"Returns an actor run object containing a run ID, status (READY), actor ID, start timestamp, total usage in USD, default dataset ID, and a JWT access token. The token and dataset ID can be used with a companion endpoint to fetch the actual scraped Facebook page records once the run completes.","failureModes":["Facebook anti-scraping measures may block requests or return incomplete results","Run starts asynchronously — data is not immediately available; must poll dataset endpoint","Invalid or overly broad search queries may return zero results","Memory allocation too low may cause actor to fail mid-run","Rate limits on Apify platform may delay or reject runs","Payment failure via x402 if insufficient USDC balance","Token expiry (30-day TTL) before dataset is fetched"],"whenToPreferThis":"Choose this endpoint when you need structured data from Facebook search results at scale — especially business page metadata like emails, addresses, and follower counts — without managing Apify credentials yourself. It is ideal for lead generation, competitive research, or local business mapping workflows where Facebook is the target platform. Prefer this over generic web scrapers when Facebook-specific fields (check-ins, ad status, page category) are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:48:38.430Z","isFirstParty":false}