> ## 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.

# Get the replies to a TikTok comment

> List the replies to a comment on a TikTok post, with each reply’s text, like count and author. Page through results with the `cursor` from the previous response's `nextCursor`. Costs 1 credit per result returned, with a minimum of 1 credit per request.



## OpenAPI

````yaml /openapi.json post /tiktok/get-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:
  /tiktok/get-comment-replies:
    post:
      tags:
        - TikTok
      summary: Get the replies to a TikTok comment
      description: >-
        List the replies to a comment on a TikTok post, with each reply’s text,
        like count and author. Page through results with the `cursor` from the
        previous response's `nextCursor`. Costs 1 credit per result returned,
        with a minimum of 1 credit per request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                cursor:
                  description: >-
                    The previous response's `nextCursor`, to fetch the next
                    page.
                  type: string
                videoId:
                  type: string
                  pattern: ^\d{1,30}$
                  description: >-
                    Post ID, the number at the end of the post URL, for example
                    "7698770783367171359".
                count:
                  default: 20
                  description: >-
                    Most results to return per page (1–20). Defaults to 20. A
                    page can hold fewer, so keep paging while `nextCursor` is
                    set.
                  type: integer
                  minimum: 1
                  maximum: 20
                commentId:
                  type: string
                  pattern: ^\d{1,30}$
                  description: ID of the comment whose replies to list.
              required:
                - videoId
                - 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:
                      comments:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              minLength: 1
                              description: TikTok comment ID.
                            videoId:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: ID of the commented post.
                            parentCommentId:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: >-
                                ID of the comment this replies to; null for
                                top-level comments.
                            text:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Comment text.
                            createTime:
                              anyOf:
                                - type: number
                                - type: 'null'
                              description: Comment time in Unix seconds.
                            language:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Comment language code.
                            likeCount:
                              anyOf:
                                - type: number
                                - type: 'null'
                              description: Number of likes.
                            replyCount:
                              anyOf:
                                - type: number
                                - type: 'null'
                              description: Number of replies.
                            likedByCreator:
                              anyOf:
                                - type: boolean
                                - type: 'null'
                              description: Whether the post’s creator liked the comment.
                            pinnedByCreator:
                              anyOf:
                                - type: boolean
                                - type: 'null'
                              description: Whether the post’s creator pinned the comment.
                            author:
                              anyOf:
                                - type: object
                                  properties:
                                    id:
                                      type: string
                                      minLength: 1
                                      description: TikTok account ID.
                                    uniqueId:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Username without the @ prefix.
                                    nickname:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Display name.
                                    avatarUrl:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Profile image URL.
                                    signature:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: Profile biography.
                                    verified:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                      description: Whether the account is verified.
                                    secUid:
                                      anyOf:
                                        - type: string
                                        - type: 'null'
                                      description: TikTok secondary account identifier.
                                    privateAccount:
                                      anyOf:
                                        - type: boolean
                                        - type: 'null'
                                      description: Whether the account is private.
                                    followerCount:
                                      anyOf:
                                        - type: number
                                        - type: 'null'
                                      description: Number of followers.
                                    followingCount:
                                      anyOf:
                                        - type: number
                                        - type: 'null'
                                      description: Number of accounts followed.
                                    heartCount:
                                      anyOf:
                                        - type: number
                                        - type: 'null'
                                      description: Total likes received.
                                    videoCount:
                                      anyOf:
                                        - type: number
                                        - type: 'null'
                                      description: Number of published videos.
                                  required:
                                    - id
                                    - uniqueId
                                    - nickname
                                    - avatarUrl
                                    - signature
                                    - verified
                                    - secUid
                                    - privateAccount
                                    - followerCount
                                    - followingCount
                                    - heartCount
                                    - videoCount
                                  additionalProperties: false
                                - type: 'null'
                              description: Comment author.
                          required:
                            - id
                            - videoId
                            - parentCommentId
                            - text
                            - createTime
                            - language
                            - likeCount
                            - replyCount
                            - likedByCreator
                            - pinnedByCreator
                            - author
                          additionalProperties: false
                        description: Comments on this page.
                      total:
                        anyOf:
                          - type: number
                          - type: 'null'
                        description: Total number of comments, when provided.
                      nextCursor:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          Pass as `cursor` to fetch the next page; null when
                          there are no more results.
                    required:
                      - comments
                      - total
                      - nextCursor
                    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
        '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.tiktok.getCommentReplies({
              videoId: "string",
              count: 20,
              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.