1. Platforms
  2. Facebook Scraper API
  3. Facebook Events search API

Facebook Events search API

Events matching a name or description, as facebook.com/events/search shows them (about 7 on the first page).

GET api.socialscrape.dev/v1/facebook/events/search

Cost
1 credit
Cached repeats
0 creditssend max_age_days, results kept 30 days
Failed requests
0 credits

There is no place filter: location is searched as words after the query.

You send query.

Part of the Facebook Scraper API: 23 Facebook endpoints on one key.

Request

Send your key in the x-api-key header.

1curl -G "https://api.socialscrape.dev/v1/facebook/events/search" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode 'query=jazz jam'

Parameters

NameTypeRequiredDescription
querystringyesSearch terms. Also accepted as keyword, q.
locationstringCity or area to search around ("Austin, TX").
cursorstringOpaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page.

Every request also accepts trim, raw and max_age_days.

Response

Sample from a recorded response, shortened. Values are examples, not your data.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_8add0412826d1eb6ef2d024d",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "event",13        "platform": "facebook",14        "id": "28848663088088051",15        "url": "https://www.facebook.com/events/28848663088088051/",16        "title": "Sunday Jazz Jam",17        "description": null,18        "starts_at": "2026-10-25T20:00:00Z",19        "ends_at": null,20        "place": {21          "name": "114 S Broadway, South Amboy, NJ",22          "address": null,23          "city": null,24          "region": null,25          "country": null,26          "latitude": null,27          "longitude": null28        },29        "is_online": false,30        "host": null,31        "going_count": 1,32        "interested_count": 4,33        "cover_url": "https://scontent-sea5-1.xx.fbcdn.net/v/t39.99422-6/861479592_1420981459660647_4106507575597665627_n.png?stp=c0.167.1206.804a_dst-jpg_tt6&cstp=mx1206x804&ctp=...",34        "extra": {35          "day_time_sentence": "Sun, 1 Nov at 16:00 EST",36          "event_kind": "PUBLIC_TYPE",37          "is_happening_now": true,38          "is_past": false,39          "place_id": "1749917266701109",40          "social_context": "4 interested · 1 going"41        }42      },43      {44        "object": "event",45        "platform": "facebook",46        "id": "1737414620694897",47        "url": "https://www.facebook.com/events/1737414620694897/",48        "title": "The Brooklyn jazz jam session on Thursdays at Marian's, 8:30-11:30pm",49        "description": null,50        "starts_at": "2026-10-30T00:30:00Z",51        "ends_at": null,52        "place": {53          "name": "Bedstuy Brooklyn NYC",54          "address": null,55          "city": null,56          "region": null,57          "country": null,58          "latitude": null,59          "longitude": null60        },61        "is_online": false,62        "host": null,63        "going_count": 1,64        "interested_count": 1,65        "cover_url": "https://scontent-sea5-1.xx.fbcdn.net/v/t39.30808-6/861750764_1576602187603331_6423329380935671992_n.jpg?stp=c0.197.1522.1015a_dst-jpg_tt6&cstp=mx1522x1015&ct...",66        "extra": {67          "day_time_sentence": "Happening now",68          "event_kind": "PUBLIC_TYPE",69          "is_happening_now": true,70          "is_past": false,71          "place_id": "260649337355557",72          "social_context": "1 interested · 1 going"73        }74      }75    ],76    "cursor": "eyJrIjoiZXZzZWFyY2giLCJxIjoiamF6eiBqYW0iLCJhZnRlciI6IntcInBhZ2VfbnVtYmVyXCI6MCxcImZsb3dfY3Vyc29yc19zZXJpYWxpemVkXCI6e1wiU0VBUkNIX0NPTlRST0xTX0lOVEVSQ0VQVFwiO...",77    "has_more": true,78    "parent": null79  },80  "cursor": "eyJrIjoiZXZzZWFyY2giLCJxIjoiamF6eiBqYW0iLCJhZnRlciI6IntcInBhZ2VfbnVtYmVyXCI6MCxcImZsb3dfY3Vyc29yc19zZXJpYWxpemVkXCI6e1wiU0VBUkNIX0NPTlRST0xTX0lOVEVSQ0VQVFwiO...",81  "has_more": true82}

Fields

A page of results. Each entry in items is a Event. cursor and has_more page through the rest.

A field the platform does not give is null, never made up. Extra platform details are in extra.

FieldTypeAlwaysNotes
object"event"
platformPlatformyes
idstringyes
urlstring or null
titlestring or null
descriptionstring or null
starts_atstring (ISO 8601 date-time) or null
ends_atstring (ISO 8601 date-time) or null
placePlace or null
is_onlineboolean or null
hostAuthor or null
going_countinteger or null
interested_countinteger or null
cover_urlstring or null
Show the other 1 fields
FieldTypeAlwaysNotes
extraobject or null

Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.

Questions

Which errors can it return?

invalid_params (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.

How do I get more than one page?

Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.

Is there an SDK call for it?

The Python client has client.facebook.events_search(...) and the TypeScript client client.facebook.eventsSearch(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.

Can an AI agent call it?

Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.