TikTok Comment API
Tiktok comment.
/v1/tiktok/commentCoverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.
Try this endpoint
Enter the documented inputs, run a protected browser test, and inspect the JSON response.
curl -X GET 'https://socialquery.dev/v1/tiktok/comment?comment_url=https%3A%2F%2Fwww.tiktok.com%2F%40mrbeast%2Fvideo%2F7654638524729216287%3Fcomment_id%3D7654640784985211670' \
-H "x-api-key: $SOCIALQUERY_API_KEY"Request contract
Parameters
Pass these fields as query parameters. Production requests also require your server-side API key.
Choose one: comment_url or post_url
comment_urlOptional- Provide comment url in the format shown in the example.Example: https://www.tiktok.com/@mrbeast/video/7654638524729216287?comment_id=7654640784985211670
post_urlOptional- Provide post url in the format shown in the example.Example: https://example.com/post
comment_idOptional- Provide comment id in the format shown in the example.Example: 1234567890
parent_comment_idOptional- Provide parent comment id in the format shown in the example.Example: 1234567890
author_usernameOptional- Provide author username in the format shown in the example.Example: —
text_containsOptional- Provide text contains in the format shown in the example.Example: —
deep_scanOptional- Provide deep scan in the format shown in the example.Example: false
position_hintOptional- Provide position hint in the format shown in the example.Example: —
maxOptional- Provide max in the format shown in the example.Example: 10
Build a reliable integration.
Keep your key server-side
Pass your SocialQuery key in the x-api-key header. Never expose credentials in a browser bundle.
Check the response
Read success before using data. Preserve request_id when logging errors or contacting support.
Account for coverage
Test the fields you need. Provider availability varies, and unavailable operations use no credits.
More TikTok endpoints
View all →TikTok Profile API
Retrieve the public profile details available for a TikTok account.
TikTok Profile Videos API
Tiktok profile videos.
TikTok Post API
Retrieve a public TikTok post and its available content and metadata.