Facebook Events

3 endpoints.

GET /v1/facebook/event_details

Event Details

Get a specific event by its URL or id

Parameters

NameInTypeDescription
idquerystringThe ID of the event
urlquerystringThe URL of the event

Request

curl "https://api.scrapall.bipsport.com/scapi/v1/facebook/event_details" \
  -H "X-Scapi-Key: YOUR_API_KEY"
const res = await fetch("https://api.scrapall.bipsport.com/scapi/v1/facebook/event_details", {
  headers: { "X-Scapi-Key": "YOUR_API_KEY" }
});
const data = await res.json();
import requests

r = requests.get(
    "https://api.scrapall.bipsport.com/scapi/v1/facebook/event_details",
    headers={"X-Scapi-Key": "YOUR_API_KEY"},
)
print(r.json())

Response 200 (sample)

{
  "id": "2255360061870188",
  "url": "https://www.facebook.com/events/2255360061870188/",
  "name": "May St. Pete Flea ",
  "description": "SPRING IS HERE AND WE CAN’T WAIT TO SEE YOU AT THE MARKET! \nMeet us downtown at Mirror Lalke as we host some of the best makers, artists and small businesses...",
  "category": null,
  "categories": [],
  "is_online": false,
  "is_past": true,
  "event_kind": "PUBLIC_TYPE",
  "privacy": "public",
  "start_time": null,
  "end_time": null,
  "time_text": null,
  "duration": "4 hr",
  "price": null,
  "ticket_url": null,
  "ticket_source": null,
  "ticket_provider": null,
  "location_name": "Mirror Lake Park, Downtown St Pete",
  "address": "Saint Petersburg, FL",
  "city": "Saint Petersburg, Florida",
  "city_id": "111326725552547",
  "latitude": 27.776053761243,
  "longitude": -82.639546684316,
  "attendance_count": 7654,
  "...": "20 more fields"
}

GET /v1/facebook/events

Events

Get the events of a city. Check out this [link](https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547) for an example of where we are getting the data from.

Parameters

NameInTypeDescription
url requiredquerystringThe URL of the city's Facebook Events page
timequerystringThe time frame to search for. Defaults to all time
one of: today, this_week, next_week
next_cursorquerystringThe cursor to paginate to the next page

Request

curl "https://api.scrapall.bipsport.com/scapi/v1/facebook/events?url=https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547" \
  -H "X-Scapi-Key: YOUR_API_KEY"
const res = await fetch("https://api.scrapall.bipsport.com/scapi/v1/facebook/events?url=https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547", {
  headers: { "X-Scapi-Key": "YOUR_API_KEY" }
});
const data = await res.json();
import requests

r = requests.get(
    "https://api.scrapall.bipsport.com/scapi/v1/facebook/events?url=https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547",
    headers={"X-Scapi-Key": "YOUR_API_KEY"},
)
print(r.json())

Response 200 (sample)

{
  "events": [
    {
      "id": "2255360061870188",
      "schema_context": null,
      "cover_photo": {
        "photo": {
          "accessibility_caption": "May be an image of crowd",
          "image": {
            "uri": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-6/651106377_950305721046361_5055393414866459656_n.jpg?stp=c0.128.2048.977a_dst-jpg_s640x640_tt6&_nc_cat=102&..."
          },
          "id": "950305717713028"
        }
      },
      "cover_video": null,
      "gif_cover_photo": null,
      "online_event_setup": null,
      "is_happening_now": false,
      "day_time_sentence": "Sun, May 3 at 12:00 PM EDT",
      "name": "May St. Pete Flea ",
      "is_online": false,
      "ticketing_context_row": {
        "price_range_text": null
      },
      "event_place": {
        "typename": "Page",
        "contextual_name": "Mirror Lake Park, Downtown St Pete",
        "is_node": "Page",
        "id": "521768081246129"
      },
      "event_url": "https://www.facebook.com/events/2255360061870188/",
      "can_page_viewer_invite_as_user": false,
      "can_viewer_invite": false,
      "can_viewer_rsvp": false,
      "can_viewer_share": false,
      "event_kind": "PUBLIC_TYPE",
      "if_viewer_can_duplicate_event": null,
      "is_online_or_detected_online": false,
      "is_past": false,
      "is_viewer_host": false,
      "start_timestamp": 1777824000,
      "rsvp_button_renderer": {
        "typename": "PublicRsvpStyleRenderer",
        "event": {
          "id": "2255360061870188",
          "connection_style": "INTERESTED",
          "can_viewer_join": false,
          "can_viewer_watch": false,
          "can_viewer_unwatch": false,
          "viewer_watch_status": "UNWATCHED",
          "if_viewer_can_see_going_button": null,
          "event_connection_data_privacy_scope": null,
          "privacy_scope_for_toast": null,
          "can_join_group_chat": false,
          "created_for_group": null,
          "chat": null
        },
        "module_operation_event_comet_universal_rsvp_button_event": {
          "dr": "PublicEventCometRSVPButtonRenderer_rsvpStyleRenderer$normalization.graphql"
        },
        "module_component_event_comet_universal_rsvp_button_event": {
          "dr": "PublicEventCometRSVPButtonRenderer.react"
        }
      },
      "parent_if_exists_or_self": {
        "online_event_setup": null,
        "id": "2255360061870188"
      },
      "...": "3 more fields"
    }
  ],
  "next_cursor": "eyJzdGFydF...."
}