KonbiniAPI · Schema

TikTokComment

Video comment

APISocial MediaInstagramTikTokActivityStreams 2.0ScrapingData ExtractionPublic DataInfluencer MarketingSocial ListeningCreator ToolsMCPModel Context Protocol

Properties

Name Type Description
type string ActivityStreams object type
id string Comment permalink
url string Comment permalink
entityId string TikTok internal comment ID
content string Comment text
language string Comment language code
published string Publication date in ISO 8601 format
likeCount integer Number of likes
replyCount integer Number of replies
status string Moderation status
isPinned boolean Whether comment is pinned
isLiked boolean Whether comment is liked by the video author
attributedTo object
inReplyTo string URL of parent content
View JSON Schema on GitHub

JSON Schema

konbiniapi-tik-tok-comment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/konbiniapi/main/json-schema/konbiniapi-tik-tok-comment-schema.json",
  "title": "TikTokComment",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "ActivityStreams object type",
      "example": "Note"
    },
    "id": {
      "type": "string",
      "format": "uri",
      "description": "Comment permalink",
      "example": "https://www.tiktok.com/@khaby.lame/video/7611615657754381599/comment/7611646895321105170"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Comment permalink",
      "example": "https://www.tiktok.com/@khaby.lame/video/7611615657754381599/comment/7611646895321105170"
    },
    "entityId": {
      "type": "string",
      "description": "TikTok internal comment ID",
      "example": "7611646895321105170"
    },
    "content": {
      "type": "string",
      "description": "Comment text",
      "example": "This man hasn't been in my fyp for so long"
    },
    "language": {
      "type": "string",
      "description": "Comment language code",
      "example": "en"
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "Publication date in ISO 8601 format",
      "example": "2026-02-27T20:37:38.000Z"
    },
    "likeCount": {
      "type": "integer",
      "description": "Number of likes",
      "example": 93210
    },
    "replyCount": {
      "type": "integer",
      "description": "Number of replies",
      "example": 96
    },
    "status": {
      "type": "string",
      "description": "Moderation status",
      "example": "1"
    },
    "isPinned": {
      "type": "boolean",
      "description": "Whether comment is pinned",
      "example": false
    },
    "isLiked": {
      "type": "boolean",
      "description": "Whether comment is liked by the video author",
      "example": false
    },
    "attributedTo": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": "ActivityStreams object type",
              "example": "Person"
            },
            "id": {
              "type": "string",
              "format": "uri",
              "description": "Profile URL",
              "example": "https://www.tiktok.com/@khaby.lame"
            },
            "url": {
              "type": "string",
              "format": "uri",
              "description": "Profile URL",
              "example": "https://www.tiktok.com/@khaby.lame"
            },
            "entityId": {
              "type": "string",
              "description": "TikTok secUid",
              "example": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA"
            },
            "name": {
              "type": "string",
              "description": "Display name",
              "example": "Khabane Lame"
            },
            "preferredUsername": {
              "type": "string",
              "description": "Username or handle",
              "example": "khaby.lame"
            },
            "summary": {
              "type": "string",
              "description": "Bio text",
              "example": "Just a guy who reacts"
            },
            "attachment": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "ActivityStreams object type",
                    "example": "Link"
                  },
                  "href": {
                    "type": "string",
                    "format": "uri",
                    "description": "Link URL",
                    "example": "https://linktr.ee/khaby.lame"
                  },
                  "rel": {
                    "type": "string",
                    "description": "Link relation hint",
                    "example": "preferred"
                  }
                },
                "required": [
                  "type",
                  "href"
                ],
                "description": "External link"
              },
              "description": "External links in bio"
            },
            "published": {
              "type": "string",
              "format": "date-time",
              "description": "Account creation date in ISO 8601 format",
              "example": "2020-03-15T00:00:00.000Z"
            },
            "isPrivate": {
              "type": "boolean",
              "description": "Whether account is private",
              "example": false
            },
            "isVerified": {
              "type": "boolean",
              "description": "Whether account is verified",
              "example": true
            },
            "isLive": {
              "type": "boolean",
              "description": "Whether user is currently live streaming",
              "example": false
            },
            "hasLikes": {
              "type": "boolean",
              "description": "Whether user's liked videos are public",
              "example": true
            },
            "hasPlaylists": {
              "type": "boolean",
              "description": "Whether user has playlists",
              "example": true
            },
            "followerCount": {
              "type": "integer",
              "description": "Number of followers",
              "example": 160300000
            },
            "followingCount": {
              "type": "integer",
              "description": "Number of accounts followed",
              "example": 85
            },
            "language": {
              "type": "string",
              "description": "User language preference (BCP47 code)",
              "example": "en"
            },
            "likeCount": {
              "type": "integer",
              "description": "Total likes received across all content",
              "example": 2600000000
            },
            "likedCount": {
              "type": "integer",
              "description": "Number of videos the user has liked",
              "example": 5300
            },
            "mediaCount": {
              "type": "integer",
              "description": "Number of posts",
              "example": 1309
            },
            "icon": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/TikTokImage"
                },
                {
                  "description": "Author avatar"
                }
              ]
            },
            "image": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "ActivityStreams object type",
                    "example": "Image"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Image URL",
                    "example": "https://p16-sign.tiktokcdn-us.com/tos-maliva-avt-0068/avatar.jpeg"
                  },
                  "width": {
                    "type": "integer",
                    "description": "Width in pixels",
                    "example": 576
                  },
                  "height": {
                    "type": "integer",
                    "description": "Height in pixels",
                    "example": 1024
                  }
                },
                "required": [
                  "type",
                  "url"
                ],
                "description": "Image resource with optional dimensions"
              },
              "description": "Profile pictures in multiple sizes"
            }
          },
          "required": [
            "type",
            "id",
            "url",
            "isPrivate",
            "isVerified"
          ],
          "description": "Compact user profile for embedded contexts"
        },
        {
          "description": "Comment author"
        }
      ]
    },
    "inReplyTo": {
      "type": "string",
      "format": "uri",
      "description": "URL of parent content",
      "example": "https://www.tiktok.com/@khaby.lame/video/7611615657754381599"
    }
  },
  "required": [
    "type",
    "id",
    "content",
    "likeCount",
    "attributedTo"
  ],
  "description": "Video comment"
}