{"uid":"cap_OeqlJqGmolUAdWgH67JhI","slug":"apify-facebook-groups-scraper-via-stableapify-1860eeac","name":"Apify Facebook Groups Scraper via StableApify","description":"Search Apify Store actors, start actor runs, and fetch results over x402 and MPP.","url":"https://stableapify.dev/api/actors/apify/facebook-groups-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["startUrls","viewOption"],"properties":{"startUrls":{"type":"array","items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"method":{"type":"string"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"payload":{"type":"string"},"userData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"description":"Insert a URL of a valid Facebook group. Only public Facebook groups can be scraped."},"viewOption":{"enum":["CHRONOLOGICAL","RECENT_ACTIVITY","TOP_POSTS","CHRONOLOGICAL_LISTINGS"],"type":"string","default":"CHRONOLOGICAL","description":"Select sorting order by which the posts should be scraped. Please note that the Number of results field will be applied to New posts only. The BuySell items sorting will return results for BuySell groups only."},"resultsLimit":{"type":"integer","maximum":9007199254740991,"minimum":1,"description":"Select the number of posts you want to scrape. If this limit is not set, as many results as possible will be returned."},"searchGroupYear":{"type":"string","description":"The scraper will extract Facebook posts by this year. To use this field, you need to fill in the Search by letter field above ↑."},"onlyPostsNewerThan":{"type":"string","pattern":"^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])(T[0-2]\\d:[0-5]\\d(:[0-5]\\d)?(\\.\\d+)?Z?)?$|^(\\d+)\\s*(minute|hour|day|week|month|year)s?$","description":"Scrapes post from the provided date to the present day. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 days, 2 months, 3 years. The JSON input also supports adding time units (UTC timezone): Full or partial ISO timestamp (e.g., `2025-09-23T10:02:01`) as absolute time and relative time, e.g., `1 hour` or `2 minutes`."},"searchGroupKeyword":{"type":"string","description":"Without logging in, search results are VERY limited, so searching by word will return nothing in most cases. To get more messages, it is recommended to use a one or two letter search and change the year."}},"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":null,"exampleRequest":null,"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_I6cNDIlruLWn2JzSXKSq6","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":"Scrapes posts from public Facebook groups by URL, with filtering by date, keyword, and sort order, billed per call over x402.","exampleAgentPrompt":"Scrape the 100 most recent posts from the public Facebook group at https://www.facebook.com/groups/buyselltrade.example, sorted chronologically, and only include posts from the last 30 days.","exampleUseCases":[{"title":"Monitor community sentiment in niche group","prompt":"Pull the latest 50 posts from https://www.facebook.com/groups/vegancooking sorted by RECENT_ACTIVITY so I can see what topics are trending in that community this week."},{"title":"Collect buy-sell listings for price research","prompt":"Scrape up to 200 posts from https://www.facebook.com/groups/localgaragesale using the CHRONOLOGICAL_LISTINGS view so I can analyze what prices people are asking for used furniture."},{"title":"Track group activity after a campaign launch","prompt":"Fetch all Facebook group posts from https://www.facebook.com/groups/brandcommunity2024 that are newer than 2025-01-01, sorted chronologically, so I can see how members responded after our product launch."}],"resultDescription":"Returns an array of scraped Facebook post objects including post text, metadata (author, timestamp, reactions, comments), and other available public fields from the specified group, filtered and sorted according to the input parameters.","failureModes":["Private or closed Facebook group URL provided — scraper can only access public groups","Invalid or malformed Facebook group URL causes extraction failure","Facebook anti-bot measures may throttle or block the scraper, returning partial results","resultsLimit set too high may cause timeouts or incomplete result sets","onlyPostsNewerThan date pattern mismatch causes validation error","Payment failure over x402 protocol prevents the call from executing"],"whenToPreferThis":"Use this endpoint when you need structured post data from a specific public Facebook group, especially when you want to filter by recency, sort order, or keyword. Prefer this over general web scraping when the target is specifically a Facebook group and you need paginated, structured results with date filtering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:52:31.838Z","isFirstParty":false}