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

# List replies to a comment

> List the accessible replies to an Instagram post comment in chronological order, including text, author, publish time, like count, the parent comment and total reply count. Supply the post shortcode and parent comment ID. Continue with nextCursor. Instagram may return a different page size than requested. Costs 1 credit per result returned, with a minimum of 1 credit per request.



## OpenAPI

````yaml /openapi.json post /instagram/comment-replies
openapi: 3.1.0
info:
  title: Bridgly API
  description: >-
    Web scraping API for LinkedIn, X (Twitter), Reddit, GitHub, Instagram and
    TikTok. Authenticated endpoints accept a Bridgly API key (`bgly_…`) via
    `Authorization: Bearer <token>`.
  version: 1.0.0
servers:
  - url: https://api.bridgly.app
    description: Production
security: []
tags:
  - name: LinkedIn
    description: Scrape LinkedIn profiles, companies, posts, and search.
  - name: Reddit
    description: Scrape Reddit posts, subreddits, users, and search.
  - name: X (Twitter)
    description: Scrape tweets and search X.
  - name: GitHub
    description: >-
      Fetch GitHub profiles, pinned repos, contributions, repositories, stars,
      and projects via GitHub's GraphQL API.
  - name: Instagram
    description: Scrape Instagram profiles, posts, followers, and search.
  - name: TikTok
    description: Fetch TikTok profiles.
paths:
  /instagram/comment-replies:
    post:
      tags:
        - Instagram
      summary: List replies to a comment
      description: >-
        List the accessible replies to an Instagram post comment in
        chronological order, including text, author, publish time, like count,
        the parent comment and total reply count. Supply the post shortcode and
        parent comment ID. Continue with nextCursor. Instagram may return a
        different page size than requested. Costs 1 credit per result returned,
        with a minimum of 1 credit per request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                shortcode:
                  type: string
                  minLength: 1
                  description: >-
                    Post shortcode, or the post or Reel link, e.g. "DA1b2C3d4E5"
                    or "https://www.instagram.com/p/DA1b2C3d4E5/"
                count:
                  default: 10
                  description: Number of results to return (1–10). Defaults to 10.
                  type: integer
                  minimum: 1
                  maximum: 10
                cursor:
                  description: >-
                    The previous response's `nextCursor`, to fetch the next
                    page. Omit it for the first page.
                  type: string
                commentId:
                  type: string
                  pattern: ^\d+$
                  description: Numeric ID of the parent comment.
              required:
                - shortcode
                - commentId
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  timeMs:
                    type: number
                    description: >-
                      Wall-clock time the request took to complete, in
                      milliseconds.
                  creditsCost:
                    type: number
                    description: Number of account credits this request consumed.
                  data:
                    type: object
                    properties:
                      nextCursor:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          Pass as `cursor` to fetch the next page; null when
                          there are no more results. A page can hold fewer
                          results than asked for, so keep paging until it is
                          null.
                      replies:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            text:
                              anyOf:
                                - type: string
                                - type: 'null'
                            created_at:
                              anyOf:
                                - type: number
                                - type: 'null'
                            owner:
                              anyOf:
                                - type: object
                                  properties:
                                    id:
                                      type: string
                                    username:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    full_name:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    profile_pic_url:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    is_private:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    is_verified:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                    profile_pic_id:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                    latest_reel_media:
                                      description: >-
                                        Latest story publish time as Unix
                                        seconds; zero means no recent story.
                                      anyOf:
                                        - type: number
                                        - type: 'null'
                                    is_mentionable:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                  required:
                                    - id
                                  additionalProperties: false
                                - type: 'null'
                            likes_count:
                              anyOf:
                                - type: number
                                - type: 'null'
                            media_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            parent_comment_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            replied_to_comment_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            user_id:
                              anyOf:
                                - type: string
                                - type: 'null'
                            is_edited:
                              anyOf:
                                - type: boolean
                                - type: 'null'
                            status:
                              anyOf:
                                - type: string
                                - type: 'null'
                          required:
                            - id
                          additionalProperties: false
                      comment:
                        anyOf:
                          - type: object
                            properties:
                              id:
                                type: string
                              text:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              created_at:
                                anyOf:
                                  - type: number
                                  - type: 'null'
                              owner:
                                anyOf:
                                  - type: object
                                    properties:
                                      id:
                                        type: string
                                      username:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      full_name:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      profile_pic_url:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      is_private:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      is_verified:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                      profile_pic_id:
                                        anyOf:
                                          - type: string
                                          - type: 'null'
                                      latest_reel_media:
                                        description: >-
                                          Latest story publish time as Unix
                                          seconds; zero means no recent story.
                                        anyOf:
                                          - type: number
                                          - type: 'null'
                                      is_mentionable:
                                        anyOf:
                                          - type: boolean
                                          - type: 'null'
                                    required:
                                      - id
                                    additionalProperties: false
                                  - type: 'null'
                              likes_count:
                                anyOf:
                                  - type: number
                                  - type: 'null'
                              media_id:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              parent_comment_id:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              replied_to_comment_id:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              user_id:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              is_edited:
                                anyOf:
                                  - type: boolean
                                  - type: 'null'
                              status:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - id
                            additionalProperties: false
                          - type: 'null'
                      replies_count:
                        description: Total number of replies to this comment.
                        anyOf:
                          - type: number
                          - type: 'null'
                    required:
                      - nextCursor
                      - replies
                    additionalProperties: false
                required:
                  - timeMs
                  - creditsCost
                  - data
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '402':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: typescript
          label: Bridgly SDK
          source: |-
            import { Bridgly } from '@bridgly/sdk';

            const client = new Bridgly({ apiKey: process.env.BRIDGLY_API_KEY });

            const res = await client.instagram.getCommentReplies({
              shortcode: "string",
              count: 10,
              commentId: "string",
            });
            if (res.type === 'success') console.log(res.data);
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Bridgly API key (`bgly_…`). Metered endpoints deduct credits from the
        resolved account.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.