Skip to main content
GET
/
api
/
v1
/
posts
/
comments
Get comments on a post
curl --request GET \
  --url https://full-tiktok-api.p.rapidapi.com/api/v1/posts/comments \
  --header 'x-rapidapi-key: <api-key>'
{
  "meta": {
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2025-03-12T14:32:01.498Z",
    "cached": false,
    "version": "2025-01"
  },
  "data": [
    {
      "comment_id": "7351234567890000001",
      "text": "this is so good omg",
      "created_at": 1711929700,
      "likes": 4200,
      "reply_count": 38,
      "author_username": "someuser",
      "author_display_name": "Some User",
      "author_verified": false
    }
  ],
  "pagination": {
    "cursor": "1778971238000",
    "has_more": true
  },
  "error": {
    "code": "NOT_FOUND",
    "message": "The requested resource was not found.",
    "details": null
  }
}
Returns a paginated list of top-level comments for a video. Supply either videoId or url — exactly one is required. Use the returned cursor to fetch the next page.

Authorizations

x-rapidapi-key
string
header
required

Your RapidAPI subscription key. Injected automatically by the RapidAPI gateway in production.

Query Parameters

videoId
string<int64>

Numeric TikTok video ID. Required if url is not provided.

Pattern: ^\d+$
url
string<uri>

Full TikTok video share URL. Required if videoId is not provided.

count
integer
default:20

Number of comments to return (1–50)

Required range: 1 <= x <= 50
cursor
string

Pagination cursor from a previous response

Response

Success

meta
object

Response metadata present in every API response

data
object[]
pagination
object

Cursor-based pagination info

error
object

Error details. Present only when the request failed; null on success.