API · Facebook
GET /facebook/events/search
Search public Facebook events by keyword.
| Request | GET /v1/facebook/events/search |
| Operation id | facebook.event.search |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search public Facebook events by keyword.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Keyword. Example: jazz. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching events. | FacebookEventSearch |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The ad, Page or advertiser is not in the Meta Ad Library. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Facebook is temporarily unavailable. Retryable; nothing was charged. | Error |
FacebookEventSearch fields
| Field | Type | Description |
|---|---|---|
events | FacebookEventSearchResult[] |
Errors use one shape everywhere; see Errors for every code and what to do.