# Facebook Events Scraper (`scrapesmith/facebook-events-scraper`) Actor

🔥$0.80/1000 results🔥Cheapest & fastest Facebook Events scraper. Search events by keyword or scrape event details by URL. Extract title, date, location, organizer, going/interested counts, cover photo. JSON/CSV/Excel. API, MCP, webhook, AI-agent ready.

- **URL**: https://apify.com/scrapesmith/facebook-events-scraper.md
- **Developed by:** [Scrape Smith](https://apify.com/scrapesmith) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Facebook Events Scraper

Extract public event data from Facebook in seconds — search by keyword or pull full details from a
direct event link. No login, no setup, no browser extension. Just clean, structured JSON, CSV, or
Excel with every field you need for event monitoring, lead generation, or market research.

Other Facebook event tools charge as much as **$7.00 per 1,000 results**. This actor delivers the
same (and more) data for a fraction of that price, with faster runs and zero configuration.

### Why this scraper

- **Cheapest on the market** — massively undercuts every other Facebook Events actor, per 1,000 results.
- **40+ data points per event** — title, description, dates, full location + coordinates, organizer
  details and verification, engagement counts, ticketing, images, category, recurrence, and more.
- **Two modes in one actor** — free-text search across all public Facebook events, or paste direct
  event URLs/IDs to enrich a list you already have.
- **Zero setup** — no cookies, no login, no proxy configuration. Paste a query or a URL and run.
- **Built for scale** — reliably handles a single lookup or tens of thousands of events in one run.
- **Export anywhere** — JSON, CSV, Excel, or pull results straight into your stack via API/webhook.

### How it works

1. **Search mode** — give it one or more keywords (`"concert in New York"`, `"tech conference 2026"`,
   `"yoga classes"`) and it returns every matching public event it can find.
2. **URL mode** — paste direct Facebook event URLs (or bare event IDs) and get the full detail record
   for each one, including fields that only appear on the event page itself.

### Input

| Field | Type | Description |
|---|---|---|
| `mode` | string | `search` (find events by keyword) or `url` (scrape specific event links). Default: `search`. |
| `queries` | array of strings | Search keywords — used in `search` mode. Example: `"concert in New York"`, `"tech conference 2026"`. |
| `eventUrls` | array of strings | Facebook event URLs or bare event IDs — used in `url` mode. |
| `maxItems` | integer | Maximum number of events to return. Leave empty for the plan default. |

### Output fields

| Field | Description |
|---|---|
| `eventId` | Unique Facebook event ID |
| `title` | Event name |
| `description` | Full event description |
| `startDate` / `endDate` | ISO 8601 start/end date-time (UTC) |
| `startTimestamp` / `endTimestamp` | Unix timestamps |
| `duration` | Event length in seconds |
| `dayTimeSentence` | Facebook's human-readable date/time line ("Tomorrow at 8 PM") |
| `frequency` | Recurrence info, when the event repeats |
| `status` | `upcoming`, `past`, or `canceled` |
| `locationName` | Venue / place name |
| `locationAddress` | Full formatted address |
| `locationCity` / `locationState` / `locationCountry` | Parsed address components |
| `latitude` / `longitude` | GPS coordinates |
| `isOnline` | Whether the event is virtual |
| `onlineType` | Online event format, when available |
| `organizerName` | Host name (person or Page) |
| `organizerId` | Host's Facebook ID |
| `organizerUrl` | Host's Facebook profile/Page URL |
| `organizerProfilePic` | Host's profile picture URL |
| `organizerVerified` | Whether the host is a verified Page |
| `coverPhotoUrl` | Main event cover image |
| `images` | Additional event photos |
| `goingCount` | Number of people going |
| `interestedCount` | Number of people interested |
| `respondedCount` | Total engagement (going + interested) |
| `category` | Discovery category/tags (e.g. "Music, Nightlife") |
| `eventType` | Event type classification |
| `isClassEvent` | Whether it's listed as a class/course event |
| `isPaidContent` | Whether the event includes paid/sponsored content |
| `isLiveAudioEvent` | Whether it includes a live audio room |
| `ticketUrl` | Link to buy tickets, when available |
| `hasTickets` | Whether a ticket link is present |
| `privacy` | Event privacy/visibility setting |
| `eventUrl` | Direct Facebook event link |
| `inputUrl` | The query or URL that produced this result |
| `scrapedAt` | UTC timestamp of when the record was collected |

### Example output

```json
{
  "eventId": "1234567890123456",
  "title": "Summer Rooftop Concert Series",
  "description": "Join us for live music, food trucks, and sunset views...",
  "startDate": "2026-08-14T19:00:00.000Z",
  "endDate": "2026-08-14T23:00:00.000Z",
  "duration": 14400,
  "dayTimeSentence": "Friday, August 14 at 7:00 PM",
  "frequency": "",
  "status": "upcoming",
  "locationName": "Skyline Rooftop Lounge",
  "locationAddress": "123 Main St, New York, NY, USA",
  "locationCity": "New York",
  "locationState": "NY",
  "locationCountry": "USA",
  "latitude": 40.7128,
  "longitude": -74.006,
  "isOnline": false,
  "onlineType": "",
  "organizerName": "Skyline Events Co.",
  "organizerId": "987654321",
  "organizerUrl": "https://www.facebook.com/skylineevents",
  "organizerProfilePic": "https://scontent.xx.fbcdn.net/...",
  "organizerVerified": true,
  "coverPhotoUrl": "https://scontent.xx.fbcdn.net/...",
  "images": ["https://scontent.xx.fbcdn.net/..."],
  "goingCount": 842,
  "interestedCount": 3120,
  "respondedCount": 3962,
  "category": "Music, Nightlife",
  "eventType": "PUBLIC",
  "isClassEvent": false,
  "isPaidContent": false,
  "isLiveAudioEvent": false,
  "ticketUrl": "https://www.eventbrite.com/e/...",
  "hasTickets": true,
  "privacy": "OPEN",
  "eventUrl": "https://www.facebook.com/events/1234567890123456/",
  "inputUrl": "concert in new york",
  "scrapedAt": "2026-07-26T12:00:00.000Z"
}
````

### Use cases

- **Event monitoring** — track new events from competitors, venues, or organizers in your city or niche.
- **Competitor tracking** — see what events a brand, promoter, or venue is running and how much
  engagement (going/interested) each one gets.
- **Market research** — analyze event density, categories, and pricing trends across a city, industry,
  or timeframe.
- **Lead generation** — find event organizers and venues to pitch services (catering, staffing,
  ticketing, sponsorships).
- **Local guides & aggregators** — power an events calendar, newsletter, or listings site with
  fresh, structured data.
- **Data enrichment** — feed event URLs you already have and get back full structured details.

### API, MCP & integrations

Run this actor from wherever your workflow lives:

- **Apify API & SDK** — trigger runs and pull results programmatically from any language.
- **MCP server** — plug this actor into an MCP-compatible AI agent (Claude, ChatGPT, and others) so
  it can search or enrich Facebook events on demand as a tool call.
- **Webhooks** — get notified the moment a run finishes and pipe results into your own systems.
- **No-code automation** — connect via Zapier, Make, or n8n to route event data into a spreadsheet,
  CRM, Slack channel, or database with no code.
- **Export formats** — download results as JSON, CSV, Excel, or query them directly from the dataset API.

### FAQ

**Do I need a Facebook account or login?**
No. This actor works entirely with public data — no cookies, credentials, or login required.

**Can I search multiple keywords in one run?**
Yes. Add as many search queries as you like and each one is processed for you automatically.

**Can I scrape a specific event I already have a link for?**
Yes — switch to URL mode and paste the event link (or just its numeric ID).

**Is there a free tier?**
Yes, every run includes a free batch of results so you can test it before committing to a paid plan.

**How fresh is the data?**
Every record is scraped live at run time and stamped with the exact collection time.

# Actor input Schema

## `mode` (type: `string`):

Scraping mode: 'search' to find events by keyword, 'url' to scrape specific event URLs.

## `queries` (type: `array`):

Search keywords to find events (used in 'search' mode). Example: 'concert in New York', 'tech conference 2026'.

## `eventUrls` (type: `array`):

Direct Facebook event URLs or event IDs to scrape (used in 'url' mode). Example: 'https://www.facebook.com/events/123456789' or just '123456789'.

## `maxEventsPerQuery` (type: `integer`):

Maximum number of events to collect PER search query (used in 'search' mode). Each query is capped independently — e.g. 3 queries with 100 each returns up to 300 events total. Leave empty for no per-query cap (only the global safety cap / plan limit applies). Not used in 'url' mode, since each URL is already a single event.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "concert"
  ]
}
```

# 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 = {
    "queries": [
        "concert"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesmith/facebook-events-scraper").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 = { "queries": ["concert"] }

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

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

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

```

## CLI example

```bash
echo '{
  "queries": [
    "concert"
  ]
}' |
apify call scrapesmith/facebook-events-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapesmith/facebook-events-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Events Scraper",
        "description": "🔥$0.80/1000 results🔥Cheapest & fastest Facebook Events scraper. Search events by keyword or scrape event details by URL. Extract title, date, location, organizer, going/interested counts, cover photo. JSON/CSV/Excel. API, MCP, webhook, AI-agent ready.",
        "version": "0.1",
        "x-build-id": "WDAcbFkb9SgbaNPKl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapesmith~facebook-events-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapesmith-facebook-events-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapesmith~facebook-events-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapesmith-facebook-events-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapesmith~facebook-events-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapesmith-facebook-events-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "url"
                        ],
                        "type": "string",
                        "description": "Scraping mode: 'search' to find events by keyword, 'url' to scrape specific event URLs.",
                        "default": "search"
                    },
                    "queries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Search keywords to find events (used in 'search' mode). Example: 'concert in New York', 'tech conference 2026'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "eventUrls": {
                        "title": "Event URLs",
                        "type": "array",
                        "description": "Direct Facebook event URLs or event IDs to scrape (used in 'url' mode). Example: 'https://www.facebook.com/events/123456789' or just '123456789'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxEventsPerQuery": {
                        "title": "Max events per query",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of events to collect PER search query (used in 'search' mode). Each query is capped independently — e.g. 3 queries with 100 each returns up to 300 events total. Leave empty for no per-query cap (only the global safety cap / plan limit applies). Not used in 'url' mode, since each URL is already a single event."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
