Facebook Events API

GET   /api/v1/search?engine=facebook_events

Browse public Facebook events by city and local date, with event titles, times, venues and pagination.

When the listing includes them, description contains the event description, end_iso_date gives its end time in UTC, and venue.street_address gives the street address. The optional is_online flag follows the event’s own online setting. interested and going are the counts Facebook shows, rounded above 1,000 (22K is 22000), and is_canceled marks an event Facebook says was canceled. Each dated occurrence of a recurring event has its own iso_date and shares parent_event_id with the others. A row that stands for a whole series, with a date ending in “and N more”, shows the next occurrence in date and the series’ first start in iso_date.

An unknown place, a place with no public events in the period, or a page token Facebook refuses returns a billed error. An empty final continuation returns the location and an empty events array. Look for pagination.next_page_token to tell whether more pages are available. Malformed input is rejected before the search.

API Parameters

Location

  • Name
    location_id
    Required
    Optional
    Description

    Positive numeric place ID from facebook_location_search, up to 9223372036854775807. Required on the first page.

Time Period

  • Name
    time_period
    Required
    Optional
    Description

    Local calendar period. Choose today, tomorrow, this_week, this_weekend or next_week. Omit it to browse the next 90 days.

Pagination

  • Name
    next_page_token
    Required
    Optional
    Description

    Pass pagination.next_page_token from the previous answer, even if that page contains zero events. Pass it alone or with the same place and time_period. An empty final page returns the location and an empty events array with no token. Events can repeat across pages. Use events[].id to remove duplicates.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to facebook_events.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

City Events

City Events
GET
https://www.searchapi.io/api/v1/search?engine=facebook_events&location_id=106224666074625
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "facebook_events",
  "location_id": "106224666074625"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_OxE2l6wMgOJVS8Bp9PbYq4Kv",
    "status": "Success",
    "created_at": "2026-11-26T15:35:14Z",
    "request_time_taken": 1.77,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.77,
    "request_url": null,
    "html_url": "https://www.searchapi.io/api/v1/searches/search_OxE2l6wMgOJVS8Bp9PbYq4Kv.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_OxE2l6wMgOJVS8Bp9PbYq4Kv"
  },
  "search_parameters": {
    "engine": "facebook_events",
    "location_id": "106224666074625"
  },
  "location": {
    "id": "106224666074625",
    "name": "Austin, Texas"
  },
  "events": [
    {
      "position": 1,
      "id": "1169749012245128",
      "title": "Black Friday Starts Early at JCPenney Austin",
      "link": "https://www.facebook.com/events/1169749012245128/",
      "date": "Fri, Nov 27 at 4:00 AM CST",
      "iso_date": "2026-11-27T10:00:00Z",
      "venue": {
        "id": "148470401848904",
        "name": "JCPenney"
      },
      "is_past": false,
      "is_canceled": false,
      "is_happening_now": false,
      "is_online": false,
      "interested": 257,
      "going": 15,
      "thumbnail": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/913927765_1744047323754161_6434208341418317083_n.jpg?stp=c0.28.1920.917a_dst-jpg_s320x320_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=75d36f&_nc_ohc=jRtAQp2g0gcQ7kNvwFCzQFO&_nc_oc=AdpXUKF_VhhdJkkw5Twxx_OfiNsWl1U9yTBCn-PsMZmF7c-mizjpXbHAVWoPQlCImls&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=w1JpKw4h4g911xsxqSWDdA&_nc_ss=7f30f&oh=00_AQScUB3hTw8J2_RHCbvUu4iAlZFfq9XDU37qB4HwT5Y36w&oe=6B0E3628"
    },
    {
      "position": 2,
      "id": "1439926297676666",
      "title": "Gina Hinojosa's upcoming inauguration",
      "link": "https://www.facebook.com/events/1439926297676666/",
      "date": "Tue, Jan 19, 2027 at 12:00 PM CST",
      "iso_date": "2027-01-19T18:00:00Z",
      "venue": {
        "id": "1418293378434205",
        "name": "Texas State Capitol"
      },
      "is_past": false,
      "is_canceled": false,
      "is_happening_now": false,
      "is_online": false,
      "interested": 22000,
      "going": 3100,
      "thumbnail": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/901146618_10247243288881764_1285902664666176809_n.jpg?stp=c0.200.1039.496a_cp6_dst-jpg_s320x320_tt6&_nc_cat=111&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=75d36f&_nc_ohc=5fXT9ikCVeoQ7kNvwHrJ55z&_nc_oc=AdqiGx3MhJLxImK_zNZu09Ti9b6y0M6axEhglgBw8THWDiHO7QZ7WXacbImrS6UBWFE&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=w1JpKw4h4g911xsxqSWDdA&_nc_ss=7f30f&oh=00_AQQCxBXPVWzT6FkF6zKsB-glY33uR90X9h8cx_ZXXXVd4w&oe=6B0E3969"
    },
    "..."
  ],
  "pagination": {
    "next_page_token": "WyIxMDYyMjQ2NjYwNzQ2MjUiLG51bGwsImV5SnpkR0Z5ZEY5MGFXMWxJam94TnprMU56QTNNekUxTENKbGJtUmZkR2x0WlNJNk1UZ3dNelE0TXpNeE5Td2lZbkp2ZDNObFgyTjFjbk52Y2lJNklrRmliemh0ZDFGd1owdzJUV3BwVGxwMlFUWnlTV3RoYkRaWFZYcHRSRXhSTFdvNE0xYzVOek5NZFRSd1pVZFNWWEE0WkhWNWVFTkNPWG80TVVONVdsbFBURzFYZVc0MFNqWmljSEpUVWpWRVoxVlVVVFEwTWpOQlZrOUhWR3hyZWxGQmJWTkRWbXBCWDFJNE0xSlFVMU0yV0VONE0wWnlXRU5GUVhVME5EQkpZamRvVlU1VGVtSXpSSHB0YzNaaFFXVmxaRVJVUTNOSU1qRkViRU5LWmpaRWRHSndSVGwzYm05S1dHRnBkbXhQWkZKM1NsQmFabkZOZFVSb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