100 free credits. No credit card required.Start building
Logo
Facebook logo
100 free credits. No credit card required

Facebook Events API

Returns the events listed on a Facebook city or region events page, each with a title, link, cover image, the start time, the venue, and the going and interested counts.

GET /v1/facebook/events

Last updated November 2026Maintained by the SocialCrawl team

When to use the Facebook Events API

Use it to see what is on in a place, optionally narrowed by a time filter; use profile/events for one page's own events. The optional include=details adds the description, address and hosts.

From the API reference

Returns the events listed under a Facebook city or region Events explore page. **The url must be an Events explore URL ending in the numeric location id** (see the example); a plain page URL is rejected with a 400 at 0 credits, and a single page's OWN events are /v1/facebook/profile/events. Each row carries the title, the permalink, the cover image, the start time, the RSVP counts, and on post.ext.event the rendered time line (time_text), location_name (the venue), start_timestamp, is_online, is_past, interested_count and going_count. The same two reading notes apply as on that endpoint: published_at is the event's START time and is routinely in the future, and engagement.views and engagement.likes carry the interested and going RSVP counts because an event has no views or likes. The explore listing carries no description, address, city, host or category, so those are null on a plain call. Send include=details and every event is joined, in the same call, to the per-event details lookup: the description, the street address and city, the coordinates, the hosts (hosts[], and the one-line host credit on post.author.display_name and post.ext.event.host_context_text), the category, the privacy, the cancelled flag and the attendance count land on each row, and a missing cover or RSVP count is filled where the details carry one. Values the row already carried are never replaced. Cost: 1 credit for the page plus 1 credit per event filled from a fresh lookup (at most 12 events a page, so 13 credits at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: include=details adds 2 to 8 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a hydration block itemising rows, lookups, cache hits, credits and milliseconds. Filter by relative time (defaults to all time) and forward the returned cursor for additional pages.

Searching 69 platforms in parallel

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Facebook API

What can you do with the Events API?

The Events endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.

Example Request

# GET /v1/facebook/events: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 60: the API's own time limit for this endpoint.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
# Next page: send pagination.next_cursor back as cursor until pagination.has_more is false.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 60 --retry 3 -o response.json \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  "https://www.socialcrawl.dev/v1/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547" && cat response.json
# GET /v1/facebook/events: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid

import requests

API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 60  # the API's own time limit for this endpoint.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/facebook/events"


def backoff(attempt):
    # Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
    return 2 ** attempt * (0.5 + random.random() / 2)


def socialcrawl(params):
    # One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
    idempotency_key = str(uuid.uuid4())
    for attempt in range(MAX_RETRIES + 1):
        try:
            res = requests.get(
                URL,
                params=params,
                headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
                timeout=TIMEOUT_S,
            )
            body = res.json()
        except (requests.RequestException, ValueError):
            # A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
            if attempt == MAX_RETRIES:
                raise
            time.sleep(backoff(attempt))
            continue
        if body["success"]:
            return body
        error = body["error"]
        # Branch on error["type"], never on the message text.
        if error["type"] == "RESOURCE_NOT_FOUND":
            return None  # refunded: nothing to read
        retry_after = res.headers.get("Retry-After")
        # SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
        permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
        if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
            raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
        # Retry-After (seconds) wins; otherwise back off.
        time.sleep(float(retry_after) if retry_after else backoff(attempt))


params = {
    "url": "https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547",
}

# Walk the list: send pagination.next_cursor back as cursor until has_more is false.
MAX_PAGES = 10  # each page is one call
items = []
for _ in range(MAX_PAGES):
    body = socialcrawl(params)
    if body is None:
        break
    items.extend(body["data"]["items"])
    page = body.get("pagination") or {}
    if not page.get("has_more") or not page.get("next_cursor"):
        break
    params["cursor"] = page["next_cursor"]
print(f"{len(items)} items")
// GET /v1/facebook/events: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 60_000; // the API's own time limit for this endpoint.
const MAX_RETRIES = 3;

type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
  | { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
  | { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };

const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);

async function socialcrawl(url: URL) {
  // One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
  const idempotencyKey = crypto.randomUUID();
  for (let attempt = 0; ; attempt++) {
    let res: Response;
    let body: SocialCrawlResponse;
    try {
      res = await fetch(url, {
        headers: {
          "x-api-key": API_KEY,
          "Idempotency-Key": idempotencyKey,
        },
        signal: AbortSignal.timeout(TIMEOUT_MS),
      });
      body = (await res.json()) as SocialCrawlResponse;
    } catch (error) {
      // A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
      if (attempt >= MAX_RETRIES) throw error;
      await sleep(backoffMs(attempt));
      continue;
    }
    if (body.success) return body;
    // Branch on error.type, never on the message text.
    if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
    const retryAfter = res.headers.get("Retry-After");
    // SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
    const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
    if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
      throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
    }
    // Retry-After (seconds) wins; otherwise back off.
    await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
  }
}

const url = new URL("https://www.socialcrawl.dev/v1/facebook/events");
url.searchParams.set("url", "https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547");

// Walk the list: send pagination.next_cursor back as cursor until has_more is false.
const MAX_PAGES = 10; // each page is one call
const items: unknown[] = [];
for (let page = 0; page < MAX_PAGES; page++) {
  const body = await socialcrawl(url);
  if (!body) break;
  items.push(...body.data.items);
  const next = body.pagination?.next_cursor;
  if (!body.pagination?.has_more || !next) break;
  url.searchParams.set("cursor", next);
}
console.log(`${items.length} items`);

Parameters

ParameterRequiredDescription
urlYesFull URL of the city's Facebook Events page.
timeNoRelative time window. Defaults to all time when omitted. (today | this_week | next_week)
cursorNoCursor returned by the previous response for pagination.
includeNoSet to `details` (one token only) to fill, on every event in this one call, `post.ext.event.description`, `address`, `city`, `latitude`, `longitude`, `hosts`, `host_context_text`, `category`, `privacy`, `is_canceled` and `attendance_count`, and the host credit on `post.author.display_name`. Holds 1 credit per event (at most 12 a page) and keeps only the rows filled from a fresh lookup; rows already in cache and rows the lookup cannot fill are refunded, so a page is never more than 13 credits. The join takes 2 to 8 seconds on a fresh page, never more than 12, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged. (details)
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
max_pagesNo1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped.
max_itemsNo1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: "max_items"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`"time_budget"`): send the returned cursor with the same params to continue.
max_creditsNo1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: "max_credits"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price.
Example Response

What does the Facebook Events API return?

Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.

Example response
{
  "success": true,
  "platform": "facebook",
  "endpoint": "/v1/facebook/events",
  "data": {
    "items": [
      {
        "post": {
          "id": "3819476484850108",
          "url": "https://www.facebook.com/events/3819476484850108/",
          "content": {
            "text": "Sample comment text (redacted).",
            "media_urls": null,
            "thumbnail_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/756345114_122231390060290000_2227029022001829513_n.jpg?stp=c0.349.1809.863a_dst-jpg_s640x640_tt6&_nc_cat=111&ccb=1-7&_nc_sid=75d36f&_nc_ohc=iWGHi0pKUi8Q7kNvwF2ZFJy&_nc_oc=AdrkxLy37MRknwUEweevINe4QZYdFqNVnbB8gHMPArz54QSUMt6q4FsbsRIHqpIrJXI&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=ZdGzVcyVO1Z33DETLvfG5w&_nc_ss=78289&oh=00_AQM6zokNAo7pa4qsfJJkHDkjIZmz6R3MF7Xbw-K4mrzuwA&oe=6AC5367B",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": null,
            "avatar_url": null,
            "verified": null
          },
          "engagement": {
            "views": 1500,
            "likes": 155,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": "2026-10-17T14:00:00.000Z",
          "ext": {
            "published_at_epoch": 1792245600,
            "event": {
              "time_text": "Sat, Oct 17 at 10:00 AM EDT",
              "is_online": false,
              "is_past": false,
              "location_name": "Pass A Grille Beach St Pete",
              "start_timestamp": 1792245600,
              "interested_count": 1500,
              "going_count": 155
            }
          }
        },
        "computed": {
          "engagement_rate": 0.103333,
          "language": null,
          "content_category": "other",
          "estimated_reach": 1800
        }
      },
      {
        "post": {
          "id": "1566776621097336",
          "url": "https://www.facebook.com/events/1566776621097336/",
          "content": {
            "text": "Sample comment text (redacted).",
            "media_urls": null,
            "thumbnail_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/627975550_122141925152992528_6782463978449409171_n.jpg?stp=c58.0.844.403a_dst-jpg_s640x640_tt6&_nc_cat=111&ccb=1-7&_nc_sid=75d36f&_nc_ohc=o229hHm7iNoQ7kNvwGz9AFU&_nc_oc=AdoQxTT3sam5KmTljWD-OmT9vNbaTTXvzZ9uUBsJvmL8jGeSXa96wH_GyBO_QpNIfKE&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=ZdGzVcyVO1Z33DETLvfG5w&_nc_ss=78289&oh=00_AQN8sbETUi4MLlefUJlsNNkafkuRUv0DGNfPDdVK_trZEA&oe=6AC527D8",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": null,
            "avatar_url": null,
            "verified": null
          },
          "engagement": {
            "views": 11,
            "likes": 2,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": "2026-10-02T12:00:00.000Z",
          "ext": {
            "published_at_epoch": 1790942400,
            "event": {
              "time_text": "Fri, Oct 2 at 8:00 AM EDT",
              "is_online": false,
              "is_past": false,
              "location_name": "[address redacted] S, St Petersburg, FL 33711-4901, United States",
              "start_timestamp": 1790942400,
              "interested_count": 11,
              "going_count": 2
            }
          }
        },
        "computed": {
          "engagement_rate": 0.181818,
          "language": null,
          "content_category": "other",
          "estimated_reach": 13
        }
      }
    ],
    "next_cursor": "eyJzdGFydF90aW1lIjoxNzkwOTI2MzgyLCJlbmRfdGltZSI6MTc5ODcwMjM4MiwiYnJvd3NlX2N1cnNvciI6IkFib04zQlhfZC1JdldQVWVqNWVSNnBpU0RnNHJSYUY3eHk2TDJYWVlrbGNTVHBDQ0dVQWJsQ2NTazRFOE5Qb2htbGxmMFB1VVlOSk9aMC1nNGNhZE96cFRpSlkwRVAwVVZGc09vcnBHUmhGN1lxQXl1czhxX1R1ZFI1S3ZMR29PdS1PeXJYTXc5UldaTDgwSXh6a2NTeGdIMHV0bFJpcTVXd3FQb2F4T1M0Q05uZjNUa1QwdllmX2FfMHhBSGVFcE9ndzJLUkliRU1ZcEdDa0Y0Nk5LOFhEYTdMb0VyejVsWjV0MDBEbEdUSlNvTWJPR3VRWWp5azVyb1ZaS0VqMjlUUHQxb1VFVVlwOTlzOW5YR3VNZVdtWEdJRm40VDk3dG5rU2ZVYTlteTh0WTR6U1pkcVV3LUVvMDlSQ2lkMnZkUG8tMTRJWDZZamFkWWdWNFpXVlhjazNMWGlwTS1lVUhraXpBck5lUDN3Q1RGSm9UV05zN2VmaHhmdzY5UmRCWDNrSEpuWlRxUGtNWFFsOXd3dDQ0M2RGQXY1V0IteEJKaUN2ODRWN2FnakVXUWRMV1hyTTRKc01FZUs5TVNySFZncDB0aE14aFhFa1k4Z0MwY0trQXQ4SFhuYVBLdWZBVFdrZFgxenA5SXFEY2hNOG41NlRyaTU2RVdmQ1p3Yy1ZTUwtVXJhenF3b3Vwb1NVN3U0dkFaVmJRWFEwQnZQMmVvMDl3N0xsOS0tYXBQQSJ9",
    "total": null,
    "dropped": 0
  },
  "credits_used": 1,
  "request_id": "req_example000000",
  "cached": false,
  "pagination": {
    "next_cursor": "sc.eyJ2IjoyLCJjIjoiZXlKemRHRnlkRjkwYVcxbElqb3hOemt3T1RJMk16Z3lMQ0psYm1SZmRHbHRaU0k2TVRjNU9EY3dNak00TWl3aVluSnZkM05sWDJOMWNuTnZjaUk2SWtGaWIwNHpRbGhmWkMxSmRsZFFWV1ZxTldWU05uQnBVMFJuTkhKU1lVWTNlSGsyVERKWVdWbHJiR05UVkhCRFEwZFZRV0pzUTJOVGF6UkZPRTVRYjJodGJHeG1NRkIxVlZsT1NrOWFNQzFuTkdOaFpFOTZjRlJwU2xrd1JWQXdWVlpHYzA5dmNuQkhVbWhHTjFseFFYbDFjemh4WDFSMVpGSTFTM1pNUjI5UGRTMVBlWEpZVFhjNVVsZGFURGd3U1hoNmEyTlRlR2RJTUhWMGJGSnBjVFZYZDNGUWIyRjRUMU0wUTA1dVpqTlVhMVF3ZGxsbVgyRmZNSGhCU0dWRmNFOW5kekpMVWtsaVJVMVpjRWREYTBZME5rNUxPRmhFWVRkTWIwVnllalZzV2pWME1EQkViRWRVU2xOdlRXSlBSM1ZSV1dwNWF6VnliMVphUzBWcU1qbFVVSFF4YjFWRlZWbHdPVGx6T1c1WVIzVk5aVmR0V0VkSlJtNDBWRGszZEc1clUyWlZZVGx0ZVRoMFdUUjZVMXBrY1ZWM0xVVnZNRGxTUTJsa01uWmtVRzh0TVRSSldEWlphbUZrV1dkV05GcFhWbGhqYXpOTVdHbHdUUzFsVlVocmFYcEJjazVsVUROM1ExUkdTbTlVVjA1ek4yVm1hSGhtZHpZNVVtUkNXRE5yU0VwdVdsUnhVR3ROV0ZGc09YZDNkRFEwTTJSR1FYWTFWMEl0ZUVKS2FVTjJPRFJXTjJGbmFrVlhVV1JNVjFoeVRUUktjMDFGWlVzNVRWTnlTRlpuY0RCMGFFMTRhRmhGYTFrNFowTXdZMHRyUVhRNFNGaHVZVkJMZFdaQlZGZHJaRmd4ZW5BNVNYRkVZMmhOT0c0MU5sUnlhVFUyUlZkbVExcDNZeTFaVFV3dFZYSmhlbkYzYjNWd2IxTlZOM1UwZGtGYVZtSlJXRkV3UW5aUU1tVnZNRGwzTjB4c09TMHRZWEJRUVNKOSIsImUiOiJmYWNlYm9vay9ldmVudHMiLCJwIjoiY3Vyc29yIn0",
    "has_more": true,
    "page_size": 12
  },
  "credits_remaining": 9999,
  "source": "captured",
  "captured_at": "2026-10-02T07:33:05.466Z",
  "redacted": true
}

Live sample illustrating the unified response shape. Field values reflect the record you query.

API Details

How does the Facebook Events API work?

Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.

Method

GET

Response

JSON

Why SocialCrawl

Why use SocialCrawl for Facebook Events data?

We handle the complexity of Facebook data extraction so you can focus on building. Unified schema, AI enrichment, and zero platform logic in your code.

Developer First

How do you scrape social media data in seconds?

The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.

One schema, every platform

Query 69 platforms with identical response structures. Write your integration once.

Computed fields, not just scraped

When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.

See your data before you code

Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 69 platforms
FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
What is the Facebook Events API?
GET /v1/facebook/events lists Facebook events for a city. Pass the city events page url and the response returns each event with its name, date, venue, and cover image. It costs 1 credit per call.
What URL do I pass?
Pass the Facebook city events page URL in the url param, for example the /events/ page for a given city. The endpoint reads that page and returns the structured event list, so you do not have to parse the HTML yourself.
How do I page through more events?
Take the cursor value from the response and pass it as the cursor param on the next call to load the next page of events. Repeat until the cursor comes back empty.
Can I filter by date or time?
Yes. Use the optional time param to narrow the events window. Combine it with cursor pagination to build a rolling feed of upcoming local events for an event discovery pipeline.
How is this better than the Graph API?
It returns city event listings as clean JSON behind one x-api-key, without app review, tokens, or Graph API scopes. Each call is 1 credit, and new accounts get 100 free credits with no card.
Can I get each event's description and address too?
Add include=details. The explore listing carries the title, the cover image, the start, the venue, and the RSVP counts; the join fills the description, the street address and city, the coordinates, the hosts, the category, the privacy, and the cancelled flag on every row in the same call. The page is 1 credit plus 1 credit per event filled from a fresh lookup, 13 credits at most, with cached rows free and unfilled rows refunded.

Ask AI about SocialCrawl

Ready to scrape Facebook Events data?

Get your API key and start pulling Facebook data in under 60 seconds.

Start for free

🤖 AI agent or LLM? Read this page as markdown