# Facebook Marketplace Bulk Scraper Pro (`hello.datawizards/facebook-bulk-scraper-pro`) Actor

Facebook Bulk Scraper Pro Test helps you extract Facebook Marketplace listings based on location and keywords. Get product titles, prices, images, and location data in bulk. Perfect for resale tracking, lead generation, or pricing analysis. Proxy use is required for smooth operation.

- **URL**: https://apify.com/hello.datawizards/facebook-bulk-scraper-pro.md
- **Developed by:** [datawizards](https://apify.com/hello.datawizards) (community)
- **Categories:** Automation, Social media, E-commerce
- **Features:** Limited permissions
- **Stats:** 37 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / actor start

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Facebook Bulk Scraper Pro

Search and Extract Facebook Marketplace Listings in Bulk!
**Facebook Bulk Scraper Pro** allows you to search listings across Facebook Marketplace based on keywords and location, delivering clean, structured data for resale, trend analysis, or lead generation.

> `Note: Please activate RESIDENTIAL Proxy to get uninterrupted results.`
> Running without proxy may lead to blocks or limited data retrieval due to Facebook's protection mechanisms.

***

### 🔍 How this Facebook Bulk Scraper Works

- Simply rent and run the **Facebook Bulk Scraper Pro**.
- Input the desired **location** (e.g., “Texas”) and **search keyword** (e.g., “bike”).
- The scraper will automatically crawl through Facebook Marketplace listings matching your search, and return detailed results such as product title, price, image, and location.

***

### 🧾 Input Configuration

Here is an example input configuration to get started:

```json
{
    "location": "Texas",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "search_queries": "bike"
}
```

***

### 📦 Output Result Sample

Once the scraper completes, you will receive a structured list like the following:

```json
[
  {
    "Title": "Diamondback Wildwood Deluxe Bike",
    "Image_url": "https://scontent.fbel5-1.fna.fbcdn.net/v/t45.5328-4/525325705_1390931915534474_7706161137840132837_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=107&ccb=1-7&_nc_sid=247b10&_nc_ohc=xhVsPFv6Bc0Q7kNvwGwfbEf&_nc_oc=Adl4oLHt7pRkO7BRw1_gn3w4SfljJOSMF8NPaN09lKTYwjkUO2RbvWteJW7hAPkioyP8vE5mgc3QLVSA4HvOAo_o&_nc_zt=23&_nc_ht=scontent.fbel5-1.fna&_nc_gid=QcRdlt4FpOiDlV5ulRBc8w&oh=00_AfXlTbRMqf05qgQq8cCsc18GXvMxzOFAgrzk5WBm2hW-Jg&oe=68A2837B",
    "Previous_amount": "$75",
    "Amount": "75.00",
    "Location_display_name": "League City, Texas",
    "Location": "League City",
    "State_Abbreviations": "TX",
    "Pending": false,
    "Sold_item": false,
    "Url": "https://www.facebook.com/marketplace/item/2565812257151364/?ref=search&referral_code=null&referral_story_type=post&_rdc=1&_rdr"
  }
]
```

***

### 🧠 What You Can Do With This Actor

- Track pricing trends on Facebook Marketplace.
- Monitor items in specific locations.
- Extract clean leads for second-hand electronics or other categories.
- Build data dashboards or feed into sales/research tools.

***

#### 📩 Support

For bugs, enhancements, or tailored outputs, contact:
📧 **<hello.datawizard@gmail.com>**
🔗 [LinkedIn - Data Wizards](https://linkedin.com/in/data-wizards-aa8080342)

# Actor input Schema

## `search_queries` (type: `string`):

search_queries is required

## `location` (type: `string`):

Search query is required

## `itemLimit` (type: `integer`):

Specifies the maximum number of items to process.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "search_queries": "bike",
  "location": "Texas",
  "itemLimit": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search_queries": "bike",
    "location": "Texas",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hello.datawizards/facebook-bulk-scraper-pro").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "search_queries": "bike",
    "location": "Texas",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hello.datawizards/facebook-bulk-scraper-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search_queries": "bike",
  "location": "Texas",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hello.datawizards/facebook-bulk-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hello.datawizards/facebook-bulk-scraper-pro"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/w65cJwwTXQUt1rSyb/builds/eH5F7BYq0koEY7kyJ/openapi.json
