Facebook Pages Search avatar
Facebook Pages Search
Try for free

2 hours trial then $40.00/month - No credit card required now

View all Actors
Facebook Pages Search

Facebook Pages Search

Try for free

2 hours trial then $40.00/month - No credit card required now

With more than 200M pages of businesses around the world, searching companies on Facebook is a must have when it comes to search for B2B leads. Enter the locations, the categories and keywords you're looking for and be ready to act on the results.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode




1from apify_client import ApifyClient
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
6# Prepare the Actor input
7run_input = {
8    "locations": ["New York"],
9    "categories": ["Real Estate"],
10    "maxResults": 100,
13# Run the Actor and wait for it to finish
14run = client.actor("roundedge/facebook-pages-search").call(run_input=run_input)
16# Fetch and print Actor results from the run's dataset (if there are any)
17for item in client.dataset(run["defaultDatasetId"]).iterate_items():
18    print(item)
Maintained by Community
Actor metrics
  • 73 monthly users
  • 81.1% runs succeeded
  • 36.2 days response time
  • Created in Jan 2022
  • Modified 5 months ago