{"uid":"cap_XHagihayTJZX6wsRkh7Bu","slug":"facebook-posts-scraper-ebecefa1","name":"Facebook Posts Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/facebook-posts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":0,"minimum":0,"description":"Stop after this many posts across all URLs. Zero means no total cap."},"startUrls":{"type":"array","description":"Public Facebook page URLs or direct public post URLs."},"resultsLimit":{"type":"integer","default":20,"minimum":1,"description":"Maximum posts to retrieve per page. The run stops after 30 feed batches per page, and some pages expose fewer posts. A direct post URL yields one post."},"onlyPostsNewerThan":{"type":"string","description":"Optional lower date bound in YYYY-MM-DD or relative form such as 7 days. Dates use UTC."},"onlyPostsOlderThan":{"type":"string","description":"Optional upper date bound in YYYY-MM-DD or relative form such as 1 month. Dates use UTC."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"url":null,"time":null,"postId":null,"inputUrl":null,"pageName":null,"facebookId":null,"facebookUrl":null,"topLevelUrl":null}],"product":"facebook-posts"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AI3IiyiYglPfqYXxDe5yU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","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 direct post URLs, returning structured post data with optional date filtering and result limits.","exampleAgentPrompt":"Can you scrape the last 50 posts from the NASA Facebook page (facebook.com/NASA) posted in the past 30 days and give me the structured data including post IDs, times, and URLs?","exampleUseCases":[{"title":"Brand social media monitoring","prompt":"Pull the 20 most recent posts from Coca-Cola's public Facebook page (facebook.com/CocaCola) and give me each post's URL and timestamp so I can track their content calendar."},{"title":"Competitor activity research","prompt":"Scrape up to 100 posts from facebook.com/tesla posted between 2024-01-01 and 2024-06-30 — I want to see what they were posting during that period."},{"title":"Event coverage aggregation","prompt":"Grab all posts from facebook.com/FIFA newer than 7 days, up to 30 results, so I can see their recent World Cup coverage."}],"resultDescription":"Returns a JSON object with a count of retrieved items and an array of post objects, each containing the post URL, timestamp, post ID, input URL, page name, Facebook ID, Facebook URL, and top-level URL. Failed or empty runs are not billed.","failureModes":["Private or restricted Facebook page returns empty results","Invalid or malformed Facebook URL causes failed run","Rate limiting or Facebook anti-scraping measures result in empty response","Date filter excludes all available posts, returning zero items","Page has fewer posts than the requested limit, returning partial results"],"whenToPreferThis":"Choose this endpoint when you need structured, paginated post data from public Facebook pages or direct post URLs, especially when date-range filtering is important. It is pay-per-call with no charge for failed/empty runs, making it low-risk for exploratory scraping. Prefer this over general-purpose web scrapers when you specifically need Facebook post metadata in a clean, normalized JSON format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:27.176Z","isFirstParty":false,"canonicalSlug":"facebook-posts-scraper-ebecefa1"}