接口地址: http://api.ilingku.com/int/v1/douyinlive

返回格式: json

请求方式: get/post

请求示例: http://api.ilingku.com/int/v1/douyinlive?id=

请求参数说明:

名称 必填 类型 说明
id string 需要解析的抖音直播间ID
type string 输出直播源格式(flv、hls)

返回参数说明:

名称 类型 说明
code string 返回的状态码
msg string 返回错误提示信息
title string 返回直播间标题
pic string 返回直播间封面
urls string 返回直播源各清晰度地址

返回示例:

{
    "code": 200,
    "msg": "解析成功",
    "title": "木森(卷土重来)",
    "pic": "https://p3-webcast-sign.douyinpic.com/image-cut-tos-priv/3b2291693dca5f538af0bc6a2957579a~tplv-qz53dukwul-common-resize:0:0.image?biz_tag=app_6383_webcast&from=webcast.room.pack&l=202411012044508AD011E94AFD811BFE55&lk3s=39e7556e&s=enter_room&sc=webcast_cover&x-expires=1733057090&x-signature=goN4mfUgste9Y314HOd9nqHgGM0%3D",
"player":"https://api.ilingku.com/int/v1/douyinlive?action=player&id=148108118778",
    "urls": {
        "FULL_HD1": "//pull-f3.douyinliving.com/third/stream-116129365122876211_uhd.flv?auth_key=1731068090-0-0-c8b8e8c78ec383d000a2c3938644fb78&s_anchor=1&major_anchor_level=vip",
        "HD1": "//pull-f3.douyinliving.com/third/stream-116129365122876211_hd.flv?auth_key=1731068090-0-0-c287a61699e7359a8954ccbc7298fd76&s_anchor=1&major_anchor_level=vip",
        "SD1": "//pull-f3.douyinliving.com/third/stream-116129365122876211_ld.flv?auth_key=1731068090-0-0-a5a444b3be21f334e2a4f5e7db9b3ac7&major_anchor_level=vip&s_anchor=1",
        "SD2": "//pull-f3.douyinliving.com/third/stream-116129365122876211_sd.flv?auth_key=1731068090-0-0-5e10c9d7bba178c7904928ae48c27364&s_anchor=1&major_anchor_level=vip"
    }
}

错误码格式说明:

名称 类型 说明
code string 错误代码
msg string 错误提示
. 领酷API接口大全 Inc All Rights Reserved.蜀ICP备2023019253号-2