Facebook Search Scraper
This Actor is paid per event
Facebook Search Scraper
This Actor is paid per event
Extract Facebook data from pages that match your search query. Get page URL, address, email, website, check-ins, creation date, ad status, category, follower count, messenger link, and more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
Do you want to learn more about this Actor?
Get a demo🕵️♀️ What is Facebook Search Scraper?
Facebook Search Scraper is an easy-to-use scraping tool that allows you to scrape Facebook pages by keywords. This tool will help you extract Facebook page contact information: addresses, email, likes, websites, check-ins, and phone numbers.
🔎 What can this Facebook scraper do?
Facebook Search Scraper is a data extraction tool created to go beyond the limitations of Facebook API. If a Facebook page matches your search query, the scraper will extract that page's data. With this scraping tool, you can:
🗝 Scrape a bunch of Facebook pages by keyword
📍 Specify Facebook scraping by location (indicate country, city, province)
👩💼 Scrape business profiles only or include personal profiles that match your query
🔎 Set up sorting logic by Facebook search or by Google Search
☄️ Get 1,000 results for free
⬇️ Download Facebook search data in Excel, CSV, JSON, and other formats
If you need details from specific Facebook Pages, you can use Facebook Pages Scraper 🔗, which scrapes available details from each Facebook page based on its URL. And if you want to scrape contact details from specific Facebook Pages by handles or URLs, you can use Facebook Pages Contact Info Scraper 📱.
🔑 What data can Facebook Search Scraper extract?
Facebook Search Scraper crawls specified search queries and locations and extracts Facebook pages details such as:
📇 Page name and URL | 📑 Page categories |
🌐 Website | 📧 Email address |
🏠 Address | 📱 Phone number |
👥 Followers | 👍 Likes |
🔗 Social media links | ⭐ Rating and rating count |
🆔 Facebook ID and page description | 🗣 Messenger link |
📅 Creation date | 📢 Ad status |
🌐 How do I use Facebook Search Scraper?
Facebook Search Scraper is designed to be user-friendly, even for those who have never extracted data from the web before. Here’s how you can use Facebook Search Scraper to extract pages data from Facebook search results:
- Create a free Apify account.
- Open Facebook Search Scraper.
- Enter your search term and location.
- Click the “Start” button and wait for the data to be extracted.
- Download your data in JSON, CSV, Excel, XML or HTML.
🌍 What can you do with scraped Facebook Search data?
🤺 Competition monitoring
🔍 Market research or analysis
🔥 Monitoring trends and brand sentiment
🤳 Social media analysis
🥸 Identifying hot spots of misinformation
⬇️ Input example
You can scrape Facebook Search by search query and by location. If a Facebook page matches your search keyword, the scraper will extract that page's data. You can add as many keywords and locations as you want. For a full explanation of input including an example in JSON, head over to the input tab.
1{ 2 "categories": [ 3 "design" 4 ], 5 "locations": [ 6 "prague" 7 ], 8 "searchOnlyAboutSection": true 9}
You can set up the input programmatically or use the fields in scraper’s interface:
⬆️ Output example
The scraped Facebook Search data will be shown as a dataset which you can find in the Output tab. Note that the output is organized as a table for viewing convenience:
And here is the same data but in JSON. You can choose in which format to download your Facebook search data: JSON, JSONL, Excel, HTML table or CSV.
1[{ 2 "facebookUrl": "https://www.facebook.com/Jordanmcinnisdesigns/", 3 "categories": [ 4 "Page", 5 "Graphic Designer" 6 ], 7 "info": [ 8 "Jordan Mcinnis Designs, Montreal, Quebec. 88 likes. I'm Jordan Mcinnis, Montreal based Graphic & Web Designer. I Design Websites, Logo, Apps and Many..." 9 ], 10 "likes": 88, 11 "messenger": null, 12 "title": "Jordan Mcinnis Designs | Montreal QC", 13 "address": "4972 belleville, Montreal, QC, Canada, Quebec https://maps.google.com/maps?q=4972+belleville%2C+Montreal%2C+QC%2C+Canada%2C+Quebec&hl=en", 14 "pageId": "100068579062225", 15 "pageName": "Jordanmcinnisdesigns", 16 "pageUrl": "https://www.facebook.com/Jordanmcinnisdesigns/", 17 "phone": "+1 514-716-0922", 18 "email": "mcinnisj.design@gmail.com", 19 "website": "jordanmcinnis.com", 20 "rating": "5.0 (6 Reviews)", 21 "ratingOverall": 5, 22 "ratingCount": 6, 23 "followers": 86, 24 "creation_date": "October 2, 2017", 25 "ad_status": "This Page is not currently running ads.", 26 "facebookId": "100068579062225", 27 "pageAdLibrary": { 28 "is_business_page_active": false, 29 "id": "1449158455201923" 30 } 31}, 32{ 33 "facebookUrl": "https://www.facebook.com/MKDCLangley/", 34 "categories": [ 35 "Page", 36 "Kitchen & bathroom contractor" 37 ], 38 "info": [ 39 "Merit Kitchens Design Centre Langley, Langley, British Columbia. 324 likes", 40 "1 talking about this", 41 "10 were here. Along with being an exclusive dealer of..." 42 ], 43 "likes": 324, 44 "messenger": null, 45 "priceRange": "££", 46 "title": "Merit Kitchens Design Centre Langley | Langley BC", 47 "address": "Unit 150 - 19888 Langley Bypass, Langley, BC, Canada, British Columbia https://maps.google.com/maps?q=Unit+150+-+19888+Langley+Bypass%2C+Langley%2C+BC%2C+Canada%2C+British+Columbia&hl=en", 48 "pageId": "100063562495135", 49 "pageName": "MKDCLangley", 50 "pageUrl": "https://www.facebook.com/MKDCLangley/", 51 "phone": "+1 604-532-7197", 52 "email": "langley@merit-kitchens.com", 53 "website": "meritdesignlangley.com", 54 "rating": "4.2 (8 reviews)", 55 "ratingOverall": 4.2, 56 "ratingCount": 8, 57 "followers": 355, 58 "creation_date": "May 15, 2012", 59 "ad_status": "This Page is not currently running ads.", 60 "about_me": { 61 "text": "Merit Kitchens was founded by craftspeople in Vancouver, British Columbia, Canada in 1971. Since opening, they began providing Western Canada with high-quality standard and customized kitchen cabinets. The company has long since grown into a world-class supplier of beautiful custom made to order cabinetry with many price points to accommodate most budgets. Today, Merit Kitchens products can be found in homes throughout Canada, the United States, and parts of Asia.\n\nAt Merit Kitchens, we are committed to researching the latest cabinetry trends and techniques and continually blending them with strong, traditional expert construction.\n\nAll our products are manufactured and assembled in our state-of-the-art facility, in British Columbia, where we pair the precision of modern machinery technology with the delicate touch of hand-finishing. \n\nMerit Kitchens Design Centre in Langley offers the complete line of Merit Kitchens cabinets and Lectus cabinets. We also work with top suppliers in counter tops, appliances, and other design elements to help you save time and money. With the help from one of expert designers and professional installers, we will help turn your dream kitchen or bathroom into your reality.", 62 "urls": [] 63 }, 64 "facebookId": "100063562495135", 65 "pageAdLibrary": { 66 "is_business_page_active": false, 67 "id": "236732366428351" 68 } 69}, 70{ 71 "facebookUrl": "https://www.facebook.com/mmdesignswindsor/", 72 "categories": [ 73 "Page", 74 "Screen Printing & Embroidery" 75 ], 76 "info": [ 77 "M & M Designs, Windsor, Ontario. 335 likes. We are your premier source for promotional products and custom printing. We offer screen printing, e" 78 ], 79 "likes": 335, 80 "messenger": null, 81 "title": "M & M Designs | Windsor ON", 82 "address": "3395 Howard Ave, Windsor, ON, Canada, Ontario https://maps.google.com/maps?q=3395+Howard+Ave%2C+Windsor%2C+ON%2C+Canada%2C+Ontario&hl=en", 83 "pageId": "100069457230966", 84 "pageName": "mmdesignswindsor", 85 "pageUrl": "https://www.facebook.com/mmdesignswindsor/", 86 "phone": "+1 519-982-5252", 87 "email": "mmdesigns@outlook.com", 88 "website": "gifts-promotions.com", 89 "rating": "Not yet rated (1 Review)", 90 "ratingOverall": null, 91 "ratingCount": 1, 92 "followers": 336, 93 "creation_date": "January 31, 2010", 94 "ad_status": "This Page is not currently running ads.", 95 "facebookId": "100069457230966", 96 "pageAdLibrary": { 97 "is_business_page_active": false, 98 "id": "279552274420" 99 } 100}]
🚩 Want to try other Facebook scraping tools?
Use the dedicated scrapers below if you want to scrape specific public data from Facebook. Each of them is built particularly for the relevant scraping case be it Facebook comments, posts from Facebook groups, Facebook events, images or page reviews. Feel free to browse them:
❓FAQ
Is there a Facebook Search API?
Facebook search does not offer an official API for public use. This means there isn't a dedicated Application Programming Interface provided by Facebook specifically for Facebook search data. There is a similarly named official Facebook Pages Search API which does allow extracting data from Facebook pages under certain conditions (app review approval, user authentication). However, the official Facebook Pages API doesn't allow extracting pages data by keyword. But you can use scrapers and crawlers as a stand-in for a web scraping API to extract details from Facebook Pages by keyword, e.g. 🕵️♀️ Facebook Search Scraper.
Can I use Facebook Search Scraper data with API?
Yes, you can do so by using Apify API. It gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify Actors such as this one. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.
To access the API using Node.js, use the apify-client
NPM package. To access the API using Python, use the apify-client
PyPI package.
Check out the Apify API reference docs for full details or click on the API tab for code examples and API Endpoints.
Can I create a Facebook search integration using data from this scraper?
Yes. Facebook Search Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Zapier, Slack, Make, Airbyte, GitHub, Google Sheets, Google Drive, LangChain and more.
Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Facebook Search Scraper successfully finishes a run.
Can I use this Facebook Search API in Python?
Yes, by using Apify API. To access the Facebook Search API using Python, use the apify-client
PyPI package. You can find more details about the client in our Docs.
Is it legal to scrape data from Facebook search?
It is legal to scrape publicly available data from Facebook search. However, you should always review and comply with Facebook's terms of service and any applicable laws and regulations regarding web scraping. Additionally, be mindful of any rate limits or restrictions imposed by Facebook to avoid potential issues. You can read more about the legality of web scraping from our blogpost.
Not your cup of tea? Build your own Facebook scraper.
Facebook Search Scraper doesn’t exactly do what you need? You can always build one of your own! We have various web scraping templates in Python, JavaScript, and TypeScript to get you started. Alternatively, you can write it from scratch using our open-source library Crawlee. You can keep the scraper to yourself or make it public by adding it to Apify Store (and find users for it).
Your feedback
We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Facebook Search Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.
Actor Metrics
63 monthly users
-
2 stars
99% runs succeeded
1.6 days response time
Created in Jan 2024
Modified 2 days ago