Facebook Events Scraper
by apify
Need to pull event data from Facebook without the manual hassle? This Facebook Events Scraper does the heavy lifting for you. I use it to grab clean,...
Opens on Apify.com
About Facebook Events Scraper
Need to pull event data from Facebook without the manual hassle? This Facebook Events Scraper does the heavy lifting for you. I use it to grab clean, structured data from any public Facebook event. Feed it a specific event URL, and it'll extract the event name, location, full description, and the count of interested users. But where it really shines is with search. You can throw in a search query—like "tech meetups in Berlin" or "yoga classes"—and let it explore. It handles various search filters, so you can narrow down by date, location, or category, making the results incredibly relevant. The beauty is in the scale. You're not limited to a handful of links. You can set it to run through thousands of events based on your search parameters, which is perfect for market research, lead generation, or building a local events calendar. I've used the output for competitor analysis and to populate databases for event aggregation sites. Just configure your search terms or paste your list of URLs, and it returns the data in a structured format like JSON or CSV, ready for your spreadsheet or application. It's a straightforward way to get the event data you need, directly from the source.
What does this actor do?
Facebook Events Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
What is Facebook Events Scraper and how does it work? Meet our Facebook Events Scraper! This tool is designed to extract data for events organized and promoted on Facebook. It enables you to scrape Facebook in three ways:
🔎 By search query. Search and scrape Facebook events by providing a text query, let's say comedy. This way you can come up with search queries and explore pretty much unlimited number of events. You can also search by location, let's say Chicago. Or you can combine both previous search and go for comedy Chicago.
🎯 By search query + filters. Combine search queries with various other search filters. You can filter out paid-only events, online events or events taking place in a specific city, or on a specific date. All you need to do is to set up the filters on Facebook's event search page, copy the URLs and paste them to startUrls input field 👇. Our scraper will recognize the filters since Facebook includes them in search URLs.
🔗 By event URL. Give the scraper URLs of specific events: one or multiple. It will scrape all the available information for each of the chosen events. You can also input search and explore URLS as shown 👇.
- https://www.facebook.com/events/1023978871819924 - https://www.facebook.com/events/search/?q=Party - https://www.facebook.com/events/explore/fr-paris/110774245616525 - https://www.facebook.com/events/search?q=Comedy&sde=AbrQ9KopLfqYT7heXVVCxznkZYxRr9hU1JA4cdLbJhjgs56yyeHW3e833A9dGP1WlEHOyagjWyFL9Y79gw-Ko1iVuJCILVkpVsHkmSbBFb3SEA&filters=eyJmaWx0ZXJfZXZlbnRzX2NhdGVnb3J5OjAiOiJ7XCJuYW1lXCI6XCJmaWx0ZXJfZXZlbnRzX2NhdGVnb3J5XCIsXCJhcmdzXCI6XCIyMTA0MTIxMTM5ODUwMTAwXCJ9IiwicnBfZXZlbnRzX2xvY2F0aW9uOjAiOiJ7XCJuYW1lXCI6XCJmaWx0ZXJfZXZlbnRzX2xvY2F0aW9uXCIsXCJhcmdzXCI6XCIxMDg0MjQyNzkxODkxMTVcIn0iLCJmaWx0ZXJfZXZlbnRzX2RhdGVfcmFuZ2U6MCI6IntcIm5hbWVcIjpcImZpbHRlcl9ldmVudHNfZGF0ZVwiLFwiYXJnc1wiOlwiMjAyMy0wMi0yNX4yMDIzLTAyLTI2XCJ9In0%3D For pages recent events can be scraped by URLs like: - https://www.facebook.com/dcimprovcomedyclub/upcoming_hosted_events - https://www.facebook.com/O.Vienna/past_hosted_events Please note that pattern https://www.facebook.com/PAGENAME/events is for logged Facebook users only and will not return any scraped events for pages. For groups however it's opposite: recent events available only by pattern https://www.facebook.com/groups/freerussiansglobal/events as both upcoming and past events. You need to be able to provide correct URLs to get recent events from pages or groups. Last but not least - pages or groups rarely host a lot of events, so actor will get only recent ones (without scrolling). To get more per page or group please run actor by schedule. ## What Facebook Events data can I extract? With this Facebook Scraper API, you will be able to extract the following Facebook data:
| 💃 Event name | 👨💼 Organizer info |
| 📃 Description | 💰 Price |
| 🗺 Location and address | 🎫 Tickets info |
| 💰 Paid content | 💻 Online event and recording available |
| 📆 Start date & time | ⌚ Past event |
| ⏳ Duration | 📷 Image |
json [ { "debugMode": false, "maxEvents": 150, "proxy": { "apifyProxyGroups": [ "RESIDENTIAL" ] }, "startUrls": [ "https://www.facebook.com/events/search?q=Comedy&sde=AbrQ9KopLfqYT7heXVVCxznkZYxRr9hU1JA4cdLbJhjgs56yyeHW3e833A9dGP1WlEHOyagjWyFL9Y79gw-Ko1iVuJCILVkpVsHkmSbBFb3SEA&filters=eyJmaWx0ZXJfZXZlbnRzX2NhdGVnb3J5OjAiOiJ7XCJuYW1lXCI6XCJmaWx0ZXJfZXZlbnRzX2NhdGVnb3J5XCIsXCJhcmdzXCI6XCIyMTA0MTIxMTM5ODUwMTAwXCJ9IiwicnBfZXZlbnRzX2xvY2F0aW9uOjAiOiJ7XCJuYW1lXCI6XCJmaWx0ZXJfZXZlbnRzX2xvY2F0aW9uXCIsXCJhcmdzXCI6XCIxMDg0MjQyNzkxODkxMTVcIn0iLCJmaWx0ZXJfZXZlbnRzX2RhdGVfcmFuZ2U6MCI6IntcIm5hbWVcIjpcImZpbHRlcl9ldmVudHNfZGF0ZVwiLFwiYXJnc1wiOlwiMjAyMy0wMi0yNX4yMDIzLTAyLTI2XCJ9In0%3D" ], "searchQueries": [] } ] ## Output sample Once the scraper collects data for the first event, you'll see an output visualization on Apify platform. The output will look similar to the following example generated for Comedy search query:
You can of course export all extracted events to the format of your choice for easy postprocessing. We support JSON, CSV, XML, RSS, HTML Table, JSONL and Excel. Here's an excerpt from the JSON dataset you'd get: json { "url": "https://www.facebook.com/events/1330679037525139/", "id": "1330679037525139", "name": "Stand Up Comedy", "dateTimeSentence": "SAT, FEB 25", "utcStartDate": "2023-02-26T01:00:00.000Z", "imageUrl": "https://scontent-frt3-2.xx.fbcdn.net/v/t39.30808-6/333102347_1229452008008092_7759957056661117666_n.jpg?stp=c0.62.168.112a_dst-jpg_p168x128&_nc_cat=110&ccb=1-7&_nc_sid=340051&_nc_ohc=drED8P15iu8AX_whbVz&_nc_ht=scontent-frt3-2.xx&oh=00_AfAJIcm32ZrwUI-eJMr_VxecAjurSa3SySjL079b9ql6jw&oe=64040E22", "imageCaption": "May be an image of 4 people and text that says 'Stand up COMEDY SAT 2/25-8pm HEADLINING MARY DIMINO Ladies of Laughter CHRIS RICH USO Tour FEATURING DINO BARDIS STEVE BARBERESI SPECIAL GUEST JULIAN SAUL M TICKET PRICE: S10 No Drink Minimum HUB17 WAVE STREET STATEN ISLAND NY 10304'", "duration": null, "description": "Headlining Mary Dimino \n$10\nhttp://www.onwavestreet.com/events/2023/2/25/stand-up-comedy-in-the-gallery", "usersGoing": 1, "usersInterested": 0, "usersResponded": 1, "location": { "url": "https://facebook.com/hub17nyc", "id": "1577514862497917", "name": "Hub 17 NYC", "contextualName": "New York, NY, United States", "placeType": "PLACE", "latitude": 40.629799557735, "longitude": -74.077178835869, "countryCode": "US", "streetAddress": "73 Wave St", "city": "New York, NY, United States" }, "ticketsInfo": null, "organizedBy": "Event by Hub 17 NYC", "organizators": [ { "id": "100064406033772", "url": "https://www.facebook.com/hub17nyc", "name": "Hub 17 NYC", "isVerified": false } ], "eventType": "PUBLIC", "privacyInfo": "Public · Hosted by Hub 17 NYC", "isPast": true, "isOnline": false, "paidContent": false, "isClassEvent": false, "isLiveAudioRoom": false, "isRemoteLearningClass": false, "isRemoteLearningCourse": false, "groupEventPinnedToFeatured": false, "hasRecordingAvailable": false, "discoveryCategories": [ { "url": "https://www.facebook.com/events/discovery/?suggestion_token=%7B%22event_categories%22%3A%5B660032617536373%5D%7D", "label": "Comedy" } ], "externalLinks": [ "http://www.onwavestreet.com/events/2023/2/25/stand-up-comedy-in-the-gallery" ] }, { "url": "https://www.facebook.com/events/343447954420125/", "id": "343447954420125", "name": "Hi Hello Comedy Show", "dateTimeSentence": "FRI, MAR 10 AT 7:30 PM EST", "utcStartDate": "2022-04-08T23:30:00.000Z", "imageUrl": "https://scontent-frt3-2.xx.fbcdn.net/v/t39.30808-6/278053533_3116259105290534_3428247187624626142_n.jpg?stp=c250.0.1500.1000a_dst-jpg_s168x128&_nc_cat=111&ccb=1-7&_nc_sid=340051&_nc_ohc=6hX5qI0v65YAX85Otj5&_nc_ht=scontent-frt3-2.xx&oh=00_AfDDT6IGAl7Ni38pZ1Z5w8NUMuv5n0GuFbhWu_0lJd_lLQ&oe=640526CE", "imageCaption": "No photo description available.", "duration": "337 days", "description": "Hi, Hello is a standup comedy show at Fiction Bar/Cafe in Williamsburg. Comics as seen on The Tonight Show, Colbert, Netflix, Comedy Central\n\nHi Hello Comedy Show is a line up of comedians you've seen on Netflix, HBO, Comedy Central, and Late Night, bringing their stand up comedy to an intimate hidden gem venue in Brooklyn.\nWe're located at Fiction Bar/Cafe in Williamsburg (308 Hooper St, Brooklyn), every other Friday. In addition to the show, there's also a $10 beer - shot drink special!\nDoors at 7:00, comedy show at 7:30\nQuestions? DM us on instagram at @hihellocomedyshow or shoot us an email hihellocomedy@gmail.com", "usersGoing": 0, "usersInterested": 15, "usersResponded": 15, "location": { "url": null, "id": "960353104680520", "name": "308 Hooper Street,Brooklyn,11211,US", "contextualName": null, "placeType": "TEXT", "latitude": 40.70723, "longitude": -73.95374, "countryCode": "US", "streetAddress": null, "city": null }, "ticketsInfo": { "buyUrl": "https://www.eventbrite.com/e/hi-hello-comedy-show-tickets-222708124997?aff=efbevent", "price": null, "title": "Tickets · $5", "subtitle": "via Eventbrite", "ticketProvider": "Eventbrite" }, "organizedBy": "Event by Hi Hello Comedy Show", "organizators": [ { "id": "100083312802587", "url": "https://www.facebook.com/people/Hi-Hello-Comedy-Show/100083312802587/", "name": "Hi Hello Comedy Show", "isVerified": false } ], "eventType": "PUBLIC", "privacyInfo": "Public · Hosted by Hi Hello Comedy Show", "isPast": false, "isOnline": false, "paidContent": false, "isClassEvent": false, "isLiveAudioRoom": false, "isRemoteLearningClass": false, "isRemoteLearningCourse": false, "groupEventPinnedToFeatured": false, "hasRecordingAvailable": false, "discoveryCategories": [ { "url": "https://www.facebook.com/events/discovery/?suggestion_token=%7B%22event_categories%22%3A%5B660032617536373%5D%7D", "label": "Comedy" } ], "externalLinks": [] }, ] ... ## Want to scrape Facebook reviews or groups? You can use the dedicated scrapers below if you want to scrape specific Facebook data. Each of them is built particularly for the relevant Facebook scraping case be it a group, reviews, comments or photos. Feel free to browse them: - Facebook Comments Scraper - Facebook Groups Scraper - Facebook Posts Scraper - Facebook Reviews Scraper ## Integrations and Facebook Events Scraper Last but not least, Facebook Events Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Facebook Events Scraper successfully finishes a run. ## Using Facebook Events Scraper with the Apify API The Apify API 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. 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. ## Is it legal to scrape Facebook Events data? Our Facebook scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping. ## Need other social media scrapers? We have many more social media related scrapers for you to try, such as Facebook Pages Scraper, Instagram Scraper, Twitter Scraper, TikTok Scraper or Reddit Scraper. If you're interested in those, browse the Social media Category in Apify Store. ## Not your cup of tea? Build your own scraper Facebook Events Scraper doesn’t exactly do what you need? You can always build your own! We have various scraper 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). Or let us know if you need a custom scraping solution. ## Your feedback We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Facebook Events Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Facebook Events Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- apify
- Pricing
- Paid
- Total Runs
- 524,814
- Active Users
- 1,994
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support