# Facebook Events Scraper: No Login, Cities, $1.50/1k (`shipsatnight/facebook-events-scraper`) Actor

Scrape public Facebook events by city, Page or event URL with no login, cookies or browser. Get start and end time with time zone, venue, address, coordinates, hosts, tickets and RSVP counts. $1.50 per 1,000 events, no start fee. Optional new-or-changed mode (beta).

- **URL**: https://apify.com/shipsatnight/facebook-events-scraper.md
- **Developed by:** [Donovan](https://apify.com/shipsatnight) (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

$1.50 / 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.

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** extracts **public Facebook events** by **city**, **Facebook Page** or **event URL**, with **no login, no cookies and no browser**. Each event becomes one row with start and end time with time zone, venue, address, coordinates, hosts, ticket link, RSVP counts, description and cover image.

It costs **$1.50 per 1,000 events** ($0.0015 each), with **no start fee**. Compute and proxy are included in that price.

Because it runs on Apify, you can also:

- 🔁 **Schedule** it daily or weekly and get only new or changed events (beta)
- 🔌 **Call it from the Apify API** or the Apify MCP server for AI agents
- 📤 **Export** results as JSON, CSV, Excel or HTML, or send them to Google Sheets, Zapier, Make and other integrations
- 📊 **Check every run** in a short `SUMMARY` record of what was found, skipped and charged

### Who is it for?

- 🗓️ **Event apps and city guides:** pull what Facebook suggests for a city, with map coordinates and cover images
- 🎟️ **Venues, promoters and ticketing teams:** follow competitor and partner Pages and see what they host
- 📰 **Newsletters and local media:** build "what's on this weekend" lists from venue and club Pages
- 🤝 **Lead generation:** find the hosts behind events in a city, with links to their Pages
- 📈 **Researchers and analysts:** collect a Page's past events to study cadence, venues and turnout

### What data can you extract from Facebook events?

| Field | What it holds |
|---|---|
| `id`, `url`, `name` | Facebook event id, link and title |
| `startTime`, `endTime` | ISO 8601 with the event's own UTC offset. `endTime` is null when the organizer set none |
| `timezone`, `dateText` | Time zone label and the date as Facebook shows it |
| `venueName`, `address` | Venue and street address |
| `latitude`, `longitude` | Venue coordinates |
| `isOnline`, `isCanceled` | Online and cancelled flags |
| `description`, `imageUrl` | Full event description and cover image |
| `hosts` | Each host's id, name and Page link |
| `ticketUrl` | Ticket link, or null when there is none |
| `respondedCount`, `interestedCount`, `goingCount` | RSVP counts when Facebook shows them |
| `source` | Where the event came from: event, page or city, plus what you entered |
| `scrapedAt` | When the row was collected |
| `changeStatus` | `new` or `changed`, only in "Only new or changed events" mode |

### How to scrape Facebook events

1. Add your sources: event links or ids under **Event URLs or ids**, venue or organizer Pages under **Page URLs**, or a city under **Cities**. You can mix all three in one run.
2. For Pages, choose **upcoming** or **past** events.
3. Set **Max events per Page or city**. 50 is a good first run.
4. Leave the proxy on its default (Apify datacenter proxy).
5. Click **Start**. When the run ends, download the dataset in the format you need.
6. To monitor sources, save the run as a task, schedule it and switch on **Only new or changed events**.

Events that show up in more than one source are returned once and charged once.

#### Example inputs

Single events (links or bare ids):

```json
{
  "eventUrls": [
    "https://www.facebook.com/events/1766955597675969/",
    "3635715596613877"
  ]
}
```

Upcoming events from venue or organizer Pages:

```json
{
  "pageUrls": ["https://www.facebook.com/930club", "MetroChicago"],
  "pageEventType": "upcoming",
  "maxEventsPerSource": 100
}
```

Past events from a Page (past lists can be very long, so set a limit):

```json
{
  "pageUrls": ["https://www.facebook.com/firstavenue"],
  "pageEventType": "past",
  "maxEventsPerSource": 50
}
```

Events Facebook suggests for a city (a city name, a Facebook city id, or an explore link):

```json
{
  "cities": ["Berlin", "Chicago", "https://www.facebook.com/events/explore/london-united-kingdom/106078429431815/"],
  "maxEventsPerSource": 50
}
```

A weekly monitor that only returns new or changed events:

```json
{
  "pageUrls": ["930club", "firstavenue"],
  "onlyNewOrChanged": true,
  "maxEventsPerSource": 100
}
```

#### Output example

```json
{
  "id": "3635715596613877",
  "url": "https://www.facebook.com/events/sap-center/soda-stereo-ecos-tour/3635715596613877/",
  "name": "Soda Stereo - ECOS Tour",
  "startTime": "2026-09-10T20:00:00-07:00",
  "endTime": null,
  "timezone": "PDT",
  "dateText": "Thursday, September 10, 2026 at 8:00 PM PDT",
  "isOnline": false,
  "isCanceled": false,
  "venueName": "SAP Center",
  "address": "525 W Santa Clara St, San Jose, CA 95113",
  "latitude": 37.332625147246,
  "longitude": -121.90122588141,
  "description": "Sale Dates and Times: ...",
  "hosts": [
    { "id": "100064642935762", "name": "SAP Center", "url": "https://www.facebook.com/SAPCenter" }
  ],
  "ticketUrl": null,
  "respondedCount": 141,
  "interestedCount": 110,
  "goingCount": 30,
  "imageUrl": "https://lookaside.fbsbx.com/lookaside/crawler/media/?media_id=3635715596613877",
  "source": { "type": "event", "value": "3635715596613877" },
  "scrapedAt": "2026-11-17T17:50:23+00:00"
}
```

- `respondedCount`, `interestedCount` and `goingCount` are null when Facebook doesn't show them. Interested and going come from Facebook's own summary and may be rounded (1.2K becomes 1200).
- `ticketUrl` is null when the event has no ticket link.

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

You pay **$0.0015 per event returned**, on every Apify plan. There is no start fee, and compute and proxy are included.

| Events | Cost |
|---|---|
| 100 | $0.15 |
| 1,000 | $1.50 |
| 10,000 | $15.00 |

You are **never charged** for an event that failed, was skipped (private or removed events) or was not returned. In "Only new or changed events" mode, **unchanged events are free**.

You can try it on Apify's free plan before you pay for anything.

### Monitor Facebook events: only new or changed (beta)

Switch on **Only new or changed events** and the actor remembers a small fingerprint of every event it returned, in a named key-value store in your account. The store name comes from a hash of your sources, so every run of the same saved task or schedule shares it.

On each run it compares id, name, start time, end time, venue name, address, the cancelled flag, ticket link and description. RSVP counts are not compared, because they change all the time.

- **First run:** every event is `new`, so every event is returned and charged.
- **Later runs:** only `new` and `changed` events are returned and charged. Unchanged events are skipped for free.
- **Changing a source** starts a fresh store, so everything is `new` again.
- **To start over,** delete the `fb-events-state-...` key-value store under Storage in Apify Console.

**Beta status:** live runs have proven the first run and a rerun with no changes. The comparison is covered by unit tests, but the `changed` path has not yet been seen on a live event that actually changed.

### Limits

- **Public events only.** Private, friends-only, group-only and removed events can't be read. They are skipped, not charged, and listed in the run summary.
- **No keyword search.** Facebook's event search doesn't work for logged-out visitors. Use Pages and cities instead.
- **City results are Facebook's suggestions,** in Facebook's order, not a full calendar of the city.
- **City names are resolved through Wikidata's public "Facebook Places ID".** If a name doesn't resolve, paste the city's Facebook events explore link instead.
- **Run size:** the largest tested run returned about 150 events. The limit allows up to 2,000 per source, but bigger runs are untested and may hit Facebook limits on shared datacenter IPs. Start small and scale up.
- **Paging speed:** Facebook serves Page and city lists 8 or 12 events at a time, so large limits take longer.
- **Facebook changes:** the actor looks up Facebook's paging details fresh on every run. If Facebook changes its site and they can't be found, the run logs a clear error and returns only the first page of events per Page or city (about 8 per Page, 12 per city). Single event links keep working.

### FAQ

#### Do I need a Facebook account, cookies or an API key?

No. The actor reads the same public pages anyone can open while logged out.

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

The actor only collects events that are public on Facebook. Event data can still include personal data, such as host names, and laws like GDPR may apply depending on what you do with it. If you're unsure, check with a lawyer before you use the data.

#### Can I search Facebook events by keyword?

Not yet. Facebook doesn't allow event search for logged-out visitors. Add the Pages that run the events you care about, or a city.

#### Why do I get fewer events for a city than I see on Facebook?

For a city you get what Facebook suggests to a logged-out visitor, not every event in that city. Adding the Pages of local venues and organizers fills the gaps.

#### Why are end time or RSVP counts empty for some events?

`endTime` is empty when the organizer set no end time. RSVP counts are empty when Facebook doesn't show them on the event page.

#### How many events can I scrape in one run?

Up to 2,000 per Page or city is allowed. Runs of about 150 events are tested. Start there and scale up step by step.

#### Can I run it on a schedule or from my own code?

Yes. Save your input as a task, add a schedule, and turn on "Only new or changed events". You can also start runs and read results through the Apify API in any language.

#### Can AI agents use it?

Yes. AI agents can find and run it through the Apify MCP server.

#### What happens when Facebook changes its site?

Single event links keep working, and Page and city lists fall back to their first page. Please report it in the Issues tab.

#### I need a field or source that isn't here. Can you help?

Open an issue in the Issues tab with what you need. Feature requests and custom versions are welcome.

### More scrapers from shipsatnight

- **[Google Jobs Scraper](https://apify.com/shipsatnight/google-jobs-scraper):** jobs by keyword and location, with apply links and salary
- **[YouTube Comments Scraper](https://apify.com/shipsatnight/youtube-comments-scraper):** comments and replies from videos and Shorts
- **[SAM.gov Scraper + Monitor](https://apify.com/shipsatnight/sam-gov-contract-scraper):** US federal contract opportunities

# Actor input Schema

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

Public event links like https://www.facebook.com/events/1766955597675969/ or just the numeric id.

## `pageUrls` (type: `array`):

Facebook Pages whose events you want, for example https://www.facebook.com/930club or just 930club.

## `pageEventType` (type: `string`):

Which list to read from each Page.

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

City names (for example Chicago, Berlin), a Facebook city id, or a facebook.com/events/explore/... URL. Results are the events Facebook suggests for that city, not a complete calendar.

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

Upper limit for each Page list and each city. Past lists and cities can be very long, so keep this set. Runs above about 150 events are not tested yet and may hit Facebook limits on shared datacenter IPs.

## `onlyNewOrChanged` (type: `boolean`):

Remembers what earlier runs with the same sources returned and only outputs (and charges) events that are new or whose details changed. RSVP counts are not compared. Tested on first runs and on reruns with no changes; not yet tested on an event that actually changed.

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

Apify datacenter proxy is the default and is what this actor is tested with.

## `maxConcurrency` (type: `integer`):

Parallel event page requests. Keep it low to stay polite.

## Actor input object example

```json
{
  "eventUrls": [
    "https://www.facebook.com/events/1766955597675969/"
  ],
  "pageEventType": "upcoming",
  "maxEventsPerSource": 50,
  "onlyNewOrChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 5
}
```

# Actor output Schema

## `events` (type: `string`):

Public Facebook events returned by this run

# 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 = {
    "eventUrls": [
        "https://www.facebook.com/events/1766955597675969/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("shipsatnight/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 = {
    "eventUrls": ["https://www.facebook.com/events/1766955597675969/"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("shipsatnight/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 '{
  "eventUrls": [
    "https://www.facebook.com/events/1766955597675969/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call shipsatnight/facebook-events-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shipsatnight/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/2MsYw3Xrxu7cyMc1l/builds/OOfc9gL4h22zmEtNV/openapi.json
