| 状态码 | 说明 |
|---|---|
| -1 | failed |
| 0 | success |
| 400 | 参数错误 |
| 1001 | 账户余额不足 |
| 1002 | 邮箱/手机号或密码错误 |
| 1003 | 请求频率超过上限 |
| 1004 | 邮箱或手机号已注册 |
| 1005 | 无效的 API Key |
| 1006 | 用户不存在 |
| 1007 | 登录凭证无效 |
| 1008 | 缺少 API Key |
| 1009 | 手机或邮箱已存在 |
| 1010 | 需要管理员授权 |
| 1011 | 原密码错误 |
| 1012 | 新密码不能与原密码相同 |
| 1013 | 手机号和uid不能都为空 |
| 1014 | 请填写验证码 |
| 1015 | 验证码错误或已过期 |
| 1016 | 登录失败次数过多,请输入 验证码 |
| 1017 | 请填写手机号 |
| 1018 | 请填写邮箱 |
| 1019 | 接口不存在,请检查 |
| 5000 | 服务暂时不可用,请稍后重试 |
| 5003 | 网络连接失败,请稍后重试 |
| 6001 | 修改密码失败,请稍后重试 |
| 字段路径 | 示例值 | 说明 |
|---|---|---|
data.total | 6675 | 评论总数 |
data.cursor | 20 | 分页游标 |
data.has_more | 1 | 是否有更多评论 |
data.comments[0].cid | "7655287313660052255" | 评论ID |
data.comments[0].aweme_id | "7654843337081572629" | 视频ID |
data.comments[0].text | "This should be illegal" | 评论内容 |
data.comments[0].create_time | 1782385515 | 评论时间戳 |
data.comments[0].digg_count | 124123 | 点赞数 |
data.comments[0].reply_comment_total | 452 | 回复数 |
data.comments[0].comment_language | "en" | 评论语言 |
data.comments[0].user.uid | "6650293589983789061" | 评论用户UID |
data.comments[0].user.nickname | "Maaz Khan🇺🇸" | 评论用户昵称 |
data.comments[0].user.unique_id | "maazkhan2311" | 评论用户唯一ID |
data.comments[1].cid | "7657019832605328158" | 评论ID |
data.comments[1].text | "in florida we call this , a seafood boil 🙂↔️" | 评论内容 |
data.comments[1].digg_count | 6533 | 点赞数 |
data.comments[1].user.nickname | "Litty" | 评论用户昵称 |
data.extra.now | 1789710881000 | 当前时间戳 |
{
"url": "7304809083817774382",
"cursor": ""
}curl --location 'https://api.yddm.com/tiktok/comments_v2' \
--header 'x-api-key: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"url": "7304809083817774382",
"cursor": ""
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 999600,
"alias_comment_deleted": false,
"comments": [
{
"allow_download_photo": true,
"author_pin": false,
"aweme_id": "7654843337081572629",
"cid": "7655287313660052255",
"collect_stat": 0,
"comment_language": "en",
"comment_post_item_ids": null,
"create_time": 1782385515,
"digg_count": 124123,
"fold_status": -1,
"image_list": null,
"is_author_digged": false,
"is_comment_translatable": true,
"is_high_purchase_intent": false,
"label_list": null,
"no_show": false,
"reply_comment": null,
"reply_comment_total": 452,
"reply_id": "0",
"reply_to_reply_id": "0",
"seeking_help_model_type": 0,
"share_info": {
"acl": {
"add_to_story_code": 1,
"code": 1,
"extra": "{\"is_share_handler_failed\":\"1\"}"
},
"desc": "",
"title": "",
"url": ""
},
"sort_extra_score": {
"reply_score": 0.001664,
"show_more_score": 0.399888
},
"sort_tags": "{\"fine_sort_main_queue\":1,\"rough_sort_main_queue\":1,\"top_list\":1}",
"status": 1,
"stick_position": 0,
"text": "This should be illegal",
"text_extra": [],
"text_to_image_item_ids": null,
"thread_has_more": false,
"thread_id": 0,
"trans_btn_style": 1,
"translated_text_extra": null,
"user": {
"account_labels": null,
"ad_cover_url": null,
"advance_feature_item_order": null,
"advanced_feature_info": null,
"avatar_thumb": {
"uri": "tos-useast8-avt-0068-tx2/337981798209d79b617f15e2abf87588",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/337981798209d79b617f15e2abf87588~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=710cf459&x-expires=1789794000&x-signature=RuUXX8cvUqQf9NAC6L0AkgzTQ4A%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/337981798209d79b617f15e2abf87588~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=a7b157bd&x-expires=1789794000&x-signature=3dZrFRB%2BkAE8edIPzHf9Xq22cmo%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
"https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/337981798209d79b617f15e2abf87588~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=4a40e0b0&x-expires=1789794000&x-signature=VwQI5NGGjjYqi0azggWRjUoq9oo%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
],
"url_prefix": null
},
"bold_fields": null,
"can_message_follow_status_list": null,
"can_set_geofencing": null,
"cha_list": null,
"cover_url": null,
"custom_verify": "",
"enterprise_verify_reason": "",
"events": null,
"followers_detail": null,
"geofencing": null,
"homepage_bottom_toast": null,
"item_list": null,
"mutual_relation_avatars": null,
"need_points": null,
"nickname": "Maaz Khan🇺🇸",
"platform_sync_info": null,
"predicted_age_group": "4",
"relative_users": null,
"search_highlight": null,
"sec_uid": "MS4wLjABAAAAQLiY3ou3WCTjnJKCfh_K5qJTdZRaBe1L5ADsaj7oKxvZJbZPx4MjAWctsW-5UM6Y",
"shield_edit_field_info": null,
"type_label": null,
"uid": "6650293589983789061",
"unique_id": "maazkhan2311",
"user_profile_guide": null,
"user_tags": null,
"white_cover_url": null
},
"user_buried": false,
"user_digged": 0
},
{
"allow_do