Actor picture

Facebook Pages Search

gabindesserprit/facebook-pages-search

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.

Free trial for 7 days

Then $40/month

No credit card required now

Author's avatarGabin Desserprit
  • Modified
  • Users86
  • Runs1,330
Actor picture
Facebook Pages Search

Free trial for 7 days

Then $40/month

New: Use the Facebook Search Inputs Generator

Note

Results are optimistic. They may not all match the location (but will match the categories).

How to search for Facebook Pages?

  1. locations (required)

Places over the world (city, region, state or country) that you can use to search from. There is a defined list of available locations you can target but you may enter free text that we'll be matched with the available locations.

(Locations will be rotated. Putting too many locations for just a few research won't make use of all of them.)

Example: Massachusetts,United States or Suffolk County,Massachusetts,United States
  1. Categories (to be choosed from a list)

A list of categories to match what a page creator choosed to be referenced for on Facebook. There is a defined list of available categories you can target but you may enter free text that we'll be matched with the available categories.

(Categories will be rotated. Putting too many categories for just a few research won't make use of all of them.)

Example: Businesses, Visual Effects Artist or Advertising/Marketing
  1. Maximum of results

If you don't want it to be searching for results forever you might want to set the maximum of results you would like to get. (Half kidding here, it might dig way more than you expected to).

(Setting a maximum of results will be balanced with the maximum of searches, if you set one. The script will stop at the first limitation.)

Example: 100, 3400 or 20000
  1. Maximum of searches

If you don't want it to be searching (making SERP requests) forever you might want to set the maximum of searches you would like to get. (Half kidding here, it might dig way more than you expected to).

(Setting a maximum of searches will be balanced with the maximum of results, if you set one. The script will stop at the first limitation.)

Example: 1, 200, 10000

Features

Our Facebook Pages Search engine acts as an unofficial Facebook API to let you crawl Facebook Pages. The data you extract can be saved and used however you want.

Input

{
  "queries": [
    "maintenance",
    "backyard",
    "lawnscape",
    "residential",
    "green",
    "quality",
    "local",
    "affordable",
    "business",
    "profile",
    "lawn care",
    "design",
    "mulching"
  ],

  "locations": [
    "Massachusetts,United States",
    "Suffolk County,Massachusetts,United States",
    "Boston,Massachusetts,United States",
    "02118,Massachusetts,United States"
  ],

  "categories": ["Landscape Company"],

  "maxSearches": 20
}

Output

Example of data that will be returned within the dataset.

[
  {
    "url": "https://www.facebook.com/328911103805462",
    "title": "THE GROWING BUSINESS landscape technologies - Facebook",
    "description": "THE GROWING BUSINESS landscape technologies. 116 likes. Landscape Company. ... THE GROWING BUSINESS landscape technologies, profile picture. Log In.",
    "identifier": "THE-GROWING-BUSINESS-landscape-technologies-328911103805462"
  },

  {
    "url": "https://www.facebook.com/101004422096938",
    "title": "Excellandscape - Home | Facebook",
    "description": "Your business deserves a great looking landscape... We can help! Complete landscape maintenance services ✓Clean up ✓Hedge trimming...",
    "identifier": "Excellandscape-101004422096938"
  },

  {
    "url": "https://www.facebook.com/605061619592282",
    "title": "Lissa's Landscape Company - Home | Facebook",
    "description": "We provide landscape services, design, installation, and maintenance. Add some aesthetic appeal to your home or business with reliable services from our ...",
    "identifier": "Lissas-Landscape-Company-605061619592282"
  },

  {
    "url": "https://www.facebook.com/101409635531992",
    "title": "Fescue911 Lawncare - Home | Facebook",
    "description": "Fescue911 Lawncare. Landscape Company · VA-143, Newport News, VA 23601, United States Newport News, VA, VA 23601 · (757) 232-2076 · fescue911lawncare-llc.business.",
    "identifier": "Fescue911-Lawncare-101409635531992"
  },

  {
    "url": "https://www.facebook.com/406065096907541",
    "title": "Landscape and Design - Home | Facebook",
    "description": "Looking to get Online with a budget that best suits you? Not only do we have a range of packages to fit all types of Businesses, but We are also now ...",
    "identifier": "Landscape-and-Design-406065096907541"
  },

  {
    "url": "https://www.facebook.com/204205523431411",
    "title": "The Peter Ferrandino Group Inc. - Home | Facebook",
    "description": "Landscape Company. ·. Agricultural Cooperative. Price Range · $$$$. As a national provider of landscape maintenance and snow removal services, ...",
    "identifier": "The-Peter-Ferrandino-Group-Inc-204205523431411"
  },

  {
    "url": "https://www.facebook.com/261508481369003",
    "title": "Abarca Landscape Company - Home | Facebook",
    "description": "2 people checked in here · http://abarca-landacape-company.business.site/ · (951) 403-8715 · Landscape Company · Price Range · $$.",
    "identifier": "Abarca-Landscape-Company-261508481369003"
  },
  ...
]

Limitations

  • The Facebook pages are located as much as possible close to the provided locations. While we run our magic in the background it also as to do with the queries you provide.

Cost of usage

There are two main components to take into account if you want to run Facebook Scraper on the Apify platform:

  • Compute units - Used for running the scraper.

  • Minimum Actor memory - Recommanded to use 2048MB in memory for conccurency optimization.

  • Proxy - To run this actor, you will need to have access to SERP proxies.

The usage costs is mainly dependent on the number of searches (1 search = 1 SERP) you'll run. Setting the maxSearches or maxResults is key.

Next step: Scrape the Facebook Pages you just found!

For scraping targeted Facebook data such as comments and posts, you can use one of our mini-scrapers. They have fewer settings to configure and deliver results faster. Just enter one or more post URLs and click to scrape.

If you want to full thing, check out out our Facebook Page Scraper.

Reach out if you need a custom Facebook scraping solution.

Industries

See how Facebook Pages Search is used in industries around the world