> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scraperize.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a public Facebook page's events

> Fetches a public Facebook page's events (from its `/events` tab, logged-out). Each event includes its name, url, start time (unix + ISO + the human date line), past/online/canceled flags, kind, cover photo, place (name/type/city/coords when present), and creator. Returns the batch on the initial page load plus a `paging.cursor` / `paging.hasNextPage` for the next page.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/facebook/profile/events
openapi: 3.0.3
info:
  title: Scraperize API
  version: 1.0.0
  description: >-
    Extract public data from social media platforms as clean JSON. Endpoints are
    split by platform and by what they return, e.g. `GET /v1/twitter/tweet`.


    ## Authentication

    Send your API key in the `x-api-key` header (or `Authorization: Bearer
    <key>`). Create keys in your dashboard.


    ## Credits

    Each successful live scrape costs **1 credit**. Credits are prepaid and
    never expire.


    ## Caching

    Every endpoint accepts an optional `cache_max_age`
    (`1d`|`3d`|`7d`|`14d`|`30d`). A cache hit within that window is returned for
    **0 credits**.


    ## Responses

    Success returns `{ "data": …, "meta": { "requestId", … } }`. Errors return
    `{ "error": { "code", "message", "requestId" } }` with a matching HTTP
    status. `meta` on a scrape carries `creditsCharged`, `creditsRemaining`,
    `cached`, and (on a hit) `cachedAt`.


    ## Rate limits

    Requests are limited per team per minute; over the limit returns `429` with
    a `Retry-After` header.
servers:
  - url: https://api.scraperize.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Twitter
    description: Twitter / X scraping endpoints
  - name: Facebook
    description: Facebook scraping endpoints
  - name: Linkme
    description: Linkme (link.me) scraping endpoints
  - name: Amazon
    description: Amazon (creator shop / storefront) scraping endpoints
  - name: Linkbio
    description: Linkbio (lnk.bio) scraping endpoints
  - name: Pillar
    description: Pillar (pillar.io) scraping endpoints
  - name: Komi
    description: Komi (komi.io) scraping endpoints
  - name: Linktree
    description: Linktree (linktr.ee) scraping endpoints
  - name: Kick
    description: Kick (kick.com) scraping endpoints
  - name: Snapchat
    description: Snapchat (snapchat.com) scraping endpoints
  - name: Telegram
    description: Telegram (t.me) scraping endpoints
  - name: Google
    description: Google Search scraping endpoints
paths:
  /v1/facebook/profile/events:
    get:
      tags:
        - Facebook
      summary: Get a public Facebook page's events
      description: >-
        Fetches a public Facebook page's events (from its `/events` tab,
        logged-out). Each event includes its name, url, start time (unix + ISO +
        the human date line), past/online/canceled flags, kind, cover photo,
        place (name/type/city/coords when present), and creator. Returns the
        batch on the initial page load plus a `paging.cursor` /
        `paging.hasNextPage` for the next page.
      parameters:
        - name: url
          in: query
          required: true
          description: Public Facebook page URL, e.g. https://www.facebook.com/WebSummitHQ
          schema:
            type: string
          example: https://www.facebook.com/WebSummitHQ
        - name: cursor
          in: query
          required: false
          description: The `paging.cursor` from a previous call, to fetch the next page.
          schema:
            type: string
        - name: cache_max_age
          in: query
          required: false
          description: >-
            Optional. Return a cached result if one this age or newer exists —
            served for **0 credits** with `meta.cached=true` and
            `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and
            refreshes the cache. Omit to always scrape fresh.
          schema:
            type: string
            enum:
              - 1d
              - 3d
              - 7d
              - 14d
              - 30d
          example: 7d
      responses:
        '200':
          description: The page events.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      events:
                        type: array
                        items:
                          type: object
                      eventCount:
                        type: integer
                      paging:
                        type: object
                        properties:
                          cursor:
                            type: string
                            nullable: true
                          hasNextPage:
                            type: boolean
                      fetchedAt:
                        type: string
                        format: date-time
                  meta:
                    type: object
                    description: >-
                      requestId + credit/caching metadata (creditsCharged,
                      creditsRemaining, cached, cachedAt).
                required:
                  - data
                  - meta
              example:
                data:
                  events:
                    - id: '668090121966465'
                      name: Tech For Good
                      url: https://www.facebook.com/events/668090121966465/
                      startTimestamp: 1696946400
                      startDate: '2023-10-10T14:00:00.000Z'
                      dayTimeSentence: Tue, 10 Oct 2023
                      isPast: true
                      isHappeningNow: false
                      isCanceled: false
                      isOnline: true
                      eventKind: PUBLIC_TYPE
                      onlineEventType: FB_LIVE
                      coverPhotoUrl: >-
                        https://scontent-los4-1.xx.fbcdn.net/v/t39.30808-6/384120671_713131144187494_3360755611233295705_n.png?stp=c118.0.1044.720a_dst-png&cstp=mx1044x720&ctp=s235x165&_nc_cat=110&ccb=1-7&_nc_sid=4bdd9b&_nc_ohc=o9XgitxjxooQ7kNvwE7i5px&_nc_oc=Adph27MG0CNUT4_roGrc3ftk5vgsEQ1a3FMfUeUFSrDYpwAwPD01G_L-FC729dixoFs&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=q6UGiI8rHSsOiUEpAXDOQA&_nc_ss=7f289&oh=00_AQKRg09UqNsnMludZc2s6mGCj_1d-ONUvpGpEJZRlno5aQ&oe=6AADA61B
                      coverVideoUrl: null
                      place: null
                      creator:
                        id: '100064718437596'
                        name: Web Summit
                        url: https://www.facebook.com/WebSummitHQ
                    - id: '563963522351024'
                      name: Test
                      url: https://www.facebook.com/events/563963522351024/
                      startTimestamp: 1677600900
                      startDate: '2023-02-28T16:15:00.000Z'
                      dayTimeSentence: Tue, 28 Feb 2023
                      isPast: true
                      isHappeningNow: false
                      isCanceled: false
                      isOnline: true
                      eventKind: PUBLIC_TYPE
                      onlineEventType: FB_LIVE
                      coverPhotoUrl: >-
                        https://scontent-los4-1.xx.fbcdn.net/v/t39.30808-6/331416647_3352736264991172_6745313760654182826_n.png?stp=c118.0.1044.720a_dst-png&cstp=mx1044x720&ctp=s235x165&_nc_cat=102&ccb=1-7&_nc_sid=4bdd9b&_nc_ohc=QG4Hj_7B6J8Q7kNvwHvTN59&_nc_oc=AdrH8NPX-cP7iyIXimXmkbBBVDUbrZZAuPqBQ2L2WxTG4ybyRwKHwZGV28gWQBkPrQA&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=q6UGiI8rHSsOiUEpAXDOQA&_nc_ss=7f289&oh=00_AQK29dzKQ8gqXzqZ4AmiBiPuUYreWP_uenP6sbTJWPoiyw&oe=6AADA549
                      coverVideoUrl: null
                      place: null
                      creator:
                        id: '100064718437596'
                        name: Web Summit
                        url: https://www.facebook.com/WebSummitHQ
                    - id: '1144488746245969'
                      name: Restream Test
                      url: https://www.facebook.com/events/1144488746245969/
                      startTimestamp: 1677586500
                      startDate: '2023-02-28T12:15:00.000Z'
                      dayTimeSentence: Tue, 28 Feb 2023
                      isPast: true
                      isHappeningNow: false
                      isCanceled: false
                      isOnline: true
                      eventKind: PUBLIC_TYPE
                      onlineEventType: FB_LIVE
                      coverPhotoUrl: >-
                        https://scontent-los4-1.xx.fbcdn.net/v/t39.30808-6/333968926_594306715889858_5541687746335947839_n.png?stp=c118.0.1044.720a_dst-png&cstp=mx1044x720&ctp=s235x165&_nc_cat=100&ccb=1-7&_nc_sid=4bdd9b&_nc_ohc=-DR-Jqs1ol4Q7kNvwFBQDzs&_nc_oc=AdpKIFpGeuQ9OvqA1VY8Hky0Id_hFfAUiDFhfnsLF8bvpH_8crvbvYI9nF5ukfbuKZA&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=q6UGiI8rHSsOiUEpAXDOQA&_nc_ss=7f289&oh=00_AQIwavwVqizU-CVgf9wQXo2WJwEH6BtEuKDWROB_Iq94ug&oe=6AADC136
                      coverVideoUrl: null
                      place: null
                      creator:
                        id: '100064718437596'
                        name: Web Summit
                        url: https://www.facebook.com/WebSummitHQ
                  eventCount: 8
                  totalCount: 53
                  paging:
                    cursor: >-
                      AQHTzpw3vw12YnEoNjwAzXeqFikbX05iBiF0cksdsggf0zIprzBbHWTVou_cF6-tujzH3CUxj4zFGrXccF2jdvv6aQ
                    hasNextPage: true
                  fetchedAt: '2026-09-14T12:13:50.211Z'
                meta:
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
                  creditsCharged: 1
                  creditsRemaining: 4999
                  cached: false
        '400':
          description: Invalid or expired cursor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: BAD_REQUEST
                  message: The request was invalid.
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
        '401':
          description: Missing, invalid, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: UNAUTHORIZED
                  message: API key required — pass it in the `x-api-key` header.
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
        '402':
          description: Not enough credits for this request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: INSUFFICIENT_CREDITS
                  message: >-
                    This request costs 1 credit, but your balance is 0. Top up
                    to continue.
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
        '404':
          description: Page not found / no public events.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: NOT_FOUND
                  message: >-
                    The requested content was not found (it may not exist, be
                    deleted, or be private).
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
        '422':
          description: Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: VALIDATION_ERROR
                  message: Request validation failed
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
                  details:
                    - path: url
                      message: Required
        '429':
          description: Over the per-minute rate limit — honour `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: RATE_LIMITED
                  message: >-
                    Rate limit exceeded — max 100 requests per 60s. Retry in
                    ~30s.
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
        '502':
          description: Upstream block.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: UPSTREAM_BLOCKED
                  message: >-
                    The source was temporarily unavailable. Please try again
                    shortly.
                  requestId: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: NOT_FOUND
            message:
              type: string
              example: The requested content was not found.
            requestId:
              type: string
              example: req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f
            details:
              type: array
              items:
                type: object
              description: Present on validation errors.
          required:
            - code
            - message
            - requestId
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your API key. Send it in the `x-api-key` header (or `Authorization:
        Bearer <key>`). Create and manage keys from your dashboard.

````