# Facebook Events Scraper: City, Keyword & Page Events (`alexmorain/facebook-events-scraper`) Actor

Scrape public Facebook events by city, keyword, organizer page or URL: date, venue, going and interested counts, description, address, hosts, ticket link. A whole city, not a first page. Watch mode for new events, webhook. From $1.30 per 1,000 events.

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

## Pricing

from $1.30 / 1,000 events

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/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

### What does Facebook Events Scraper do?

**Facebook Events Scraper** finds public [Facebook](https://www.facebook.com) events and returns one clean row per event: name, date, venue, going and interested counts, cover image and organizer. Turn on details and each row also gets the full description, street address, coordinates, hosts with their page links, the ticket link and every link found in the description.

Search four ways, in the same run: by **city** (the events Facebook lists for a place), by **keyword**, by **organizer page**, or by **event URL**. It works as a **Facebook Events API alternative** that needs no login, no cookies and no proxy setup.

Turn on **watch mode** and a scheduled run returns only events you have not received yet, which makes it a **Facebook event monitor** for a city, a scene or a list of venues, wired to Slack, Discord, Zapier or your own endpoint.

It does not read private events, guest lists, comments or messages, and it does not RSVP or post anything.

### Why use Facebook Events Scraper?

- **A whole city, not a first page.** The Actor keeps reading Facebook's city listing until it stops giving new events. A test on New York delivered 1,000 distinct upcoming events in one run; reading further reached 1,484, and Austin 1,765.
- **Four inputs, one schema.** Cities, keyword searches, organizer pages and event URLs all come back in the same columns, with the entry each row came from.
- **Organizer and ticket link.** With details on, every event in a 107-event test came with its hosts and their Facebook page. Ticket links are recognized on Eventbrite, Shotgun, Dice, Ticketmaster and 40 more ticketing sites: keyword searches surface ticketed events (13 of 15 had a ticket link and a price in a test), city listings much less often.
- **New events only.** A named watch memory remembers what you got, so a daily run never charges twice for the same event.
- **Past events skipped for free.** By default only upcoming events are delivered. A venue page full of old events costs nothing.
- **Webhook alerts.** When a run ends with new events, the summary and the latest events are sent to your URL.
- **Apify platform.** Schedules, API access, datasets in JSON, CSV, Excel or XML, and integrations with Make, Zapier and n8n.

#### Who uses it

- **Event marketers and promoters**: track what competing venues and promoters announce, with interest counts to see what sells.
- **Lead generation**: build lists of venues, bars, clubs and organizers that run events in a city, with their Facebook page and ticketing link.
- **Event listing sites and newsletters**: fill a local agenda every morning with only the new events.
- **Tourism, hospitality and local media**: see what is planned in a city for the coming weeks.
- **Researchers**: datasets of public events by place and date.

### What data can Facebook Events Scraper extract?

| Field | Type | Description |
|---|---|---|
| `id`, `url`, `name` | string | Event id, link and title |
| `startDate`, `startTimestamp`, `dayTimeSentence` | string, number | Start time (ISO 8601 UTC and Unix seconds) and the date line as Facebook shows it |
| `isPast`, `isOnline`, `isHappeningNow`, `isCanceled` | boolean | Event status |
| `placeName`, `placeId`, `city` | string | Venue as listed and its Facebook id |
| `goingCount`, `interestedCount` | number | People who answered going and interested |
| `priceRangeText` | string | Price line when Facebook shows one (keyword search and pages) |
| `coverImage`, `organizerName` | string | Cover picture and main organizer |
| `description`, `descriptionLinks` | string, array | Full description and the links found in it (details) |
| `ticketUrl` | string | Ticket link (details) |
| `address`, `locationName`, `latitude`, `longitude`, `cityId` | mixed | Street address and coordinates (details) |
| `endTime`, `duration` | string | End time and duration when the organizer gave them (details) |
| `hosts`, `organizerId`, `hostContextText` | mixed | Every host with `id`, `name`, `url`, `verified` (details) |
| `categories`, `privacy` | mixed | Event categories and privacy (details) |
| `hasDetails`, `sourceType`, `sourceInput`, `searchCity`, `scrapedAt` | mixed | Whether details are filled, which entry of your input gave the row, and when it was read |

Every row has the same keys. Without details, the detail fields are `null`.

Fill rates measured on 107 city events read with details (Austin and Paris): description 100 %, hosts 100 %, coordinates 99 %, street address 89 %, duration 49 %, links in the description 39 %, ticket link 6 % (12 % in Paris). On a keyword search the ticket link and the price line were filled on nearly every event; city listings carry no price line. The end time is rarely given by organizers (4 %), and `categories` is only filled when Facebook exposes them, which is rare.

### How to scrape Facebook events

1. Open the Actor and add one or more **Cities**: `Austin, TX`, `Paris`, `Portland, ME`, a Facebook explore URL, or a numeric place id. A short qualifier after a comma (state, country, country code) picks the right city when the name is shared.
2. Optional: add **Keyword searches** (`jazz new york`), **Organizer pages** (`https://www.facebook.com/comedystore`) or **Event URLs**.
3. Optional: set **When** to `today`, `this_week` or `next_week` for cities.
4. Tick **Include event page details** if you need the description, address, hosts and ticket link.
5. Set **Max events per entry** and **Max events in total**, then click **Start**. Results appear in the **Output** tab.
6. To monitor, tick **Watch mode**, choose a **Watch name**, add a **Webhook URL** and schedule the run.

#### How to get every new event in a city each day

Add the city, tick **Watch mode: only new events**, name the watch after the city, set **Max events per entry** to 500, and schedule the Actor once a day. The first run delivers the upcoming events and remembers them. Each later run returns only events that appeared since. Facebook lists about three months ahead, so a daily run catches new announcements early.

### How much does it cost to scrape Facebook events?

Pricing is pay per event: a small fee when the run starts ($0.002 per GB of memory, 256 MB by default is billed as one event) and a price per event delivered.

| Plan | Per 1,000 events | Per 1,000 events with details |
|---|---|---|
| Free and Starter | $1.50 | $9.00 |
| Scale | $1.40 | $8.90 |
| Business | $1.30 | $8.70 |

An event with details is charged once, at the details price, not on top of the event price. Event URLs always come with details.

Examples at the Starter price: the 500 upcoming events of a large city cost about $0.75. A daily watch of 5 cities that each get 30 new events a day costs about $6.75 a month. Duplicates, past events you did not ask for, events already received in watch mode and events beyond your limits are not charged. Set **Max total cost per run** in the run options to cap spending: the Actor stops cleanly and keeps what it delivered.

Accounts on the Free Apify plan have a small daily limit on this Actor. A paid Apify plan removes it.

### Input

See the **Input** tab for every option. The main ones:

| Field | Description |
|---|---|
| `cities` | City names, Facebook explore URLs or numeric place ids |
| `searchQueries` | Keywords, as typed in the Facebook events search |
| `pages` | Organizer or venue pages (URL or name) |
| `eventUrls` | Event links; always returned with details |
| `timeframe` | `all`, `today`, `this_week`, `next_week` (cities only) |
| `includeDetails` | Add the event page details to every row |
| `includePastEvents` | Keep past events (off by default, skipped for free) |
| `maxEventsPerSource` | Default 100 per entry |
| `maxItems` | Default 1,000 events in total |
| `newOnly`, `watchName` | Watch mode and its memory |
| `webhookUrl` | Called by POST at the end of a run with new events. Never written to a log |

```json
{
  "cities": ["Austin, TX", "Paris"],
  "searchQueries": ["jazz new york"],
  "pages": ["https://www.facebook.com/comedystore"],
  "timeframe": "this_week",
  "includeDetails": true,
  "maxEventsPerSource": 200,
  "newOnly": true,
  "watchName": "weekly-agenda",
  "webhookUrl": "https://hooks.slack.com/services/..."
}
```

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
[
  {
    "id": "1616272173370938",
    "url": "https://www.facebook.com/events/1616272173370938/",
    "name": "Rex Club presents Hunee - Hunchin' all night long",
    "startTimestamp": 1795215540,
    "startDate": "2026-11-20T22:59:00Z",
    "dayTimeSentence": "Friday, November 20, 2026 at 11:59 PM – 7:00 AM CET",
    "isPast": false,
    "isOnline": false,
    "isCanceled": false,
    "placeName": "5 boulevard Poissonnière, 2e, 75002 Paris, France",
    "placeId": "1690223053148790",
    "goingCount": 2,
    "interestedCount": 23,
    "coverImage": "https://scontent.xx.fbcdn.net/...jpg",
    "organizerName": "Rex Club Paris",
    "description": "Rex Club presents Hunee - Hunchin' all night long\nhttps://shotgun.live/events/...",
    "descriptionLinks": ["https://shotgun.live/events/rex-club-presents-hunee-all-night-long"],
    "ticketUrl": "https://shotgun.live/events/rex-club-presents-hunee-all-night-long",
    "address": "5 Boulevard Poissonnière, 75002 Paris, France",
    "latitude": 48.87062,
    "longitude": 2.34725,
    "duration": "7 hr 1 min",
    "hosts": [{"id": "100064833332554", "name": "Rex Club Paris", "type": "User", "url": "https://www.facebook.com/RexClubParis", "verified": true}],
    "organizerId": "100064833332554",
    "privacy": "public",
    "hasDetails": true,
    "sourceType": "city",
    "sourceInput": "Paris, France",
    "searchCity": "Paris, France",
    "scrapedAt": "2026-11-19T02:07:40Z"
  }
]
```

The **SUMMARY** record of the run key-value store lists, per entry, the events delivered and read, the requests made, the past and known events skipped, and how the read ended (`end`, `cap`, `sparse`, `stopped`).

### Tips

- Facebook lists about three months of upcoming events per city. Big cities give hundreds to a few thousand; smaller cities give a few dozen. When a city listing keeps returning events you already have, the Actor stops that city (`ended: sparse`) instead of paying for empty pages.
- A city name that is not in the built-in list is looked up through Facebook's own search, which picks the city where most matching events take place. To be exact, paste the explore URL of the place (`https://www.facebook.com/events/explore/<city>/<id>/`).
- Keyword search returns about 5 events per request, a city listing about 12. Details take about 4 seconds per event; several events are read at the same time.
- Going and interested counts are read when the event is read. They grow as the date gets closer.
- A venue page may list only past events. With **Include past events** off, the run says how many were skipped, and none is charged.
- Webhook payload: `text`, `eventsDelivered`, `latestEvents` (up to 10 events), `perSource`, `runId`, `datasetId`.

#### Run it from code

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("alexmorain/facebook-events-scraper").call(run_input={
    "cities": ["Austin, TX"],
    "timeframe": "this_week",
    "maxEventsPerSource": 50,
})
for event in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(event["startDate"], event["interestedCount"], event["name"])
```

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

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('alexmorain/facebook-events-scraper').call({
    searchQueries: ['techno berlin'],
    includeDetails: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length);
```

```bash
curl -X POST "https://api.apify.com/v2/acts/alexmorain~facebook-events-scraper/runs?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"cities": ["Paris"], "maxEventsPerSource": 50}'
```

### FAQ

#### Do I need a Facebook account or cookies?

No. The Actor reads public events. You only need an Apify account.

#### Is there a Facebook Events API?

The Graph API no longer gives search access to public events. This Actor returns the public events of any city, keyword or page as structured data over the Apify API.

#### Can I get past events?

Yes for organizer pages and event URLs: tick **Include past events**. City listings only show upcoming events.

#### Can I get the list of people attending?

No. Guest lists are personal data and are not read. You get the going and interested counts.

#### Why is an entry skipped?

The page or event does not exist or is not public, the city could not be found, or the page has no public events. It is listed in the run status and nothing is charged for it.

#### Is it legal to scrape Facebook events?

Our Actors 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. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. 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. This Actor is not affiliated with Meta Platforms.

#### Something is missing or wrong

Open a ticket in the **Issues** tab of this Actor with the run id. Programmatic access is in the **API** tab.

### Related actors

Need more than Facebook? [Eventbrite, Meetup & Luma Events Scraper by City](https://apify.com/alexmorain/eventbrite-luma-meetup-scraper) reads Facebook, Eventbrite, Meetup and Luma by city in one schema, with organizers and a new-event watch.

### Guide and use cases

Use cases, output fields, pricing and common questions are on the [Facebook Events Scraper page](https://alexis.morain.fr/en/scrapers/facebook-events-scraper/) of my site. The [Lead generation family page](https://alexis.morain.fr/en/scrapers/families/lead-generation/) puts it side by side with the other scrapers of the same family.

# Actor input Schema

## `cities` (type: `array`):

One city per line: a name such as <code>Austin</code>, <code>Portland, ME</code> or <code>Paris, France</code>, or a Facebook explore URL such as <code>https://www.facebook.com/events/explore/austin-texas/106224666074625/</code>, or the numeric place id. Over 5,000 cities are built in; a city missing from the list is found through a Facebook search and the place used is written to the log. Returns the upcoming events Facebook lists for that city, about 3 months ahead.

## `searchQueries` (type: `array`):

Facebook event search, for example <code>jazz new york</code> or <code>tech meetup berlin</code>. Facebook returns about 50 events per keyword: for full coverage of a place, use Cities.

## `pages` (type: `array`):

Facebook pages of venues, promoters or brands: a URL such as <code>https://www.facebook.com/brooklynbowl</code>, a name or a numeric id. Returns the events the page hosts.

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

Links to Facebook events, such as <code>https://www.facebook.com/events/1607763210634348/</code>, or event ids. Always returned with details, past events included.

## `timeframe` (type: `string`):

Narrow city results to a period, using Facebook's own date filter.

## `includeDetails` (type: `boolean`):

Opens each event page to add the full description, street address, coordinates, hosts, ticket link and every link in the description. Charged as an event with details instead of an event. Takes about 4 seconds per event, 8 in parallel.

## `includePastEvents` (type: `boolean`):

Off: past events found by keyword or page searches are skipped and not charged. City searches only return upcoming events.

## `maxEventsPerSource` (type: `integer`):

Stop after this many events for each city, keyword or page. A large city lists several thousand events; reading stops early when Facebook returns mostly empty pages.

## `maxItems` (type: `integer`):

Hard cap for the whole run. Only delivered events are charged.

## `newOnly` (type: `boolean`):

Returns only events you have not received in an earlier run with the same watch name. The first run delivers what it reads and sets the starting point. Schedule it daily to get newly announced events in your cities.

## `watchName` (type: `string`):

Memory of what was already delivered. Use one name per list and purpose, for example <code>austin-music</code>, so two schedules do not share the same memory.

## `webhookUrl` (type: `string`):

Optional. When the run ends with new events, a summary and the first events are sent there by POST (Slack, Discord, Zapier, your own endpoint). The URL is never written to a log.

## Actor input object example

```json
{
  "cities": [
    "Austin, TX"
  ],
  "timeframe": "all",
  "includeDetails": false,
  "includePastEvents": false,
  "maxEventsPerSource": 20,
  "maxItems": 1000,
  "newOnly": false,
  "watchName": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

All events in the default dataset.

## `summary` (type: `string`):

Events delivered per entry, requests made, past and known events skipped, and how each entry ended.

# 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 = {
    "cities": [
        "Austin, TX"
    ],
    "maxEventsPerSource": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("alexmorain/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 = {
    "cities": ["Austin, TX"],
    "maxEventsPerSource": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("alexmorain/facebook-events-scraper").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 '{
  "cities": [
    "Austin, TX"
  ],
  "maxEventsPerSource": 20
}' |
apify call alexmorain/facebook-events-scraper --silent --output-dataset

```

## MCP server setup

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

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/iXBc5R4pxWeFUJMbS/builds/beubAdhwuvyPTd16F/openapi.json
