Black Friday: double credits on your first month, any plan · ends Sunday, Nov 29Cyber Monday extension: double credits on your first month, any plan · ends tonightBlack Friday: 2x creditsCyber Monday: 2x creditsSee plans
ScraperCity logo

Facebook Events API Documentation

Facebook Events

Find Facebook events by search: event name and link, start date, venue, address, city, whether it is online, organizer and link, how many are going and interested, description and ticket link.

$0.0259 per eventPOST /api/v1/scrape/facebook-events

Parameters

NameTypeRequiredDescription
queriesstring[]OptionalEvent searches, as people would type them on Facebook (up to 200)Example: ["business networking Dallas"]
maxResultsnumberOptionalThe most events to return in all (default 50, up to 1,000)Default: 50Example: 50

Examples

Networking events in a city

curl -X POST https://app.scrapercity.com/api/v1/scrape/facebook-events \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "queries": [
      "business networking Dallas"
    ],
    "maxResults": 50
  }'

Check status and download

curl -X GET https://app.scrapercity.com/api/v1/scrape/status/{runId} \
  -H "Authorization: Bearer YOUR_API_KEY"

# When status is SUCCEEDED, download the CSV
curl -L https://app.scrapercity.com/api/downloads/{runId} -o facebook-events.csv

Use Cases

  • •Find event organizers and venues to pitch
  • •Local event calendars by topic

Best Practices

  • •Charged per event returned; a search is charged at least what it cost to run, shown as a minimum charge
  • •Most searches finish in 1-5 minutes
  • •Include the city in the search for local events
  • •CSV columns: event_name, event_url, starts_at, when, venue, address, city, online, organizer, organizer_url, going, interested, description, ticket_url

Every scrape returns a runId. Poll GET /api/v1/scrape/status/{runId} until it completes, then download via GET /api/downloads/{runId}?format=csv.

Authenticate every request with Authorization: Bearer YOUR_API_KEY. See the full API reference for authentication, rate limits and error codes.