{"uid":"cap_GG_QmEaickp2wiAQcWwIV","slug":"apify-facebook-posts-scraper-via-stableapify-x402-b6bed66d","name":"Apify Facebook Posts Scraper (via StableApify x402)","description":"Search Apify Store actors, start actor runs, and fetch results over x402 and MPP.","url":"https://stableapify.dev/api/actors/apify/facebook-posts-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["startUrls","captionText"],"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":"Enter a valid Facebook page URL, e.g. https://www.facebook.com/humansofnewyork/ . Note that you can only scrape public pages with this Actor, not personal profiles."},"captionText":{"type":"boolean","default":false,"description":"Extract video transcript (if available)."},"resultsLimit":{"type":"integer","maximum":9007199254740991,"minimum":1,"description":"If this limit is not set, only the initial page of results will be extracted."},"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":"Scrape posts from the provided date to the present day (or date set in 'Older than'). The date should be in YYYY-MM-DD absolute format or in relative format, e.g., 1 day, 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`."},"onlyPostsOlderThan":{"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":"Scrape posts from the provided date to the past (or date set in 'Newer than'). 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`."}},"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_RuZqX3CtOM4tUBz34iKUh","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 public Facebook page posts and video transcripts by URL, returning structured post data via x402 micropayment-enabled API.","exampleAgentPrompt":"Scrape the last 50 posts from the Humans of New York Facebook page (https://www.facebook.com/humansofnewyork/) posted in the past 3 months, and include video transcripts where available.","exampleUseCases":[{"title":"Brand social listening and monitoring","prompt":"Pull all public Facebook posts from Nike's page (https://www.facebook.com/nike/) from the past 2 weeks — up to 100 posts — so I can see what campaigns they've been running."},{"title":"Competitor content analysis","prompt":"Scrape the most recent 200 posts from https://www.facebook.com/cocacola/ going back to 2024-01-01, and include any video captions so I can analyze their messaging strategy."},{"title":"Research archive of page history","prompt":"Get me Facebook posts from https://www.facebook.com/NASA/ posted between 2023-06-01 and 2023-12-31 — up to 500 results — with video transcripts enabled, for a research dataset."}],"resultDescription":"Returns structured data for each scraped Facebook post, including post text, timestamp, media URLs, engagement metrics (likes, comments, shares), and video transcripts (if caption extraction is enabled). Results are paginated based on the resultsLimit parameter.","failureModes":["Private or personal profiles cannot be scraped — only public Facebook pages are supported","Page URL not found or page has been removed returns empty results or error","Facebook anti-scraping measures may throttle or block requests leading to incomplete results","resultsLimit not set defaults to only the first page of results","Invalid date format in onlyPostsNewerThan or onlyPostsOlderThan causes validation error","Payment failure via x402 protocol prevents actor execution"],"whenToPreferThis":"Choose this endpoint when you need structured post data from public Facebook pages at low per-call cost via x402 micropayments, without managing Apify credentials or infrastructure. Ideal for agents that need occasional Facebook data pulls rather than continuous monitoring subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:19.458Z","isFirstParty":false}