Search Facebook events

Search Facebook events by name.

GET/v1/facebook/events/search
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
querystringrequiredquery

Search query text for Facebook events by name.

min 1 chars · max 512 chars

cursorstringoptionalquery

Opaque pagination cursor returned by a previous response.

min 1 chars

Response fields
31

Endpoint-specific response payload.

dataquery
string

Search query string evaluated for this response.

Events returned for this page.

dataevents[]id
string

Stable Facebook event identifier.

min 1 chars

dataevents[]url
stringnullable

Canonical public event URL when available.

dataevents[]name
string

Event name.

min 1 chars

dataevents[]dayTimeSentence
stringnullable

Human-readable date and time label when available.

dataevents[]startAt
stringnullable

Event start time as an ISO-8601 timestamp when available.

dataevents[]isOnline
booleannullable

Whether the event is online when available.

dataevents[]isPast
booleannullable

Whether the event has already ended when available.

dataevents[]eventKind
stringnullable

Event visibility kind when available, such as public or private.

Venue or place associated with the event.

dataevents[]placeid
stringnullable

Place identifier for the event venue when available.

dataevents[]placename
stringnullable

Display name of the event venue when available.

Cover image for the event.

dataevents[]coverurl
stringnullable

Cover image URL when available.

dataevents[]coveralt
stringnullable

Cover image alternative text when available.

dataevents[]priceRange
stringnullable

Ticket price range label when available.

dataevents[]interestedCount
numbernullable

Number of people marked interested when available.

dataevents[]goingCount
numbernullable

Number of people marked going when available.

dataevents[]wentCount
numbernullable

Number of people who went when available.

datatotalEvents
integer

Number of events returned in this response.

≥ 0

Pagination information for the current response.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/facebook/events/search?query=dogs" \
  -H "x-api-key: $SOCIALFETCH_API_KEY"

Responses

Events matching the requested search.