🇨🇳简体中文
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. 示例数据模型
🇨🇳简体中文
  • 🇨🇳简体中文
  • 🇺🇸 English
  • 简介
  • 身份验证
  • 用户数据
    • 通过ID获取用户信息
    • 获取用户视频列表
    • 获取用户粉丝列表
    • 获取用户关注列表
    • 获取用户地区
    • 获取用户故事
    • 获取用户点赞的视频列表
    • 获取用户播放列表
    • 通过 ID 获取播放列表信息
    • 验证是否为TTS商家账户
    • 提取用户 user_id
    • 提取用户 sec_uid
    • 验证达人是否开通橱窗
  • 视频数据
    • 通过 ID 获取视频信息
    • 分类下的热门视频列表
    • 热门视频列表
    • 通过话题标签 ID 获取视频列表
    • 通过音乐 ID 获取视频列表
    • 通过播放 ID 获取视频列表
    • 按 ID 查询评论信息
    • 通过视频ID获取评论列表
    • 获取评论的回复列表
    • 通过 ID 获取话题标签信息
    • 通过 ID 获取音乐信息
    • 通过用户 ID 获取用户音乐列表
    • 获取与产品相关的视频列表
    • 获取与小店相关的视频列表
  • 直播数据
    • 通过 ID 获取直播间信息
    • 获取直播间榜单列表
    • 通过ID获取直播间榜单信息
    • 检查直播间是否开播
  • 产品数据
    • 通过 ID 获取产品信息
    • 获取小店的分类
    • 获取产品一级类别元数据
    • 获取产品二级类别元数据
    • 获取产品三级类别元数据
    • 通过 ID 获取小店数据
    • 获取小店内的产品列表数据
    • 通过分享链接获取小店 ID
    • 通过分享链接获取产品 ID
    • 通过类别 ID 获取web首页产品数据
    • 获取视频相关的产品列表
    • 获取用户相关产品列表
  • 搜索
    • 搜索用户
    • 搜索视频
    • 搜索标签
    • 搜索音乐
    • 搜索直播
    • 搜索产品
  • 错误码
    • 错误请求 (400)
    • 未经授权 (401)
    • 账户密钥会话过期 (428)
    • 接口限流 (429)
    • 服务器错误 (500)
  • 密钥
    • 获取有关您的 API 密钥的信息
  • Schemas
    • 示例数据模型
      • UserInfo
      • UserFollowers
      • UserFollowing
      • UserRegion
      • UserVideoList
      • VideoInfo
      • VideoComments
      • VideoCommentsReplies
      • CommentInfo
      • ProductInfo
      • SellerCategories
      • TrendingVideoList
      • TrendingFeed
      • UserStories
      • UserLikedFeed
      • SearchUser
      • SearchVideo
      • SearchHashTag
      • SearchMusic
      • SearchLive
      • SearchProduct
      • UserPlayList
      • PlayListInfo
      • VideoListByPlayId
      • HashtagInfo
      • VideoListByHashtagId
      • VideoListByMusicId
      • MusicInfo
      • UserMusicList
      • LiveInfo
      • LiveRankingList
      • LiveRankingInfo
      • CheckLiveOn
      • ExtractId
      • CategoryMetaData
      • SellerInfo
      • SellerProductList
      • ShareLink
      • HomeCategoryProductList
      • ProductIds
      • VideoIds
  1. 示例数据模型

SearchMusic

{
    "code": 0,
    "msg": "string",
    "data": {
        "status_code": 0,
        "music": [
            {
                "id": 0,
                "id_str": "string",
                "title": "string",
                "author": "string",
                "album": "string",
                "cover_large": {
                    "uri": "string",
                    "url_list": [
                        "string"
                    ],
                    "width": 0,
                    "height": 0,
                    "url_prefix": null
                },
                "cover_medium": {
                    "uri": "string",
                    "url_list": [
                        "string"
                    ],
                    "width": 0,
                    "height": 0,
                    "url_prefix": null
                },
                "cover_thumb": {
                    "uri": "string",
                    "url_list": [
                        "string"
                    ],
                    "width": 0,
                    "height": 0,
                    "url_prefix": null
                },
                "play_url": {
                    "uri": "string",
                    "url_list": [
                        "string"
                    ],
                    "width": 0,
                    "height": 0,
                    "url_prefix": null
                },
                "source_platform": 0,
                "duration": 0,
                "extra": "string",
                "user_count": 0,
                "position": null,
                "collect_stat": 0,
                "status": 0,
                "offline_desc": "string",
                "owner_nickname": "string",
                "is_original": true,
                "mid": "string",
                "binded_challenge_id": 0,
                "author_deleted": true,
                "owner_handle": "string",
                "author_position": null,
                "prevent_download": true,
                "strong_beat_url": {
                    "uri": "string",
                    "url_list": [
                        "string"
                    ],
                    "width": 0,
                    "height": 0,
                    "url_prefix": null
                },
                "external_song_info": [
                    "string"
                ],
                "preview_start_time": 0,
                "preview_end_time": 0,
                "is_commerce_music": true,
                "is_original_sound": true,
                "audition_duration": 0,
                "shoot_duration": 0,
                "artists": [
                    "string"
                ],
                "lyric_short_position": null,
                "mute_share": true,
                "tag_list": null,
                "dmv_auto_show": true,
                "is_author_artist": true,
                "is_pgc": true,
                "is_matched_metadata": true,
                "is_audio_url_with_cookie": true,
                "matched_song": {
                    "id": "string",
                    "author": "string",
                    "title": "string",
                    "h5_url": "string",
                    "cover_medium": {
                        "uri": "string",
                        "url_list": [
                            "string"
                        ],
                        "width": 0,
                        "height": 0,
                        "url_prefix": null
                    },
                    "performers": null,
                    "chorus_info": {
                        "start_ms": 0,
                        "duration_ms": 0
                    },
                    "full_duration": 0
                },
                "video_duration": 0,
                "search_music_name": "string",
                "search_music_desc": "string",
                "search_highlight": null,
                "multi_bit_rate_play_info": null,
                "duration_high_precision": {
                    "duration_precision": 0,
                    "shoot_duration_precision": 0,
                    "audition_duration_precision": 0,
                    "video_duration_precision": 0
                },
                "can_not_reuse": true,
                "is_play_music": true,
                "commercial_right_type": 0,
                "music_release_info": {
                    "is_new_release_song": true,
                    "group_release_date": 0
                },
                "tt_to_dsp_song_infos": null,
                "log_extra": "string",
                "is_shooting_allow": true,
                "recommend_status": 0,
                "vid_volume_info": "string",
                "has_commerce_right": true,
                "meme_song_info": {},
                "is_sami_recommend": true,
                "uncert_artists": null,
                "style_value": [
                    0
                ],
                "theme_value": [
                    0
                ],
                "language": "string",
                "allow_offline_music_to_detail_page": true,
                "create_time": 0,
                "can_be_stitched": true
            }
        ],
        "extra": {
            "now": 0,
            "logid": "string",
            "fatal_item_ids": [
                "string"
            ],
            "search_request_id": "string",
            "server_stream_time": 0,
            "api_debug_info": null
        },
        "log_pb": {
            "impr_id": "string"
        },
        "global_doodle_config": {
            "keyword": "string",
            "display_filter_bar": 0,
            "new_source": "string",
            "search_channel": "string",
            "tns_search_result": "string",
            "hide_results": true,
            "enable_music_mix_rank": 0,
            "feedback_survey": [
                {
                    "feedback_type": "string",
                    "multiple_choices": [
                        "string"
                    ],
                    "long_stress_info": null,
                    "send_us_multiple_choices": null
                }
            ],
            "hit_shark": true,
            "hit_dolphin": true
        },
        "feedback_type": "string",
        "total": 0
    }
}
Built with