Facebook Posts Search Scraper avatar

Facebook Posts Search Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Facebook Posts Search Scraper

Facebook Posts Search Scraper

Searching Facebook by hand for brand mentions takes hours. Search public posts by keyword or hashtag in bulk: text, author, reactions breakdown, comments, shares, media and top comments, with date and engagement filters. Track new posts. No login.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawl Craft

Crawl Craft

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

What is Facebook Posts Search Scraper?

Facebook Posts Search Scraper is an Apify Actor that finds public Facebook posts by keyword, hashtag or search link, then saves the text, author, reactions, comments, shares and media of each one. It needs no login, accepts several searches in one run, and writes every post to your dataset the moment it is found.

  • Three ways to search: paste Facebook search links, type keywords or add hashtags, and mix them freely in one run.
  • Precise filters: narrow results by date, language, post type, author type, reactions, comments and shares.
  • Rich post details: get the reaction breakdown, attachments, hashtags, mentions, shared links and top comments.
  • Monitoring friendly: turn on onlyNewPosts to skip posts that earlier runs already returned for the same search.
  • Spreadsheet ready: choose flat rows or also save a CSV file with writeCsv.

This Actor is made to be a Facebook post search scraper: it takes keywords, hashtags and search links and returns public posts. It also accepts a bare tag, so it covers a Facebook hashtag scraper job when a hashtag is all you have.

Click Try for free, paste a Facebook search link, and press Start.

What data can you extract from Facebook?

This Actor returns one row per post with the fields below, and you can download the dataset as JSON, CSV, Excel, XML or HTML. The columns hold the text, counts, author and media that a Facebook post extractor is expected to return. Together they form a Facebook posts dataset that you can filter, chart or load into a database.

FieldDescriptionExample
urlPublic link to the post.https://www.facebook.com/page/posts/123
timestampPublication time in Unix milliseconds.1789149362000
postTextCaption or text of the post.Cheers to the weekend
reactionsCountTotal reactions on the post.12
reactionsReactions by kind (like, love, support, haha, wow, sorry, anger); only kinds that are present.{"love": 2, "like": 10}
commentsCountTotal comments on the post.3
sharesCountTotal shares of the post; null when not shown.1
postIdIdentifier of the post.10166095960273092
taggedLocationIdIdentifier of the tagged place, when there is one.null
isReshareTrue when the post reshares another post.false
sharedPostThe original post when this is a reshare (postId, url, postText, author, timestamp, attachments); null otherwise.null
authorWho published the post: id, name, profilePicture, profileUrl and type (user or page).{"name": "Example Page", "id": "716318091", "type": "page"}
attachmentsPhotos and videos in the post: type, url, id, accessibilityCaption, imageUrl, videoUrl and durationSec when available.[]
datePublication time as an ISO 8601 UTC string.2026-09-11T17:56:02.000Z
postTypetext, photo, album, video, reel, link or share.video
viewsCountVideo or reel views; null for other posts.234
taggedLocationTagged place with id and name; null when there is none.null
groupThe group the post was published in (id, name, url); null for non-group posts.null
collaboratorsCo-authors of the post.[]
hashtagsHashtags in the post text, lower-case, without #.["champagne"]
mentionsPeople, pages and groups tagged in the post text.[]
linksWeb links found in the post text.[]
externalLinkShared web link card (url, title, description, source); null when there is none.null
languageTwo-letter language code detected from the text; null when unsure.en
engagementReactions + comments + shares.21
topCommentsComments shown with the post (id, text, date, author, reactionsCount, repliesCount). Also saved in the Top comments table.[]
searchDetails of the search that found the post.An object, see the Output tab
scrapedAtWhen the post was collected (ISO 8601 UTC).2026-10-10T19:51:00.000Z
isNewTrue when no earlier run returned this post for the same search.true
videoTitleTitle of the video or reel, when it has one.null

The Output tab also offers ready-made views of the posts table: Overview, Engagement, Authors, Media and links, and Search info. Comments shown with each post are saved in a second table called Top comments, with these fields: postId, postUrl, postAuthor, commentId, text, date, timestamp, commentUrl, authorId, authorName, authorProfileUrl, authorPicture, reactionsCount and repliesCount. A third table, Search summary, has one row per search with query, kept, finishedAt, error and failed.

The postText field holds the full text of each post, which is what a Facebook post text extractor needs. Captions live in the same field, so a Facebook post caption extractor task needs nothing more.

Use cases for Facebook data

Monitoring and research

  • Brand and competitor tracking: search a brand or product name, then compare reactionsCount, commentsCount and sharesCount across the posts you find.
  • Hashtag research: review hashtag Facebook posts with the result order set to latest to see how a tag is used right now.
  • Reporting: analysts can export Facebook posts to Excel and sort them by engagement.

Audience and engagement

  • Audience feedback: the comments shown with each post land in a separate table, which gives you a Facebook post comment extractor for top comments.
  • Engagement analysis: reactionsCount and the reactions breakdown by kind turn the dataset into a Facebook post like extractor.
  • Media collection: image links appear in attachments when they are available, so a Facebook post image extractor job is covered.

Search and data teams

  • Mention research: put the words a post contains into the keyword inputs and use the Actor as a Facebook post finder.
  • No-code collection: the form in the Apify Console is a Facebook posts extractor you can use without writing code.
  • Data pipelines: growth teams that prefer a ready-made Facebook posts scraper over custom code can feed the dataset into their own tools.

How to scrape Facebook posts

  1. Create a free Apify account.
  2. Open Facebook Posts Search Scraper in the Apify Store and click Try for free.
  3. Add Facebook search links, hashtag links, post links or plain keywords to Facebook links (bulk), one per line. Use Search keywords and Extra hashtags for more searches.
  4. Pick the result order for the Facebook search posts you collect, with top for the most relevant first and latest for the newest, and add filters such as dates, languages, post types or minimum reactions.
  5. Click Start and watch the posts arrive in the dataset.
  6. Download the results as JSON, CSV, Excel, XML or HTML, or open the key-value store for posts.csv when you turned on Also save a CSV file.

How to search Facebook posts by date

Set Posted after (startDate) and Posted before (endDate) to a date in YYYY-MM-DD form or to a relative value such as 7 days. To search old Facebook posts by date, set an earlier window; the end date counts the whole day, and results depend on what is still public.

How to search Facebook posts by keyword

Put one keyword per line in Search keywords (queries). Wrap a phrase in quotes, use -word to exclude a term, or write a OR b for alternatives, and set Keyword match mode (matchMode) to all terms, any term, the exact phrase, or off.

How to collect posts from a hashtag

Add the tag without the # sign to Extra hashtags (hashtags). Each hashtag is a separate search, so a Facebook hashtag posts scraper run covers each tag you list. Anyone used to a Facebook hashtag search scraper can paste the tags there, one per line.

How much does it cost to scrape Facebook?

This Facebook public posts scraper uses tiered pay-per-event pricing: $1.5 per 1,000 results on the Free plan and a lower price on paid plans. Each run also pays a tiny Actor start event of $0.00005 per run start. For example, on the Free plan 1,000 saved posts cost $1.5 plus $0.00005 for the start.

Apify planPrice per 1,000 results
Free$1.5
Bronze$1.35
Silver$1.2
Gold / Platinum / Diamond$1

Only post rows are billed through the main_result event, which the Console shows as Results. The Top comments and Search summary tables are saved alongside your posts and are not billed as results. Free plan users get up to 10 posts per run in total, while paid plans have no run limit. If you set a maximum cost per run, the run stops cleanly when that limit is reached. See the Pricing tab for current rates.

Input

Only Facebook links (bulk) (urls) is required, and it accepts Facebook search links, hashtag links, direct post links or plain keywords. Because search links are accepted, you can reuse a search from your browser, which suits anyone looking for a Facebook search scraper for those links. Pasting a direct post link also works, which helps those who want a Facebook post scraper for individual posts.

Facebook Posts Search Scraper input form with search links and filters

Input fields, grouped as in the Console form:

  • What to search: urls, queries, hashtags, searchType (top or latest), location.
  • Result limits: maxResultsPerQuery (0 means no cap) and maxResultsTotal (0 means no cap).
  • Filters: matchMode, startDate, endDate, languages, postTypes (text, photo, album, video, reel, link, share), authorTypes (user, page), minReactions, minComments, minShares and excludeReshares.
  • Search depth: the Search depth field and maxScanned, the most posts reviewed per search.
  • Output: includeTopComments, outputFormat (full or flat), writeCsv and onlyNewPosts.
  • Speed settings: parallel runs and minimum and maximum delay, where the defaults suit most runs.

Filters narrow the saved posts, so stricter settings give fewer but more relevant rows. Each Facebook posts search filter is optional. If you want a Facebook keyword search tool, type keywords, quoted phrases, exclusions and OR groups into queries.

Example input (values taken from the input form's pre-filled link and default options, not a captured run):

{
"urls": [
"https://www.facebook.com/search/posts?q=dom%20perignon"
],
"searchType": "top",
"matchMode": "all",
"includeTopComments": true,
"outputFormat": "full"
}

๐Ÿ’ก Keep Max posts in total low for a first test run. See the Input tab for every option.

Output

The scraped results are shown as a dataset in the Storage tab. The table view is for convenience and doesn't show all the fields.

Facebook posts dataset table with post text, author and reactions

You can export the dataset as JSON, CSV, Excel, XML or HTML. With writeCsv turned on, the run also saves posts.csv in the key-value store, and a SUMMARY record holds the totals for the run.

Example output for one post (values taken from the Actor's schema examples, not a captured run):

{
"url": "https://www.facebook.com/page/posts/123",
"timestamp": 1789149362000,
"postText": "Cheers to the weekend",
"reactionsCount": 12,
"reactions": {
"love": 2,
"like": 10
},
"commentsCount": 3,
"sharesCount": 1,
"postId": "10166095960273092",
"taggedLocationId": null,
"isReshare": false,
"sharedPost": null,
"author": {
"name": "Example Page",
"id": "716318091",
"type": "page"
},
"attachments": [],
"date": "2026-09-11T17:56:02.000Z",
"postType": "video",
"viewsCount": 234,
"taggedLocation": null,
"group": null,
"collaborators": [],
"hashtags": [
"champagne"
],
"mentions": [],
"links": [],
"externalLink": null,
"language": "en",
"engagement": 21,
"topComments": [],
"scrapedAt": "2026-10-10T19:51:00.000Z",
"isNew": true,
"videoTitle": null
}

Read date for an ISO 8601 time or timestamp for Unix milliseconds, which suits a Facebook post date extractor task. A Facebook post id extractor job can rely on postId and url.

Limitations and error handling

  • The Actor returns posts that are publicly visible on Facebook.
  • Results are limited to public posts that match your searches and filters, so run a small test to see what your terms return.
  • Free plan users get up to 10 posts per run in total; paid plans have no run limit.
  • sharesCount is null when the share count is not shown, viewsCount is filled only for videos and reels, and language is null when the language cannot be detected.
  • Top comments are the comments shown with each post, not the full comment thread.
  • With a date filter set, posts without a publication date are skipped, and a Facebook posts search by date range keeps only posts inside the window.
  • With very strict filters a search stops after it has reviewed maxScanned posts, which is 400 by default.
  • If a link is not a Facebook search, hashtag or post link, it is skipped with a warning in the run log.
  • The run fails at the start with an "Input problem" message when no link or keyword is given, when a date cannot be read, or when the start date is not before the end date.
  • If a whole search cannot be completed, its Search summary row shows failed as true and a short error text, and the other searches continue.

There is no separate table of error codes, because the Actor reports problems in the run log, the status message and the Search summary table.

Integrating Facebook Posts Search Scraper with other apps

You can start runs and read results through the Apify API, schedule runs and trigger webhooks when a run finishes. The Apify API gives you a Facebook posts API for your own app: start a run with the JSON input shown above and read the dataset items as JSON. Developers who want a Facebook posts search API can use the same input, and the API tab shows ready-made JavaScript, Python and CLI snippets.

  • Apify integrations connect the dataset to other tools.
  • Schedules rerun your searches automatically, and with onlyNewPosts on, each run skips posts that earlier runs already returned.
  • Webhooks tell your own service when a run is done.
  • The Apify API reference lists every endpoint.

Scheduled runs turn the Actor into a Facebook posts crawler that revisits your searches and surfaces new posts. Keep the same searches and rerun them for ongoing monitoring; a Facebook post details finder job then needs only the dataset.

More Apify Actors by crawl_craft

These Actors come from the same account and cover other public data, with no relation to Facebook post search. They are listed in case you work with more than one source.

ActorWhat it extractsWhen to use it
Telegram ScraperMessages, views, reactions, media, links, polls, comments and subscriber counts from public Telegram channelsUse it when your source is Telegram rather than Facebook.
TikTok Video ScraperCaptions, hashtags, views, likes, comments, shares, author and music data for TikTok videosUse it when you have TikTok video URLs.
Apple App Store Review ScraperApp Store reviews with stars, text, app version, helpful votes and developer repliesUse it when you need app reviews by country.

Facebook Posts Search Scraper only collects posts that are publicly visible on Facebook, and it does not collect private profile data such as email addresses. Results can still contain personal data, such as names and comments, so only collect it with a legitimate reason.

This Facebook public post scraper does not decide for you what is allowed. Consider data protection rules such as the GDPR (Regulation (EU) 2016/679) and Facebook's terms, and consult a lawyer if you are unsure. Apify explains the topic in is web scraping legal and ethical web scraping.

โ“ FAQ

Can I scrape Facebook posts free?

Yes, within limits. Free plan users get up to 10 posts per run in total, and paid plans have no run limit. Results cost $1.5 per 1,000 on the Free plan and less on paid plans, plus $0.00005 per run start; the pricing section lists every tier.

Do I need a Facebook account or API key?

No. The Actor finds public posts without a login, and the input has no field for a Facebook account or key.

How many posts can I get?

It depends on your input and plan. Max posts per search and Max posts in total set the caps, where 0 means no cap, and free plan users are held to 10 posts per run.

Can I find Facebook posts by date range?

Yes. Use startDate and endDate with a YYYY-MM-DD date or a relative value such as 7 days, and only posts inside that window are kept.

How to monitor Facebook posts for new mentions?

Turn on onlyNewPosts, keep the same searches, and schedule the run. Posts that an earlier run already returned for the same search are skipped, and each saved row carries an isNew flag.

Can I get posts from private profiles or groups?

No. This Facebook post searcher returns public content only, and group posts appear only when they are public, with the group named in the group field.

Is there a Facebook public posts API?

You can call this Actor through the Apify API and receive public post data as JSON. No Facebook API key is needed, so a Facebook keyword search API call is simply an Apify API call with your queries, and you can use the Apify client for Python or JavaScript.

Do I need proxies?

No. The input has no proxy setting, and connection handling is managed for you.

Can I export the results to Excel?

Yes. Open the dataset and download it as Excel, CSV, JSON, XML or HTML, or turn on writeCsv to also get posts.csv. After each run you can export Facebook posts to Excel and sort the rows by engagement.

Your feedback

Found a bug or want a new field? Open an issue in the Issues tab of this Actor. For custom solutions, such as extra fields or a tailored workflow, write to hello.crawlcraft@gmail.com.