UnifAPI Docs

List Facebook events for a city

Returns public Facebook events for a city from its Facebook Events explore URL, optionally limited to a time window. Paginate with `cursor`.

Pricing — $ · min $0.003

Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/facebook/events/explore

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Query Parameters

url*string

Public Facebook Events explore URL for a city.

Length1 <= length <= 4096
time?string

Optional time window for events.

Value in

  • "today"
  • "thisWeek"
  • "nextWeek"
cursor?string

Opaque pagination cursor from a previous response's pagination.next_cursor. Omit for the first page.

Length1 <= length <= 16384

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/facebook/events/explore?url=string"
{  "request_id": "string",  "data": [    {      "id": "string",      "url": "string",      "name": "string",      "cover": {        "photo_id": "string",        "image_url": "string",        "accessibility_caption": "string"      },      "is_online": true,      "is_past": true,      "is_happening_now": true,      "starts_at": 0,      "day_time_label": "string",      "place": {        "id": "string",        "name": "string"      },      "kind": "string",      "social": {        "summary": "string",        "interested_count": 0,        "going_count": 0,        "went_count": 0      },      "ticket_price_label": "string"    }  ],  "pagination": {    "has_more": true,    "next_cursor": "string"  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}