> ## 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 Facebook post's (or reel's) comments

> Fetches the comments on a public Facebook post or reel (logged-out). Pass `url` OR `feedbackId` (the post's feedback id from `/facebook/post` — faster, it skips loading the post page). Each comment includes text, author, timestamp, reaction count + per-type breakdown, reply count, any media attachment, and its permalink. Returns a `paging.cursor` / `paging.hasNextPage` for the next page, plus the `feedbackId` to reuse.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/facebook/post/comments
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/post/comments:
    get:
      tags:
        - Facebook
      summary: Get a Facebook post's (or reel's) comments
      description: >-
        Fetches the comments on a public Facebook post or reel (logged-out).
        Pass `url` OR `feedbackId` (the post's feedback id from `/facebook/post`
        — faster, it skips loading the post page). Each comment includes text,
        author, timestamp, reaction count + per-type breakdown, reply count, any
        media attachment, and its permalink. Returns a `paging.cursor` /
        `paging.hasNextPage` for the next page, plus the `feedbackId` to reuse.
      parameters:
        - name: url
          in: query
          required: false
          description: >-
            **Required — provide one of `url` or `feedbackId`.** Public Facebook
            post/reel URL.
          schema:
            type: string
          example: https://www.facebook.com/reel/1549207066583030
        - name: feedbackId
          in: query
          required: false
          description: >-
            **Required — provide one of `url` or `feedbackId`.** The post's
            feedback id (from /facebook/post) — faster than url.
          schema:
            type: string
        - 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 comments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      comments:
                        type: array
                        items:
                          type: object
                      commentCount:
                        type: integer
                      paging:
                        type: object
                        properties:
                          cursor:
                            type: string
                            nullable: true
                          hasNextPage:
                            type: boolean
                      feedbackId:
                        type: string
                        nullable: true
                      fetchedAt:
                        type: string
                        format: date-time
                  meta:
                    type: object
                    description: >-
                      requestId + credit/caching metadata (creditsCharged,
                      creditsRemaining, cached, cachedAt).
                required:
                  - data
                  - meta
              example:
                data:
                  comments:
                    - id: Y29tbWVudDoxNjkzMjY0MTA1NDkzNDU2XzE0MTM4MTE4MTQxMjc1MTg=
                      legacyId: '1413811814127518'
                      text: >-
                        Meanwhile Ronaldo has never lost any FIFA world cup
                        finals he played.  🔥
                      author:
                        id: >-
                          pfbid0aNVbKRFqCTSaqNYE8834aBsELTKos9SPdfwSmDhAAUbAfzoPo5SPfgF6gnVGjvKal
                        name: Ribesh Chhetri
                        shortName: Ribesh
                        url: https://www.facebook.com/ribesh.chhetri
                        avatarUrl: >-
                          https://scontent-los4-1.xx.fbcdn.net/v/t1.6435-1/140304033_4896315097105613_3903629056200245534_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx819x819&ctp=s32x32&_nc_cat=107&ccb=1-7&_nc_sid=e99d92&_nc_ohc=fd-75cvxWr4Q7kNvwHVwfFx&_nc_oc=AdohqSLiOvHwqRhoeCt0OaZoHm8e0IR8EtLs0y91_AgL5hE76OZZ8ViYdwZH6CyzfCs&_nc_zt=24&_nc_ht=scontent-los4-1.xx&_nc_gid=l3d-Cecgom9TtlAOclzluA&_nc_ss=7f289&oh=00_AQKo556IjlUrGBlZFMHQuH75mjbLhmMtxOBKRi9XlJC4Zw&oe=6ACF3D57
                        verified: false
                        gender: MALE
                        isPage: false
                      createdAt: '2026-07-21T14:07:04.000Z'
                      createdTimestamp: 1784642824
                      reactionCount: 268
                      reactionsByType:
                        - type: Like
                          count: 121
                        - type: Love
                          count: 10
                        - type: Care
                          count: 0
                      replyCount: 22
                      feedbackId: ZmVlZGJhY2s6MTY5MzI2NDEwNTQ5MzQ1Nl8xNDEzODExODE0MTI3NTE4
                      expansionToken: >-
                        MjoxNzg5Mzg4MDQ2OgF_1tBFzl4Tu7tN7SmVERd9YdYD8kGaMDnbdB99XhEquZqKWEZBBlfXhnT4TrlDPtEZuiiMQ5EXD_wGe8YpRrAon7-iLa_IHTbtSb-kyV-lJCujK6w2dHeLjJ9PnTxGYmjvEWHSvtyIRTW6Jj0xBJPlks7gMqwslDvSduPfgoW7m4Z0won3z0JiKXedWe7ymewxMwTEALSRj8h4S0f7lqtNQbEburZDDQCrdP8HR-oaocz6QqUhQpO8nDp3r4jBby_gpAB77LY-f9vNzY_JAevvcuCgsV2EIhqEwqUzHIVCrhAdgBuj4dFjOJ1GIlhn2J4CzKnlYB6aDPCf4uf51f3gOMH7iDKZ-7Jk7xbw0X8Vzb5LE1N5zIhs2zhTlpWri4nPXi0FFX9kP5RaVXE513bsthOrXui5fJtcfObLpj6_BzRuPgSOdhjQNGEni3Us2pDQE_jQGW3aR_ovyTsXGvWlSmX_WVsUyzd3ixwLZThs1POesyscqRrmyOnVSktqk97Iuy3PyqLjPRomgDzUVfY3bL57zcL2zeDRQ_NBFlwnlm9U6Au_27FfJO8XdfUVem21kr6-lQDVbvThBrYHgST-X8WhnE7FsgKEmb1Zxo2RUtJ3C7JJQmJJxf3bD7gzCK5TvTD-LeJw39SG1hy5-3KdebpYcok
                      url: >-
                        https://www.facebook.com/reel/1549207066583030/?comment_id=1413811814127518
                      depth: 0
                      isAuthorOriginalPoster: false
                      attachments: []
                    - id: Y29tbWVudDoxNjkzMjY0MTA1NDkzNDU2XzE3NDUwNTIyMTY3NTY3NTU=
                      legacyId: '1745052216756755'
                      text: >-
                        "Everyone knows that Messi is favored by FIFA, so
                        Ronaldo, you're still the greatest of all time" 😊
                      author:
                        id: '100095372325816'
                        name: PAul le Géant
                        shortName: PAul
                        url: >-
                          https://www.facebook.com/people/PAul-le-G%C3%A9ant/100095372325816/
                        avatarUrl: >-
                          https://scontent-los4-1.xx.fbcdn.net/v/t39.30808-1/790268773_906586135863789_9117451633597992102_n.jpg?stp=c0.0.543.543a_cp0_dst-jpg_tt6&cstp=mx543x543&ctp=s32x32&_nc_cat=107&ccb=1-7&_nc_sid=1d2534&_nc_ohc=5XhizkmvcgMQ7kNvwEe1fyn&_nc_oc=Adq6nxplLP6qMjTKdIPItuiZtWDz8uc4Z2hah3lfR6hum_J9X3G3p-7gH0nSxDBUYRs&_nc_zt=24&_nc_ht=scontent-los4-1.xx&_nc_gid=l3d-Cecgom9TtlAOclzluA&_nc_ss=7f289&oh=00_AQIwU9FFGXupnXa-MsPYDJtnLks43sRJLJd3HnOhXUW3YQ&oe=6AADC60F
                        verified: false
                        gender: MALE
                        isPage: false
                      createdAt: '2026-07-21T14:16:53.000Z'
                      createdTimestamp: 1784643413
                      reactionCount: 302
                      reactionsByType:
                        - type: Like
                          count: 233
                        - type: Love
                          count: 34
                        - type: Care
                          count: 6
                      replyCount: 39
                      feedbackId: ZmVlZGJhY2s6MTY5MzI2NDEwNTQ5MzQ1Nl8xNzQ1MDUyMjE2NzU2NzU1
                      expansionToken: >-
                        MjoxNzg5Mzg4MDQ2OgF_XHK_X6i67yoWJ2iPpyZV3MHF0gFqgIq64eNpU4L4wVJcVK4-IePM-C8OoR6nWHgzmYbQ32WbBFAPgp8NX4gg8M6-HMnVWNEnFTPKZMqiavzbQ-uMFUajQcQ2EEjBu5pL0d2wZ-E8tpfPsd1XzhqpcsCzTOoXdlbyfB-Gbqao852iczvXN-6NFD_KtOorzfvLw4OYN50SZoOXR-Pg7DVwBeEBys0Rn8BRW0v1evurTOlf1lkszDVI6bQ7017URrPawo2YHLToenCoKnA80gCRQKO_2SXup_zkp7AWFWmB01ymYawLhSXT-CciRfoi8t2W8UK1eApJallayBDSOCeQ8aV5VbwZD7XJgL1q_69GNr-YdGlXZ5p5g-Xr27LK6hg_OqgrnQgl1YVHWCWiOmyzuhNMHMl9oBSIFZCN76c0H7-hRvYNGXwTIJROfnX3nD4CaOYRiJpiiWMNK-tfQqoo59JGNTmRI4xyh7fcxUW4rYcYVxsGxQ72s_OmR5uajHt3jRGuZxk2vr4x8seRqgYOFfrbKWg3EdNV8iOnL2ynPBRTS7TlB1HJRk4d7JhX92gACh3ENZgLx89TmtY66Ca3yjrLwWBhdEgZLDhcfGGURVwar5TVgA6eJF346CEom_QcyelvxJemTUhLFf5PAMKK_ZRtlIE
                      url: >-
                        https://www.facebook.com/reel/1549207066583030/?comment_id=1745052216756755
                      depth: 0
                      isAuthorOriginalPoster: false
                      attachments: []
                    - id: Y29tbWVudDoxNjkzMjY0MTA1NDkzNDU2XzE3MTQ2Njg4MDk3Mzk0NDY=
                      legacyId: '1714668809739446'
                      text: |-
                        17k likes in 3 minutes 
                        Messi go first think say Na Voodoo
                      author:
                        id: '100078184733333'
                        name: Succ Ess
                        shortName: Succ
                        url: https://www.facebook.com/succ.ess.928127
                        avatarUrl: >-
                          https://scontent-los4-1.xx.fbcdn.net/v/t39.30808-1/493478965_691588510123967_2399061176350484380_n.jpg?stp=c0.0.640.640a_cp0_dst-jpg_tt6&cstp=mx640x640&ctp=s32x32&_nc_cat=105&ccb=1-7&_nc_sid=1d2534&_nc_ohc=4c4QoLcgb-AQ7kNvwEjAS1P&_nc_oc=Adr0pPoOMi4_Jj1hu9KhqahMpQrtigKR5GYEZF9HlAy8NszOJjcKQMYT8aRSMosDz5k&_nc_zt=24&_nc_ht=scontent-los4-1.xx&_nc_gid=l3d-Cecgom9TtlAOclzluA&_nc_ss=7f289&oh=00_AQIuwGEC5n-ulj-QKNOQgqFtcFwX74zqZpm9xntBr0vhBA&oe=6AADB6A6
                        verified: false
                        gender: MALE
                        isPage: false
                      createdAt: '2026-07-21T14:01:19.000Z'
                      createdTimestamp: 1784642479
                      reactionCount: 218
                      reactionsByType:
                        - type: Like
                          count: 167
                        - type: Love
                          count: 6
                        - type: Care
                          count: 0
                      replyCount: 52
                      feedbackId: ZmVlZGJhY2s6MTY5MzI2NDEwNTQ5MzQ1Nl8xNzE0NjY4ODA5NzM5NDQ2
                      expansionToken: >-
                        MjoxNzg5Mzg4MDQ2OgF_TCux_pjRD6n35CP5Slc7XLu9KOtMByVfP1sfkAIvamb6XVyxfvtzItYHzEPHphMcYgcJxBrUwVFadxnEZUr6uvtOjejwd-qVMtHjJQyb38lNB91lHqtOhCC3YeO668D_8xtpMDXcRckw1wT-INNqCWtcRFS9awm1NJwH6qISMAqsy12LnMxZMU8hUZfl8gfmwVa971lcRi7N8L1JHwFpDJb4jLMbhrdTH3OqeXjpJVoQegpwKgZZgJpx27kHcXvhNgACQWplPCYj7PidiMJ4j43J539HAihy3QhN-_UEk8nmT2kOK5GregiHdiYJYaHDdcspQhOv56O1872IBFwTMjSdPaBZUcZXucyX55t2g8DnZdOMBFPz5bha-ZRZkz4laodQx0sUvd4YhTM505PXOLdmfXFXAw-yQJT9nCZKxdvG8v9eEcaQb7A_sMZyR_veIHU5bwi__0PCQsKgMgb_jW5jCz5vJz4zv5yW_degU7pqZUbYKsKQWziczPGSzhh0V4ZtY-pBfImUJKAgDXK2IlTIYbtUsd_RuQq3OQGaeI7leKCyGWrsl5EGQGuGtnF4AOngwo7OoLw7Yd9wYqq_c9V3HjQWrPm78ulsmEc9guwhw9sUdizrfpL_3vt9x6cGNjiZVUfkz124a5HhzSRmWPfbCfI
                      url: >-
                        https://www.facebook.com/reel/1549207066583030/?comment_id=1714668809739446
                      depth: 0
                      isAuthorOriginalPoster: false
                      attachments: []
                  commentCount: 10
                  paging:
                    cursor: >-
                      MToxNzg5Mzg4MDQ2OgF_bB_DrUOmgE6HFUJJPq9xBYZBtQp3WiMJiUNBXYXMQL1uHfP1F2hwn93XeFTQcCh_EsDpqyS5LyosYG7Ozj_inm9L6MiRDwNvYkC_aqFWpGSFgeU3hAzRDHRdT6ANIWA7bCaCwasaCtQJGwBywpRTGNsHqsf6CHNB_oYQfA3DO23UvqJo8Y3NnISLddv1s0VKeTwHNYR_FOJ0Hce9WbCEHAoMY5xPirn3oiN22a7DTXvqoAQ7rP_e88gy8S-lRPLJYkFHXlSiKj-BhXinXoCXnqYCCy-lsZ_xk8hKYcFI8Xv1_iv13zR56wB516u6KVMyhSNsj6MnDKjzJhPIhicaWyp93uOzmGZjTRKCdlxJM5MDHu23kQ6YFmu8xgjY1LFzM8ghxoa9KL2cKFGwYA-ujzGVuaBXg4M
                    hasNextPage: true
                  feedbackId: ZmVlZGJhY2s6MTY5MzI2NDEwNTQ5MzQ1Ng==
                  fetchedAt: '2026-09-14T12:14:07.828Z'
                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: Post/reel not found, or feedback id invalid.
          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 (missing url and feedbackId).
          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.

````