公共 API Catalog
结构化接口目录、参数、响应字段、计费与平台能力。
https://mcp.socialdatax.com/socialdatax/api/v1/docs/catalog
按关键词搜索抖音作品,查看请求参数、作品列表返回字段、分页方式和在线调用示例。
按关键词和筛选条件搜索公开抖音作品,返回视频或图文作品摘要和下一页分页令牌。
单次返回数量:每页通常返回约 10–20 条作品。
POST /socialdatax/api/v1/douyin/video/search
1 积分 = 0.01 元;成功调用扣减 10 积分,失败不扣费。
keyword(必填):搜索关键词。page_token:分页令牌。首次请求留空;继续翻页时使用上一次返回的 next_page_token。只能用于同一搜索链路,不能跨能力、关键词或筛选条件复用。sort_type:搜索排序方式,可选:general(综合,默认)、time_descending(最新发布优先)、like_count_descending(最多点赞优先)。综合或默认排序请传 general,最新发布请传 time_descending,最多点赞请传 like_count_descending。hot、latest、time、relevance、relevance_desc、default、综合、general_desc、liked、like_count、liked_desc、most_liked、most_hot、popularity_descending 等写法均不是可接受值,请直接使用上述三个标准值。publish_time_range:发布时间范围筛选。duration_range:视频时长筛选。content_type:内容形式筛选。{
"keyword": "美食",
"page_token": "",
"sort_type": "general",
"publish_time_range": "day",
"duration_range": "all",
"content_type": "all"
}
items:当前页搜索结果中的作品列表next_page_token:下一页分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。只能用于同一搜索链路,不能跨能力、关键词或筛选条件复用。points:本次成功调用的积分消耗与账户积分余额。{
"items": [
{
"aweme_id": "7662635449290068902",
"content_type": "video",
"description": "第1条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784114340,
"cover_image_url": "https://example.invalid/media-6cc75796bd05be57.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-a8afee2e111ba95d.mp4",
"duration_ms": 17000,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662635449290068902/",
"topic_tags": [
{
"name": "水油焖菜",
"id": "1675509049478157"
},
{
"name": "家常菜",
"id": "1767587367821390"
},
{
"name": "懒人美食",
"id": "1582588874644493"
},
{
"name": "普通食材的神仙做法",
"id": "1705264100662275"
},
{
"name": "满级吃商通关赛",
"id": "7615617987986327615"
}
],
"author": {
"user_id": "1056007089569543",
"sec_user_id": "MS4wLjABAAAAmm2RQ9Z0C8Ku7etGxMitayALP60U8oC5MFdL2C-YEq1KwzruW1_r1XIRN1gY3rCL",
"name": "生活分享者01",
"avatar_url": "https://example.invalid/media-af095c1806c539e7.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAAmm2RQ9Z0C8Ku7etGxMitayALP60U8oC5MFdL2C-YEq1KwzruW1_r1XIRN1gY3rCL",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 44470,
"comment_count": 582,
"collect_count": 50047,
"share_count": 42038
},
{
"aweme_id": "7662653854537895209",
"content_type": "video",
"description": "第2条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784100646,
"cover_image_url": "https://example.invalid/media-9660b060a1b7b516.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-c8d8c7d4263fed43.mp4",
"duration_ms": 52919,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662653854537895209/",
"topic_tags": [
{
"name": "红烧肉",
"id": "1572899868261390"
},
{
"name": "家常菜",
"id": "1767587367821390"
},
{
"name": "美食",
"id": "1767586897793101"
},
{
"name": "抖音美食推荐官",
"id": "1664545089292301"
},
{
"name": "跟着抖音学做菜",
"id": "1592178864236547"
}
],
"author": {
"user_id": "7593603835043349563",
"sec_user_id": "MS4wLjABAAAAugMfLFuqBFeVnSxzIqLfKo3eQTToP8n-LYBrmk9Q4PIDyikjr7knb14EzNn-mfvD",
"name": "生活分享者02",
"avatar_url": "https://example.invalid/media-399049ef01afabba.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAAugMfLFuqBFeVnSxzIqLfKo3eQTToP8n-LYBrmk9Q4PIDyikjr7knb14EzNn-mfvD",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 2403,
"comment_count": 47,
"collect_count": 2884,
"share_count": 1876
},
{
"aweme_id": "7662685074554965346",
"content_type": "video",
"description": "第3条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784107899,
"cover_image_url": "https://example.invalid/media-159dc3bc680b13d9.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-de8cd109b411a384.mp4",
"duration_ms": 43134,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662685074554965346/",
"topic_tags": [
{
"name": "牛肉胡辣汤",
"id": "1616529394211844"
},
{
"name": "河南胡辣汤",
"id": "1597185054226445"
},
{
"name": "谁懂这一口的好吃程度",
"id": "1784256618921993"
},
{
"name": "河南特色美食",
"id": "1605214925066248"
},
{
"name": "美食教程",
"id": "1581688162541582"
}
],
"author": {
"user_id": "76770169931",
"sec_user_id": "MS4wLjABAAAA_bY-KdyDBI9j61g1Kl-yLLAKuXf-mP1ElewtdW5jsvo",
"name": "生活分享者03",
"avatar_url": "https://example.invalid/media-05cd6184e862e1a2.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAA_bY-KdyDBI9j61g1Kl-yLLAKuXf-mP1ElewtdW5jsvo",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 1790,
"comment_count": 49,
"collect_count": 3610,
"share_count": 1499
},
{
"aweme_id": "7662679480242038629",
"content_type": "video",
"description": "第4条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784106596,
"cover_image_url": "https://example.invalid/media-1fede2bdce8fec2f.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-b123d4ac7fe8cd14.mp4",
"duration_ms": 292570,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662679480242038629/",
"topic_tags": [
{
"name": "草鱼",
"id": "1612555919637517"
},
{
"name": "美食教程",
"id": "1581688162541582"
},
{
"name": "家常菜",
"id": "1767587367821390"
}
],
"author": {
"user_id": "1066996556380547",
"sec_user_id": "MS4wLjABAAAA5mHoutSAlwqPLa2D19yZo5eztAnW9EzspzqlaCb0kX3amRzlrDQjXz2nszo_L0mS",
"name": "生活分享者04",
"avatar_url": "https://example.invalid/media-b75f0261bd6734eb.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAA5mHoutSAlwqPLa2D19yZo5eztAnW9EzspzqlaCb0kX3amRzlrDQjXz2nszo_L0mS",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 3348,
"comment_count": 170,
"collect_count": 2491,
"share_count": 1134
},
{
"aweme_id": "7662700949168824740",
"content_type": "video",
"description": "第5条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784111595,
"cover_image_url": "https://example.invalid/media-ebcb8c40954365fd.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-680df7db330427ed.mp4",
"duration_ms": 334534,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662700949168824740/",
"topic_tags": [
{
"name": "美食",
"id": "1767586897793101"
},
{
"name": "美食教程",
"id": "1581688162541582"
},
{
"name": "抖音美食",
"id": "1567504523721730"
},
{
"name": "美食教程",
"id": "1581688162541582"
}
],
"author": {
"user_id": "3190104466665786",
"sec_user_id": "MS4wLjABAAAA7Mbs0KTFngMbOFni9Va7_s0v89D4J8uvRsI8gtkmIp8pvil97qmEaDQ6jrGatOPc",
"name": "生活分享者05",
"avatar_url": "https://example.invalid/media-f35719d1699b1183.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAA7Mbs0KTFngMbOFni9Va7_s0v89D4J8uvRsI8gtkmIp8pvil97qmEaDQ6jrGatOPc",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 177,
"comment_count": 11,
"collect_count": 253,
"share_count": 39
},
{
"aweme_id": "7662655664572910911",
"content_type": "video",
"description": "第6条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784101057,
"cover_image_url": "https://example.invalid/media-24ae90bcfc93b8b6.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-e3ec6efa8b9f5beb.mp4",
"duration_ms": 313981,
"width": 720,
"height": 1280,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662655664572910911/",
"topic_tags": [
{
"name": "家常美食",
"id": "1657304970939400"
},
{
"name": "美食教程",
"id": "1581688162541582"
},
{
"name": "冬瓜新吃法",
"id": "1672374349652013"
}
],
"author": {
"user_id": "2657935910251210",
"sec_user_id": "MS4wLjABAAAAW4pvZgQ-Ms0DtHsNt5G-Gw1V11VO3MIn0nBYO29jXyxwB1eAf_qJLjbYJL2CsV0c",
"name": "生活分享者06",
"avatar_url": "https://example.invalid/media-3ddac47d92f9e205.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAAW4pvZgQ-Ms0DtHsNt5G-Gw1V11VO3MIn0nBYO29jXyxwB1eAf_qJLjbYJL2CsV0c",
"bio": "",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 288,
"comment_count": 14,
"collect_count": 83,
"share_count": 9
},
{
"aweme_id": "7662737073966802297",
"content_type": "video",
"description": "第7条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784120005,
"cover_image_url": "https://example.invalid/media-d8f38fa971494e02.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-5342b9bc6af841f8.mp4",
"duration_ms": 88734,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662737073966802297/",
"topic_tags": [
{
"name": "重庆豌杂面",
"id": "1604592965963790"
},
{
"name": "街头小吃摊",
"id": "1666950476138510"
},
{
"name": "人间烟火",
"id": "1592198715425805"
},
{
"name": "街头小吃摊",
"id": "1666950476138510"
},
{
"name": "重庆美食",
"id": "1583049073072142"
}
],
"author": {
"user_id": "487813581386595",
"sec_user_id": "MS4wLjABAAAAU3BKdDZrwYJFvK9zatd_CG7DxJq8aOOMD-q1OliURnQ",
"name": "生活分享者07",
"avatar_url": "https://example.invalid/media-4de41f7d1917a301.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAAU3BKdDZrwYJFvK9zatd_CG7DxJq8aOOMD-q1OliURnQ",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 6484,
"comment_count": 14785,
"collect_count": 654,
"share_count": 3185
},
{
"aweme_id": "7662693198637302196",
"content_type": "video",
"description": "第8条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784109790,
"cover_image_url": "https://example.invalid/media-8b1349bb675e5d98.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-bf6f9bd4f063b59b.mp4",
"duration_ms": 113476,
"width": 720,
"height": 1280,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662693198637302196/",
"topic_tags": [
{
"name": "美食日常",
"id": "1588198054295566"
},
{
"name": "美食教程",
"id": "1581688162541582"
}
],
"author": {
"user_id": "7656784154306855995",
"sec_user_id": "MS4wLjABAAAArPIvlhAXN2t5l0TqEkEUR7nFNh4hYw17KSkLgKi5ItB8YiiHjdlB3B-08LsYowas",
"name": "生活分享者08",
"avatar_url": "https://example.invalid/media-06c548a92149a326.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAArPIvlhAXN2t5l0TqEkEUR7nFNh4hYw17KSkLgKi5ItB8YiiHjdlB3B-08LsYowas",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 120,
"comment_count": 6,
"collect_count": 129,
"share_count": 16
},
{
"aweme_id": "7662692018056957234",
"content_type": "video",
"description": "第9条美食体验:整理准备清单,记录使用感受。",
"publish_time": 1784109519,
"cover_image_url": "https://example.invalid/media-516ba8d2013ffa0b.jpg",
"images": [],
"video": {
"play_url": "https://example.invalid/media-64539ffdfd45c1bb.mp4",
"duration_ms": 298834,
"width": 576,
"height": 1024,
"media_type": "video"
},
"share_url": "https://www.iesdouyin.com/share/video/7662692018056957234/",
"topic_tags": [
{
"name": "了不起的中国菜",
"id": "1641740740367368"
},
{
"name": "美食判官已上线",
"id": "7633670789066885129"
},
{
"name": "非遗有滋味",
"id": "7639742619739752448"
},
{
"name": "招牌菜",
"id": "1591178611609614"
},
{
"name": "椿椒江西风味",
"id": "7586684840137721902"
}
],
"author": {
"user_id": "1161539890452204",
"sec_user_id": "MS4wLjABAAAAtYkrzDq7nIxqRcL_YhmHw8Sk0zHj4QL1p52BDzXaxVRT5Az86vmhBOI-gyDhHxvJ",
"name": "生活分享者09",
"avatar_url": "https://example.invalid/media-cdbb7c2ab24c9870.jpg",
"profile_url": "https://www.douyin.com/user/MS4wLjABAAAAtYkrzDq7nIxqRcL_YhmHw8Sk0zHj4QL1p52BDzXaxVRT5Az86vmhBOI-gyDhHxvJ",
"bio": "分享露营、美食和数码体验,记录日常生活。",
"verification_label": "",
"verified": false,
"follower_count": 0,
"following_count": 0,
"received_like_count": 0
},
"like_count": 36170,
"comment_count": 3013,
"collect_count": 2336,
"share_count": 4981
}
],
"next_page_token": "",
"points": {
"cost": 10,
"balance": 990
}
}
{
"additionalProperties": false,
"properties": {
"keyword": {
"title": "Keyword",
"type": "string",
"description": "搜索关键词。"
},
"page_token": {
"default": "",
"title": "Page Token",
"type": "string",
"description": "分页令牌。首次请求留空;继续翻页时使用上一次返回的 next_page_token。只能用于同一搜索链路,不能跨能力、关键词或筛选条件复用。"
},
"sort_type": {
"default": "general",
"description": "搜索排序方式,可选:general(综合,默认)、time_descending(最新发布优先)、like_count_descending(最多点赞优先)。综合或默认排序请传 general,最新发布请传 time_descending,最多点赞请传 like_count_descending。hot、latest、time、relevance、relevance_desc、default、综合、general_desc、liked、like_count、liked_desc、most_liked、most_hot、popularity_descending 等写法均不是可接受值,请直接使用上述三个标准值。",
"enum": [
"general",
"time_descending",
"like_count_descending"
],
"title": "Sort Type",
"type": "string",
"x-socialdatax-enum-labels": {
"general": "综合",
"time_descending": "最新发布优先",
"like_count_descending": "最多点赞优先"
}
},
"publish_time_range": {
"default": "all",
"enum": [
"all",
"day",
"week",
"half_year"
],
"title": "Publish Time Range",
"type": "string",
"description": "发布时间范围筛选。",
"x-socialdatax-enum-labels": {
"all": "不限",
"day": "一天内",
"week": "一周内",
"half_year": "半年内"
}
},
"duration_range": {
"default": "all",
"enum": [
"all",
"under_1_minute",
"one_to_five_minutes",
"over_5_minutes"
],
"title": "Duration Range",
"type": "string",
"description": "视频时长筛选。",
"x-socialdatax-enum-labels": {
"all": "不限",
"under_1_minute": "1 分钟以下",
"one_to_five_minutes": "1-5 分钟",
"over_5_minutes": "5 分钟以上"
}
},
"content_type": {
"default": "all",
"enum": [
"all",
"video",
"image"
],
"title": "Content Type",
"type": "string",
"description": "内容形式筛选。",
"x-socialdatax-enum-labels": {
"all": "不限",
"video": "视频",
"image": "图文"
}
}
},
"required": [
"keyword"
],
"title": "PublicSearchVideosRequest",
"type": "object"
}
{
"$defs": {
"DouyinDetailImageData": {
"properties": {
"url": {
"description": "图片展示资源链接;用于查看或分析图片内容",
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片宽度,像素;当前不可用时为 null",
"title": "Width"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片高度,像素;当前不可用时为 null",
"title": "Height"
},
"live_photo": {
"anyOf": [
{
"$ref": "#/$defs/DouyinDetailLivePhotoData"
},
{
"type": "null"
}
],
"description": "图片动效视频资源;普通静态图片为 null,不表示作品主视频或背景音乐"
}
},
"required": [
"url",
"width",
"height",
"live_photo"
],
"title": "DouyinDetailImageData",
"type": "object"
},
"DouyinDetailLivePhotoData": {
"properties": {
"play_url": {
"description": "图片动效视频资源链接;用于还原图文作品中单张图片的动态效果,通常为 mp4",
"title": "Play Url",
"type": "string"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片动效视频资源时长,毫秒;当前不可用时为 null",
"title": "Duration Ms"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片动效视频资源宽度,像素;当前不可用时为 null",
"title": "Width"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片动效视频资源高度,像素;当前不可用时为 null",
"title": "Height"
},
"format": {
"description": "图片动效视频资源格式,例如 mp4",
"title": "Format",
"type": "string"
}
},
"required": [
"play_url",
"duration_ms",
"width",
"height",
"format"
],
"title": "DouyinDetailLivePhotoData",
"type": "object"
},
"DouyinDetailVideoData": {
"properties": {
"play_url": {
"description": "抖音平台播放器资源链接;视频作品通常为 mp4,图文作品可能为音频播放资源;不同于作品页面或分享链接,不用于查询作品详情或评论",
"title": "Play Url",
"type": "string"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放器资源时长,毫秒;当前不可用时为 null",
"title": "Duration Ms"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放器资源宽度,像素;当前不可用时为 null",
"title": "Width"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放器资源高度,像素;当前不可用时为 null",
"title": "Height"
},
"media_type": {
"description": "播放器资源类型:video 表示视频,audio 表示音频,unknown 表示未知",
"enum": [
"video",
"audio",
"unknown"
],
"title": "Media Type",
"type": "string",
"x-socialdatax-enum-labels": {
"video": "视频",
"audio": "音频",
"unknown": "未知"
}
}
},
"required": [
"play_url",
"duration_ms",
"width",
"height",
"media_type"
],
"title": "DouyinDetailVideoData",
"type": "object"
},
"DouyinSearchItemData": {
"properties": {
"aweme_id": {
"description": "作品 aweme_id",
"title": "Aweme Id",
"type": "string"
},
"content_type": {
"description": "作品类型:video 表示视频,image 表示图文",
"enum": [
"video",
"image"
],
"title": "Content Type",
"type": "string",
"x-socialdatax-enum-labels": {
"video": "视频",
"image": "图文"
}
},
"description": {
"description": "作品文案",
"title": "Description",
"type": "string"
},
"publish_time": {
"description": "作品发布时间,秒级 Unix 时间戳",
"title": "Publish Time",
"type": "integer"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "封面图链接;当前不可用时为 null",
"title": "Cover Image Url"
},
"images": {
"description": "图文图片资源列表;图文作品按顺序返回所有图片,视频作品为空数组",
"items": {
"$ref": "#/$defs/DouyinDetailImageData"
},
"title": "Images",
"type": "array"
},
"video": {
"anyOf": [
{
"$ref": "#/$defs/DouyinDetailVideoData"
},
{
"type": "null"
}
],
"description": "作品播放器资源;视频作品通常为视频,图文作品可能为音频播放资源"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品页面或分享链接;可继续按 url 查询作品详情或评论;当前不可用时为 null",
"title": "Share Url"
},
"topic_tags": {
"description": "作品话题标签列表;无话题标签时为空数组",
"items": {
"$ref": "#/$defs/DouyinTopicTagData"
},
"title": "Topic Tags",
"type": "array"
},
"author": {
"$ref": "#/$defs/DouyinUserSummaryData",
"description": "作品作者信息"
},
"like_count": {
"description": "点赞数",
"title": "Like Count",
"type": "integer"
},
"comment_count": {
"description": "评论数",
"title": "Comment Count",
"type": "integer"
},
"collect_count": {
"description": "收藏数",
"title": "Collect Count",
"type": "integer"
},
"share_count": {
"description": "分享数",
"title": "Share Count",
"type": "integer"
}
},
"required": [
"aweme_id",
"content_type",
"description",
"publish_time",
"cover_image_url",
"images",
"video",
"share_url",
"topic_tags",
"author",
"like_count",
"comment_count",
"collect_count",
"share_count"
],
"title": "DouyinSearchItemData",
"type": "object"
},
"DouyinTopicTagData": {
"additionalProperties": false,
"properties": {
"name": {
"description": "话题标签名称",
"title": "Name",
"type": "string"
},
"id": {
"description": "话题标签 ID;当前不可用时为空字符串",
"title": "Id",
"type": "string"
}
},
"required": [
"name",
"id"
],
"title": "DouyinTopicTagData",
"type": "object"
},
"DouyinUserSummaryData": {
"properties": {
"user_id": {
"description": "用户 user_id;当前不可用时为空字符串",
"title": "User Id",
"type": "string"
},
"sec_user_id": {
"description": "用户 sec_user_id;当前不可用时为空字符串",
"title": "Sec User Id",
"type": "string"
},
"name": {
"description": "用户昵称",
"title": "Name",
"type": "string"
},
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;当前不可用时为 null",
"title": "Avatar Url"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户主页链接;当前不可用时为 null",
"title": "Profile Url"
},
"bio": {
"description": "用户简介;当前不可用时为空字符串",
"title": "Bio",
"type": "string"
},
"verification_label": {
"description": "用户认证文案;当前不可用时为空字符串",
"title": "Verification Label",
"type": "string"
},
"verified": {
"description": "用户是否为认证账号",
"title": "Verified",
"type": "boolean"
},
"follower_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "平台展示的粉丝数;当前不可用时为 null",
"title": "Follower Count"
},
"following_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "关注数;当前不可用时为 null",
"title": "Following Count"
},
"received_like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户内容累计收到的点赞数;当前不可用时为 null",
"title": "Received Like Count"
}
},
"required": [
"user_id",
"sec_user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"verification_label",
"verified",
"follower_count",
"following_count",
"received_like_count"
],
"title": "DouyinUserSummaryData",
"type": "object"
}
},
"properties": {
"items": {
"description": "当前页搜索结果中的作品列表",
"items": {
"$ref": "#/$defs/DouyinSearchItemData"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。只能用于同一搜索链路,不能跨能力、关键词或筛选条件复用。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"type": "object",
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"cost": {
"type": "integer",
"description": "本次请求最终确认消耗的积分。",
"minimum": 0
},
"balance": {
"type": "integer",
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
}
},
"required": [
"cost",
"balance"
],
"additionalProperties": false
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "DouyinSearchResult",
"type": "object"
}
业务 API 使用 API Key 鉴权。公开文档无需登录;在线测试可手动输入 API Key,登录后也可选择账户已有 Key。手动输入的 Key 仅在当前页面使用,curl 示例始终引用 SOCIALDATAX_API_KEY 环境变量。
开发工具和 AI 可以通过以下公共入口读取最新文档,接口数据由后端统一生成。
结构化接口目录、参数、响应字段、计费与平台能力。
https://mcp.socialdatax.com/socialdatax/api/v1/docs/catalog
用于代码生成、API 客户端和支持 OpenAPI 的开发工具。
https://mcp.socialdatax.com/socialdatax/api/v1/docs/openapi.json
让支持 MCP 的 AI 工具直接检索 SocialDataX API 文档。
https://mcp.socialdatax.com/docs/mcp
Docs MCP 的机器可读服务描述和能力入口。
https://mcp.socialdatax.com/.well-known/mcp/docs-server-card.json