{"code":0,"message":"","data":{"tool_key":"douyin_creative_topics","display_name":"抖音垂类创作话题","description":"按分类、周期和日期查询抖音创作话题榜，返回话题指数及关联示例视频；7 天周期的结束日期须为周日。","status":"active","category_key":"social","category_name":"社媒数据","subcategory":null,"subcategory_name":null,"input_schema":{"additionalProperties":false,"properties":{"category_id":{"description":"抖音指数垂类ID，例如601；不支持0=全部。","pattern":"^[1-9][0-9]{0,31}$","title":"Category Id","type":"string"},"period_days":{"default":7,"enum":[1,3,7],"title":"Period Days","type":"integer"},"end_date":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"End Date","type":"string"},"sort_by":{"const":"index","default":"index","title":"Sort By","type":"string"}},"required":["category_id","end_date"],"title":"CreativeTopicsInput","type":"object"},"output_schema":{"$defs":{"AudioTrack":{"additionalProperties":false,"description":"A separate work audio stream, not its soundtrack music or a muxed video.","properties":{"url":{"maxLength":2048,"title":"Url","type":"string"},"backup_urls":{"items":{"type":"string"},"maxItems":100,"title":"Backup Urls","type":"array"},"format":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"default":null,"title":"Format"}},"required":["url"],"title":"AudioTrack","type":"object"},"ContentAudio":{"additionalProperties":false,"properties":{"url":{"maxLength":2048,"title":"Url","type":"string"}},"required":["url"],"title":"ContentAudio","type":"object"},"ContentCategory":{"additionalProperties":false,"properties":{"id":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"name":{"anyOf":[{"maxLength":4096,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"level":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"来源分类层级，不从列表位置推定。","title":"Level"}},"title":"ContentCategory","type":"object"},"ContentMusic":{"additionalProperties":false,"description":"Source-supplied soundtrack metadata; not necessarily the complete work audio.","properties":{"id":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"title":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"author":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"title":"Author"},"duration":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"秒，来源配乐资源时长。","title":"Duration"},"is_original":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Is Original"},"cover_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Cover Url"},"audio":{"anyOf":[{"$ref":"#/$defs/ContentAudio"},{"type":"null"}],"default":null},"download_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Download Allowed"}},"title":"ContentMusic","type":"object"},"ContentTopic":{"additionalProperties":false,"properties":{"id":{"anyOf":[{"maxLength":256,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"name":{"maxLength":4096,"minLength":1,"title":"Name","type":"string"},"url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"categories":{"anyOf":[{"items":{"$ref":"#/$defs/ContentCategory"},"maxItems":100,"type":"array"},{"type":"null"}],"default":null,"description":"话题自身的分类，不代表关联作品的分类。","title":"Categories"}},"required":["name"],"title":"ContentTopic","type":"object"},"CreativeTopic":{"additionalProperties":false,"properties":{"id":{"maxLength":128,"minLength":1,"pattern":"^[0-9]+$","title":"Id","type":"string"},"name":{"maxLength":4096,"title":"Name","type":"string"},"content_index":{"maximum":9007199254740991,"minimum":0,"title":"Content Index","type":"integer"},"post_count":{"maximum":9007199254740991,"minimum":0,"title":"Post Count","type":"integer"},"view_count":{"maximum":9007199254740991,"minimum":0,"title":"View Count","type":"integer"},"like_count":{"maximum":9007199254740991,"minimum":0,"title":"Like Count","type":"integer"},"posts":{"items":{"$ref":"#/$defs/SocialContent"},"maxItems":1000,"title":"Posts","type":"array"}},"required":["id","name","content_index","post_count","view_count","like_count","posts"],"title":"CreativeTopic","type":"object"},"SocialAuthor":{"additionalProperties":false,"properties":{"id":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"default":null,"title":"Id"},"name":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"username":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"title":"Username"},"avatar_url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Avatar Url"},"url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Url"}},"title":"SocialAuthor","type":"object"},"SocialContent":{"additionalProperties":false,"properties":{"audio_tracks":{"anyOf":[{"items":{"$ref":"#/$defs/AudioTrack"},"maxItems":100,"type":"array"},{"type":"null"}],"default":null,"description":"作品独立音轨，可能需要与视频轨组合；不代表背景音乐。","title":"Audio Tracks"},"music":{"anyOf":[{"$ref":"#/$defs/ContentMusic"},{"type":"null"}],"default":null,"description":"作品配乐，不能替代作品完整音轨。"},"topics":{"anyOf":[{"items":{"$ref":"#/$defs/ContentTopic"},"maxItems":500,"type":"array"},{"type":"null"}],"default":null,"title":"Topics"},"id":{"maxLength":256,"minLength":1,"title":"Id","type":"string"},"url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Url"},"title":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"text":{"anyOf":[{"maxLength":1000000,"type":"string"},{"type":"null"}],"default":null,"title":"Text"},"content_html":{"anyOf":[{"maxLength":5000000,"type":"string"},{"type":"null"}],"default":null,"title":"Content Html"},"author":{"anyOf":[{"$ref":"#/$defs/SocialAuthor"},{"type":"null"}],"default":null},"published_at":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Published At"},"published_at_text":{"anyOf":[{"maxLength":4096,"type":"string"},{"type":"null"}],"default":null,"description":"没有明确时区或无法规范化的来源时间文本。","title":"Published At Text"},"cover_url":{"anyOf":[{"maxLength":8192,"type":"string"},{"type":"null"}],"default":null,"title":"Cover Url"},"media":{"items":{"$ref":"#/$defs/SocialMediaItem"},"maxItems":500,"title":"Media","type":"array"},"statistics":{"anyOf":[{"$ref":"#/$defs/SocialStatistics"},{"type":"null"}],"default":null},"hashtags":{"anyOf":[{"items":{"maxLength":4096,"type":"string"},"maxItems":500,"type":"array"},{"type":"null"}],"default":null,"title":"Hashtags"},"categories":{"anyOf":[{"items":{"$ref":"#/$defs/ContentCategory"},"maxItems":100,"type":"array"},{"type":"null"}],"default":null,"description":"平台内容分类，与作品话题 hashtags 区分。","title":"Categories"}},"required":["id"],"title":"SocialContent","type":"object"},"SocialMediaItem":{"additionalProperties":false,"properties":{"kind":{"enum":["video","image","audio"],"title":"Kind","type":"string"},"url":{"description":"媒体资源地址，可能有有效期或访问限制。","title":"Url","type":"string"},"duration":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"秒，JSON 返回两位小数精度。","title":"Duration"},"width":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"integer"},{"type":"null"}],"default":null,"title":"Width"},"height":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"integer"},{"type":"null"}],"default":null,"title":"Height"}},"required":["kind","url"],"title":"SocialMediaItem","type":"object"},"SocialStatistics":{"additionalProperties":false,"properties":{"view_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"View Count"},"like_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Like Count"},"comment_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Comment Count"},"share_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Share Count"},"collect_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Collect Count"},"repost_count":{"anyOf":[{"maximum":9007199254740991,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Repost Count"}},"title":"SocialStatistics","type":"object"}},"additionalProperties":false,"properties":{"platform":{"const":"douyin","default":"douyin","title":"Platform","type":"string"},"category_id":{"pattern":"^[1-9][0-9]{0,31}$","title":"Category Id","type":"string"},"period_days":{"enum":[1,3,7],"title":"Period Days","type":"integer"},"end_date":{"pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"End Date","type":"string"},"retrieved_at":{"maximum":9007199254740991,"minimum":0,"title":"Retrieved At","type":"integer"},"sort_by":{"const":"index","title":"Sort By","type":"string"},"items":{"items":{"$ref":"#/$defs/CreativeTopic"},"maxItems":1000,"title":"Items","type":"array"},"returned_count":{"maximum":9007199254740991,"minimum":0,"title":"Returned Count","type":"integer"}},"required":["category_id","period_days","end_date","retrieved_at","sort_by","items","returned_count"],"title":"CreativeTopicsResult","type":"object"}},"request_id":"req_6ed5cdd148984ef2b35e14b87fee9e64"}