Facebook Posts Search Scraper avatar

Facebook Posts Search Scraper

Pricing

from $2.15 / 1,000 posts

Go to Apify Store
Facebook Posts Search Scraper

Facebook Posts Search Scraper

Search public Facebook posts by keyword, phrase, hashtag or search URL. Get text, authors, dates, engagement, media and available Page details. Use filters, add public comments, and track posts across repeat runs.

Pricing

from $2.15 / 1,000 posts

Rating

0.0

(0)

Developer

Maxime Dupré

Maxime Dupré

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 days ago

Last modified

Features

Limited permissions

Share

🔎 Find public Facebook posts for research and monitoring

Social media teams, marketers, and researchers can use Facebook Posts Search Scraper to find public Facebook posts by keyword, phrase, hashtag, or search URL. Get post text, dates, authors, engagement, media, and available Page details in structured rows for review and reports.

  • Track brand mentions across repeat runs without saving the same posts again.
  • Compare reactions and shares on posts about a product or topic.
  • Find public group discussions for community research.
  • Collect posts linked to a city or region for local market research.
  • Read public comments on matching posts to study audience feedback.

📦 Post text, engagement, media, and publisher details

Each dataset row is one unique public post. It can include photos, album images, videos, reels, shared links, original posts, groups, and tagged places. Available Page details include public contacts, creation and name-change dates, active-ad status, categories, map coordinates, opening status, and administrator counts by country.

Missing optional values are omitted. An unknown count is not changed to zero. A reported zero or false value is kept. Comments are optional and may cover only part of a thread. Missing optional media or comments do not exclude a post.

Posts are deduplicated by post ID within the run and against the monitor's saved history. A row keeps the search input from the saved match; later matches are not combined with it. Newly found posts can have older publication dates. Facebook search is not a full archive of every matching post.

▶️ Run a keyword or search URL collection

  1. Choose Keywords or Search URL in Find posts by.
  2. Add one or more keywords, phrases, or hashtags, or paste a Facebook post-search URL.
  3. Set a post limit and any filters you need.
  4. Turn on Include comments if you need comment text. Each saved comment has a separate charge.
  5. Start the run, then open the dataset to review or export the posts.

You do not need to supply a Facebook login or cookies. Use the same monitor name for repeat runs of one search. To collect that search again with fresh history, use a new monitor name.

⚙️ Input

Only the selected search method's input is used. Filters apply to all searches in the run. A form prefill is a suggested value in the input form; it is not a default for an omitted API field.

Input fields

FieldTypeWhat it does
searchMethodstringRequired. Use keywords or searchUrl. The form prefills keywords.
keywordsarray of stringsRequired for keywords. Add at least one nonempty keyword, phrase, or hashtag per entry. Keep phrases together. Exact duplicate entries are searched once. The form prefills ["gardening"].
searchUrlstringRequired for searchUrl. Full HTTPS Facebook /search/posts/ URL with a nonempty q query. Accepts facebook.com, www.facebook.com, and m.facebook.com. No URL fragment. Any encoded filters must be valid. URL filters stay in use.
maxPostsintegerTotal saved-post limit across the run. Use zero or a positive whole number. Omit or use 0 for all available matches. The form prefills 10; there is no schema upper limit.
sortOrderstringtop or recent. If omitted, keep the URL choice or use top results for keywords. Recent selection does not ensure time order. A recent-post URL with top stops the run; leave this field empty or use recent.
contentTypestringall, video, photo, link, or text. Video includes reels; photo includes albums. Omission uses all. Checks returned posts for either search method and keeps URL filters in use.
publicationContextstringall, groups, pagesAndProfiles, or businessPages. Omission uses all. Checks where returned posts appear and Facebook's publisher details. Business Pages must have Facebook map data. URL filters stay in use.
locationstringNumeric Facebook place ID or city or region name. Uses Facebook place links, not a radius. An ambiguous name stops the run; no place match returns no posts. Omission keeps the URL place filter, if present. Results include the matched place.
minReactionsintegerMinimum reaction count, as a whole number of zero or more. Omission or 0 adds no minimum. Unknown counts fail a positive minimum.
matchQuerybooleanDefault false. When true, post text must contain the whole query, ignoring letter case. Uses the matching keyword entry or the query in the URL.
textTermsarray of stringsEach nonempty entry must occur in post text, author name, or a shared link title, ignoring letter case. Keep phrases together. Omit or use an empty list for no extra text filter.
startDatestringInclusive lower UTC date bound. Use YYYY-MM-DD or a positive whole number with hour, day, week, or month, singular or plural. Relative times count back from run start. A date starts at 00:00 UTC. Omission keeps the URL lower bound or adds none.
endDatestringInclusive upper UTC date bound. Uses the same formats as startDate. A calendar date includes the whole UTC day. Omission keeps the URL upper bound or adds none. Must not be before the lower bound.
includeCommentsbooleanDefault false. When on, adds the public comments Facebook shows, with available author, date, reaction, and reply counts. When off, no comments are collected, regardless of the limit.
maxCommentsPerPostintegerDefault 10. Whole number of zero or more. When comments are on, collect up to this many per saved post, where available. 0 means all available comments. Does not change maxPosts. The run charge limit can reduce collection.
monitorNamestringNonempty name for saved post history. Repeat runs with the same name skip posts saved before. If omitted, the Actor creates a name from the search and its filters. Use a different name for a different search.

For example, relative dates can be 24 hours, 7 days, 2 weeks, or 1 month. When a URL already has a date or place filter, that filter stays in use. Supplied date bounds also check returned posts, and a supplied place must match the returned post. Conflicting filters can leave no matches.

Example input

This is the public input from the successful beta default-input run.

{
"maxPosts": 10,
"searchMethod": "keywords",
"keywords": [
"gardening"
],
"matchQuery": false,
"includeComments": false,
"maxCommentsPerPost": 10
}

🧾 Output

Output fields

FieldTypeWhat it does
postIdstringFacebook post ID.
postUrlstringFacebook link to the post.
searchInputstringKeyword, phrase, hashtag, or search URL that led to this saved match. Later matches are not added.
textstringPost text, when available.
publishedAtstringPublication date and time in UTC ISO 8601 format.
authorobjectAccount that published the post.
author.idstringFacebook account ID.
author.namestringDisplayed name.
author.urlstringProfile or Page link.
author.pictureUrlstringProfile picture link.
author.typestringAccount type stated by Facebook.
author.pageDetailsobjectAvailable publisher Page details.
author.pageDetails.createdAtstringPage creation date and time in UTC ISO 8601 format.
author.pageDetails.nameHistoryarray of objectsPage name changes shown by Facebook.
author.pageDetails.nameHistory[].namestringPage name for the change.
author.pageDetails.nameHistory[].changedAtstringName-change date and time in UTC ISO 8601 format.
author.pageDetails.hasActiveAdsbooleanFacebook's stated active-ad status. Omitted when unknown.
author.pageDetails.administratorCountriesarray of objectsAdministrator counts by country, not individual identities.
author.pageDetails.administratorCountries[].countrystringCountry name.
author.pageDetails.administratorCountries[].countintegerNumber of administrators reported for the country.
author.pageDetails.categoriesarray of stringsPage categories.
author.pageDetails.phoneNumbersarray of stringsPublic Page phone numbers.
author.pageDetails.emailsarray of stringsPublic Page email addresses.
author.pageDetails.addressesarray of stringsPublic Page addresses.
author.pageDetails.coordinatesobjectFacebook map coordinates.
author.pageDetails.coordinates.latitudenumberLatitude in decimal degrees.
author.pageDetails.coordinates.longitudenumberLongitude in decimal degrees.
author.pageDetails.openingStatusstringOpening-status label, not a weekly schedule.
reactionCountintegerReported total reactions. Unknown values are omitted.
commentCountintegerReported total comments. Unknown values are omitted.
shareCountintegerReported total shares. Unknown values are omitted.
reactionsarray of objectsAvailable counts by reaction type.
reactions[].typestringFacebook reaction name.
reactions[].countintegerReported count for this reaction.
photosarray of objectsAvailable photos and album images.
photos[].idstringFacebook photo ID.
photos[].urlstringFacebook photo page link.
photos[].downloadUrlstringDirect photo file link.
photos[].widthintegerImage width in pixels.
photos[].heightintegerImage height in pixels.
photos[].captionstringFacebook accessibility caption.
videosarray of objectsAvailable videos and reels.
videos[].idstringFacebook video ID.
videos[].urlstringFacebook video or reel link.
videos[].thumbnailUrlstringThumbnail image link.
videos[].durationSecondsnumberDuration in seconds.
videos[].viewCountintegerReported video views.
videos[].filesarray of objectsAvailable downloadable video versions.
videos[].files[].qualitystringSD or HD.
videos[].files[].downloadUrlstringDirect video file link.
videos[].originalWidthintegerOriginal video width in pixels, distinct from download dimensions.
videos[].originalHeightintegerOriginal video height in pixels, distinct from download dimensions.
linksarray of objectsExternal links shared in the post.
links[].urlstringShared outbound URL.
links[].titlestringLink preview title.
links[].descriptionstringLink preview description.
links[].imageUrlstringPreview image link.
links[].sourceDomainstringDomain shown in the preview.
originalPostobjectAvailable original post details for a reshare.
originalPost.postIdstringOriginal post ID.
originalPost.postUrlstringOriginal post link.
originalPost.textstringOriginal post text.
originalPost.authorobjectOriginal publisher account.
originalPost.author.idstringOriginal publisher ID.
originalPost.author.namestringOriginal publisher name.
originalPost.author.urlstringOriginal publisher profile or Page link.
originalPost.author.pictureUrlstringOriginal publisher picture link.
originalPost.author.typestringOriginal publisher type stated by Facebook.
groupobjectPublic group containing the post.
group.idstringGroup ID.
group.namestringGroup name.
group.urlstringGroup link.
placesarray of objectsPlaces tagged in or attached to the post.
places[].idstringPlace ID.
places[].namestringPlace name.
places[].urlstringPlace link.
searchPlaceobjectResolved search place matched to the post.
searchPlace.idstringMatched place ID.
searchPlace.namestringMatched place name.
searchPlace.urlstringMatched place link.
visibilitystringAudience label shown by Facebook.
contentTypestringPost or attachment type stated by Facebook. This differs from the input filter choice.
commentsarray of objectsPublic comments collected when enabled. May be only part of the thread.
comments[].idstringComment ID.
comments[].textstringComment text.
comments[].publishedAtstringComment publication time in UTC ISO 8601 format.
comments[].reactionCountintegerReported reactions to the comment.
comments[].replyCountintegerReported replies to the comment.
comments[].authorobjectAccount that wrote the comment.
comments[].author.idstringComment author ID.
comments[].author.namestringComment author name.
comments[].author.urlstringComment author profile or Page link.
comments[].author.pictureUrlstringComment author picture link.
comments[].author.typestringComment author type stated by Facebook.

Example row

This complete row comes from a successful beta run for travel posts linked to France. Optional fields vary by post.

{
"postId": "122113350200439631",
"postUrl": "https://www.facebook.com/permalink.php?story_fbid=pfbid02FeyUfNi2PG1jRSVJryRczj2ULX4BYKqRvjGatd327tQ7vr9XFk6VHc3HGuuLn8Esl&id=61563188955737",
"publishedAt": "2026-11-03T03:40:44.000Z",
"searchInput": "travel",
"text": "☀️ Good Morning from Beautiful Paris! 🇫🇷❤️\n\nImagine waking up to this breathtaking view of the Eiffel Tower, where golden sunshine meets the magic of Paris. ✨\n\nA beautiful morning, a peaceful atmosphere, and a city full of dreams. Paris truly has a special place in every travel lover's heart! 🥰\n\nWould you love to spend a morning here? ❤️\n\nComment \"PARIS\" if France is on your travel bucket list! 🇫🇷\n\n#PulseOfFrance #GoodMorningParis #EiffelTower #ParisFrance #BeautifulParis #FranceTravel #TravelDreams",
"author": {
"id": "61563188955737",
"name": "Pulse Of France ",
"url": "https://www.facebook.com/people/Pulse-Of-France/61563188955737/",
"pictureUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-1/680242297_2102339630309658_1161761036692744837_n.jpg?stp=c283.0.809.809a_cp0_dst-jpg_tt6&cstp=mx809x809&ctp=s50x50&_nc_cat=104&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=f4sZvCw_tywQ7kNvwFWcyCS&_nc_oc=AdpVkq4ekFOF7G5uEHU7sDQkxHY4yrPsu9ybUc612NEEvVlpJ28pwAYz-kHdeQS19OcIkj5ewDS_3NiPKCwwETmA&_nc_zt=24&_nc_ht=scontent-phl2-1.xx&_nc_gid=dj7g43V7JnQUyAf8RaD0-A&_nc_ss=70180&oh=00_AQSyJSXjsHnX3_8PfhanFFFRHYY3cvW9iOjGibgLeE1qpw&oe=6AF4D4C7",
"type": "User",
"pageDetails": {
"categories": [
"Gaming video creator"
],
"addresses": [
"25pue de pivoli,75004 paris, Paris, France, 75001"
],
"coordinates": {
"latitude": 48.85646,
"longitude": 2.35521
},
"phoneNumbers": [
"+33 6 12 34 56 78"
],
"emails": [
"pulseoffrance@gmail.com"
],
"createdAt": "2026-04-27T08:54:23.000Z",
"hasActiveAds": false,
"administratorCountries": [
{
"country": "Sri Lanka",
"count": 1
}
]
}
},
"reactionCount": 293,
"commentCount": 15,
"shareCount": 19,
"reactions": [
{
"type": "Like",
"count": 259
},
{
"type": "Love",
"count": 33
},
{
"type": "Care",
"count": 1
}
],
"visibility": "Public",
"places": [
{
"id": "105604449474183",
"name": "France",
"url": "https://www.facebook.com/France-105604449474183/"
}
],
"photos": [
{
"id": "122113350170439631",
"url": "https://www.facebook.com/photo/?fbid=122113350170439631&set=a.122098978886439631",
"downloadUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-6/865085312_122113350176439631_2065444966917574947_n.jpg?stp=dst-jpg_tt6&cstp=mx1079x1443&ctp=p526x296&_nc_cat=109&ccb=1-7&_nc_sid=833d8c&_nc_ohc=NMZMJoMzCvAQ7kNvwFcRAhH&_nc_oc=Adp6uSGpedgvqJ5vjmaq2aGyO4gg0DHuSXHYu3GwuTt2_ctvHvoIYeX9-9PWGhc20a84UTWhzntvdmL_U-jyQcZj&_nc_zt=23&_nc_ht=scontent-phl2-1.xx&_nc_gid=dj7g43V7JnQUyAf8RaD0-A&_nc_ss=70180&oh=00_AQT4DPHJruvTyQG9vxJ35aEqh58oFnDq1p1hCI9UPG4ThA&oe=6AF4F929",
"width": 526,
"height": 703
}
],
"contentType": "Photo",
"searchPlace": {
"id": "105604449474183",
"name": "France",
"url": "https://www.facebook.com/France-105604449474183/"
}
}

💳 Pricing

You pay for each unique public post saved and, when enabled, each public comment saved within a post. Page details and available media are part of the post charge.

Apify tierPer postPer comment
Free$0.00215$0.00110
Bronze$0.00215$0.00090
Silver$0.00215$0.00080
Gold$0.00215$0.00065
Platinum$0.00215$0.00065
Diamond$0.00150$0.00065

There is no start event in this Actor's pricing. A run with no saved posts or comments has no post or comment event charge. Posts skipped by filters or monitor history do not create these charges. Your run charge limit can stop collection before the requested count.

🔌 Integrations

Download the Apify dataset as JSON, CSV, or Excel, or read it through the Apify API. Use Apify schedules for repeat searches with the same monitor history.

❓ FAQ

Why did a repeat search return no posts?

The monitor skips posts it saved before. The same search and filters use the same history when you leave the monitor name empty. Use a new name for fresh history. Filters and Facebook's available search results can also leave no matches.

Why do recent results include older posts?

Recent posts is Facebook's selection, not a promise of strict time order. A monitor returns posts it has not saved before, even if they have older dates. Use date bounds when you need a set time window.

Does a place filter mean posts near that place?

It checks the place Facebook links to the post. It does not search within a distance. Use a numeric Facebook place ID if a name matches more than one place.

Why is the comment list shorter than the comment count?

Facebook may show only part of the thread. Your per-post limit and run charge limit can also reduce the saved list. Use 0 to request all available comments, with comments enabled.

Does every post have Page details or media files?

No. The Actor includes these fields when available. A raw account type can remain User even when Facebook links that publisher to Page details. Missing optional data does not exclude the post.

Can I use a search URL with filters?

Yes. The Actor keeps URL filters and adds the selected checks. Content and publisher choices check returned posts. Date and place filters must also match. If a URL selects recent posts, do not choose Top results.

Is this a full archive of Facebook posts?

No. Results depend on Facebook's public search coverage and your filters. A post limit sets a maximum, not a promised number of posts.

📝 Changelog

v0.0 (07-11-2026)

  • Initial release.

🆘 Support

For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡

Made with ❤️ by Maxime Dupré