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

# Comment Replies

> Get replies to a specific Instagram comment. Provide the post or reel `url` and the parent `comment_id` (obtained from the Comments endpoint). Use the `cursor` from each response to load more replies.

<Note>
  💳 **1 credit** per request
</Note>

Get replies to a specific Instagram comment. Pass the post or reel `url` and the parent `comment_id` (from the [Comments](/api-reference/instagram/comments) endpoint), then use the `cursor` from each response to page through more replies.


## OpenAPI

````yaml GET /v1/scrape/instagram/comment/replies
openapi: 3.1.0
info:
  title: SociaVault API
  version: 1.0.0
  description: >-
    # SociaVault API Documentation


    The SociaVault API provides comprehensive access to social media data
    extraction across multiple platforms.


    ## Features


    - **Multi-Platform Support**: TikTok, Instagram, YouTube, Facebook, Twitter,
    Reddit, Threads, and more

    - **Credit-Based System**: Pay-as-you-go pricing with transparent credit
    costs

    - **High Performance**: Fast, reliable data extraction

    - **Comprehensive Data**: Detailed user profiles, videos, posts, comments,
    and analytics


    ## Authentication


    All API requests require authentication using an API key in the `X-API-Key`
    header:


    ```bash

    X-API-Key: sk_live_your_api_key_here

    ```


    Get your API key from the [SociaVault
    Dashboard](https://sociavault.com/dashboard).


    ## Credits


    Each endpoint consumes credits based on data complexity:

    - Simple requests (profiles): 1 credit

    - Complex requests (demographics): 20+ credits

    - Paginated requests: Credits per page


    Check your credit balance in the dashboard or via the API.


    ## Support


    - **Documentation**: https://docs.sociavault.com

    - **Email**: support@sociavault.com

    - **Discord**: https://discord.gg/sociavault
  contact:
    name: SociaVault Support
    email: support@sociavault.com
    url: https://sociavault.com/support
  license:
    name: Commercial
    url: https://sociavault.com/terms
servers:
  - url: https://api.sociavault.com
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: account
    description: Account management and credit balance
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/account
  - name: tiktok
    description: Scrape TikTok profiles, videos, and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/tiktok
  - name: tiktok-shop
    description: Everything about TikTok Shop
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/tiktok-shop
  - name: instagram
    description: Gets Instagram profiles, posts, and reels
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/instagram
  - name: youtube
    description: Scrape YouTube channels, videos, and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/youtube
  - name: linkedin
    description: Scrape LinkedIn
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/linkedin
  - name: facebook
    description: Get public Facebook profiles and posts
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebook
  - name: facebookAdLibrary
    description: Scrapes the Facebook (Meta) Ad Library
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebookAdLibrary
  - name: facebookMarketplace
    description: Search Facebook Marketplace and pull full listing details
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/facebookMarketplace
  - name: googleAdLibrary
    description: >-
      Scrape the Google Ad Transparency Library. *This only gets the public ads.
      Some ads you need to log in for and sadly we can't get those. Also, since
      there are so many variations, the return types might not all be 100% the
      same.
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/googleAdLibrary
  - name: linkedinAdLibrary
    description: Search the LinkedIn Ad Library
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/linkedinAdLibrary
  - name: twitter
    description: Get Twitter profiles, tweets, followers and more
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/twitter
  - name: reddit
    description: Scrape Reddit posts and comments
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/reddit
  - name: threads
    description: Get Threads posts
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/threads
  - name: google
    description: Scrape Google search results
    externalDocs:
      description: Learn more
      url: https://docs.sociavault.com/platforms/google
paths:
  /v1/scrape/instagram/comment/replies:
    get:
      tags:
        - instagram
      summary: Comment Replies
      description: >-
        Get replies to a specific Instagram comment. Provide the post or reel
        `url` and the parent `comment_id` (obtained from the Comments endpoint).
        Use the `cursor` from each response to load more replies.
      operationId: instagram_Comment_Replies
      parameters:
        - name: url
          in: query
          description: The Instagram post or reel URL
          required: true
          schema:
            type: string
            example: https://www.instagram.com/reel/C8rKmYvsrck
        - name: comment_id
          in: query
          description: The parent comment ID from the Comments endpoint
          required: true
          schema:
            type: string
            example: '18038110327814211'
        - name: cursor
          in: query
          description: >-
            Cursor for pagination. Get 'cursor' from the previous response to
            fetch more replies.
          required: false
          schema:
            type: string
            example: QVFDc29...
      responses:
        '200':
          description: >-
            Successful response


            **Key Response Fields:**

            - `data.comments`: Replies keyed by index (0, 1, 2, ...)

            - `data.comments[0].id`: Unique reply ID

            - `data.comments[0].text`: Reply text content

            - `data.comments[0].created_at`: ISO timestamp of when the reply was
            posted

            - `data.comments[0].parent_comment_id`: ID of the parent comment
            these replies belong to

            - `data.comments[0].child_comment_count`: Number of nested replies
            under this reply

            - `data.comments[0].user.username`: Replier's Instagram username

            - `data.comments[0].user.profile_pic_url`: Replier's profile picture
            URL

            - `data.comments[0].user.is_verified`: Whether the replier is a
            verified account

            - `data.cursor`: Pagination cursor — pass to the `cursor` parameter
            to fetch the next page (null when there are no more)

            - `data.has_more`: Whether more replies are available
          content:
            application/json:
              example:
                success: true
                data:
                  success: true
                  credits_charged: 1
                  comments:
                    '0':
                      id: '18277034998224667'
                      text: >-
                        @nicolewaterkamp Gerade in Chemie ist die Bandbreite
                        doch bestimmt groß. Pharmareferentin, wie bereits
                        aufgeführt?
                      comment_like_count: null
                      child_comment_count: 0
                      created_at: '2024-06-28T06:20:32.000Z'
                      parent_comment_id: '18038110327814211'
                      user:
                        pk: '25621023419'
                        username: miel_2528
                        is_unpublished: null
                        profile_pic_url: >-
                          https://instagram.fhio3-1.fna.fbcdn.net/v/t51.82787-19/602649017_18117836332855420_9134228712375349223_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fhio3-1.fna.fbcdn.net&_nc_cat=104&_nc_oc=Q6cZ2gEWnQwJqKP3QNU4aVkqbH_GJkFI5z3w1Sps7ul5yH66pktdsO46f9y3-2Q3mPe7Hd4&_nc_ohc=J9gspJkSjakQ7kNvwH6aRoT&_nc_gid=zAilsZ4gNL8-6zMxhOmLfQ&edm=AJ3P50wBAAAA&ccb=7-5&oh=00_AQHKZKhhwln8742517qhryL_7Ar5u3nwdoNpOjjBMoBc1Q&oe=6A7235C0&_nc_sid=b02659
                        id: '25621023419'
                        is_verified: false
                        fbid_v2: '17841425662592627'
                    '1':
                      id: '17863605315161991'
                      text: >-
                        @nicolewaterkamp Da hast du wirklich breite
                        Möglichkeiten! Die Frage ist also weniger nach
                        Möglichkeiten, sondern eher, was interessiert dich, was
                        ist dir wichtig, wie möchtest du arbeiten?
                      comment_like_count: null
                      child_comment_count: 0
                      created_at: '2024-06-28T09:21:43.000Z'
                      parent_comment_id: '18038110327814211'
                      user:
                        pk: '11878497'
                        username: isabell.probst
                        is_unpublished: null
                        profile_pic_url: >-
                          https://instagram.fhio3-1.fna.fbcdn.net/v/t51.82787-19/553587471_18529162441038498_5361906517691326048_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42NjYuYzIifQ&_nc_ht=instagram.fhio3-1.fna.fbcdn.net&_nc_cat=106&_nc_oc=Q6cZ2gEWnQwJqKP3QNU4aVkqbH_GJkFI5z3w1Sps7ul5yH66pktdsO46f9y3-2Q3mPe7Hd4&_nc_ohc=OLNOGav6pWYQ7kNvwFNFoS8&_nc_gid=zAilsZ4gNL8-6zMxhOmLfQ&edm=AJ3P50wBAAAA&ccb=7-5&oh=00_AQFxOxOZ6Z8tMsROP1Kp1xVTCKUZ_KoCfxybfv6v0pf_Gg&oe=6A722ADD&_nc_sid=b02659
                        id: '11878497'
                        is_verified: false
                        fbid_v2: '17841401154910185'
                    '2':
                      id: '18118112077374440'
                      text: >-
                        @celi__na.x Die Pharmareferentin war übrigens
                        Sonderpädagogin ☺️
                      comment_like_count: null
                      child_comment_count: 0
                      created_at: '2024-06-28T09:22:10.000Z'
                      parent_comment_id: '18038110327814211'
                      user:
                        pk: '11878497'
                        username: isabell.probst
                        is_unpublished: null
                        profile_pic_url: >-
                          https://instagram.fhio3-1.fna.fbcdn.net/v/t51.82787-19/553587471_18529162441038498_5361906517691326048_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42NjYuYzIifQ&_nc_ht=instagram.fhio3-1.fna.fbcdn.net&_nc_cat=106&_nc_oc=Q6cZ2gEWnQwJqKP3QNU4aVkqbH_GJkFI5z3w1Sps7ul5yH66pktdsO46f9y3-2Q3mPe7Hd4&_nc_ohc=OLNOGav6pWYQ7kNvwFNFoS8&_nc_gid=zAilsZ4gNL8-6zMxhOmLfQ&edm=AJ3P50wBAAAA&ccb=7-5&oh=00_AQFxOxOZ6Z8tMsROP1Kp1xVTCKUZ_KoCfxybfv6v0pf_Gg&oe=6A722ADD&_nc_sid=b02659
                        id: '11878497'
                        is_verified: false
                        fbid_v2: '17841401154910185'
                  cursor: null
                  has_more: false
                credits_used: 1
                endpoint: instagram/comment_replies
        '400':
          description: Bad Request - Invalid parameters or missing required fields
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Parent comment_id is required
                  endpoint:
                    type: string
                required:
                  - error
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Invalid API key
                  docs:
                    type: string
                    example: https://docs.sociavault.com/authentication
                required:
                  - error
        '402':
          description: Payment Required - Insufficient credits
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Insufficient credits
                  required:
                    type: integer
                  available:
                    type: integer
                required:
                  - error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`

        Get your API key from the [Dashboard](https://sociavault.com/dashboard).

````