Platforms · Facebook

Facebook Events Scraper API

Returns the events listed under a Facebook city or region Events explore page. 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 explore listing carries no description, address, city, host or category, so those are null on a plain call. Values the row already carried are never replaced.

GET /api/v1/data/facebook/events · 1 credit per page · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Inputs

  • url (required): Full URL of the city's Facebook Events page.
  • time: Relative time window. Defaults to all time when omitted.
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.
  • since: Only 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. 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`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].published_at (string): When it was published (ISO 8601).
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_name (string): The author's display name.
  • posts[].like_count (number): Likes.
  • posts[].view_count (number): Views.
  • posts[].media[].thumbnail_url (string): Its media's thumbnail.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.author.display_name (string): Author display name
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • posts[].source_data.post.engagement.likes (number): Like / reaction count
  • posts[].source_data.post.engagement.views (number): View count (if available). For Instagram video/reels this is the play count: the headline 'Views' the IG app shows. Note: since mid-July 2026 Instagram's play count is Instagram-only. It no longer includes Facebook crosspost views (Meta-side change; the app UI changed identically).
  • posts[].source_data.post.ext.event.address (any): Street address.
  • posts[].source_data.post.ext.event.attendance_count (any): Total attendance figure.
  • posts[].source_data.post.ext.event.category (any): The event's category.
  • posts[].source_data.post.ext.event.city (any): City.
  • posts[].source_data.post.ext.event.description (any): The event's description.
  • posts[].source_data.post.ext.event.duration_text (any): How long the event lasts, as text.
  • posts[].source_data.post.ext.event.going_count (any): People who said they are going.
  • posts[].source_data.post.ext.event.host_context_text (any): The host line, such as `Event by ...`.
  • posts[].source_data.post.ext.event.hosts (any): The people or pages hosting the event.
  • posts[].source_data.post.ext.event.interested_count (any): People who marked themselves interested.
  • posts[].source_data.post.ext.event.is_canceled (any): True when the event is cancelled.
  • posts[].source_data.post.ext.event.is_online (any): True when the event is online.
  • posts[].source_data.post.ext.event.is_past (any): True when the event has already happened.
  • posts[].source_data.post.ext.event.latitude (any): Latitude of the venue in degrees.
  • posts[].source_data.post.ext.event.location_id (any)
  • posts[].source_data.post.ext.event.location_name (any): Name of the venue, or `Online event`.
  • posts[].source_data.post.ext.event.location_type (any)
  • posts[].source_data.post.ext.event.longitude (any): Longitude of the venue in degrees.
  • posts[].source_data.post.ext.event.privacy (any): Who can see the event, such as `public`.
  • posts[].source_data.post.ext.event.start_timestamp (any): When the event starts, in Unix seconds.
  • posts[].source_data.post.ext.event.time_text (any): The event time as the platform words it, with time zone.
  • posts[].source_data.post.ext.published_at_epoch (number): Kept for one deprecation cycle for integrations pinned to the numeric form.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.published_at (any): Post creation timestamp as an ISO 8601 UTC string.
  • posts[].source_data.post.url (string)
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.

Good to know

  • The price depends on what the call returns: from 1 credit to 13 credits.
  • Each call returns one page of about 12 posts. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Example call

GET /api/v1/data/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547

Questions

How much does the Facebook Events API cost?

Each page costs 1 to 13 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send url. 3 more inputs are optional: time, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page of about 12 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Do I need a Facebook account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related Facebook endpoints

More Facebook scraper APIs