Comment info by video and comment ID
GET
/api/tiktok-data-api/v1/comment-info-by-video-and-comment-id在线调试
填写凭据和参数,点击按钮发送真实请求并查看响应结果
认证凭据
X-API-Tokenrequired
X-API-Secretrequired
Query 参数
regionrequired
post_idrequired
comment_idrequired
响应结果
点击「运行测试」查看实时响应结果
请求参数
按参数位置分区展示 gateway 校验规则。
Query 参数
regionstring
类型
string
必填
是
post_idstring
类型
string
必填
是
comment_idstring
类型
string
必填
是
Header 参数
X-API-Tokenstring登录后从控制台获取。
类型
string
必填
是
登录后从控制台获取。
X-API-Secretstring登录后从控制台获取。
类型
string
必填
是
登录后从控制台获取。
请求示例
curl -X GET 'https://bodapi.com/api/tiktok-data-api/v1/comment-info-by-video-and-comment-id' \
-H "X-API-Token: $BODAPI_API_TOKEN" \
-H "X-API-Secret: $BODAPI_API_SECRET"Comment info by video and comment ID
Upstream: GET /v1/post/{post_id}/comment/{comment_id} (TokAPI)
Gateway route: GET /api/tiktok-data-api/v1/comment-info-by-video-and-comment-id
Auth headers
| Name | Required | Description |
|---|---|---|
| X-API-Token | yes | Your bodapi API token |
| X-API-Secret | yes | Your bodapi API secret |
Query parameters
| Name | Required | Notes |
|---|---|---|
| post_id | yes | Path parameter — pass as a query parameter |
| comment_id | yes | Path parameter — pass as a query parameter |
| region | yes |
Example
curl -X GET "https://gateway.bodapi.com/api/tiktok-data-api/v1/comment-info-by-video-and-comment-id?post_id=VALUE&comment_id=VALUE®ion=VALUE" \
-H "X-API-Token: YOUR_API_TOKEN" \
-H "X-API-Secret: YOUR_API_SECRET"