youtube 02
15 个接口
GETget video captions
GET https://dkai.store/api/v1/youtube/web_v2/get_video_captions7 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_captions'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video captions result
GET https://dkai.store/api/v1/youtube/web_v2/get_video_captions_result1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
job_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_captions_result?job_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video comment replies
GET https://dkai.store/api/v1/youtube/web_v2/get_video_comment_replies1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
continuation_token | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_comment_replies?continuation_token=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video comments
GET https://dkai.store/api/v1/youtube/web_v2/get_video_comments1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
video_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_comments?video_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video info
GET https://dkai.store/api/v1/youtube/web_v2/get_video_info1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
video_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_info?video_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video info v2
GET https://dkai.store/api/v1/youtube/web_v2/get_video_info_v21 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_info_v2'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video streams
GET https://dkai.store/api/v1/youtube/web_v2/get_video_streams1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_streams'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget video streams v2
GET https://dkai.store/api/v1/youtube/web_v2/get_video_streams_v24 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/get_video_streams_v2'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
POSTget video streams v3
POST https://dkai.store/api/v1/youtube/web_v2/get_video_streams_v33 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
请求体:按接口定义传入完整 JSON。
成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETsearch channels
GET https://dkai.store/api/v1/youtube/web_v2/search_channels1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web_v2/search_channels'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget channel id
GET https://dkai.store/api/v1/youtube/web/get_channel_id1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
channel_name | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web/get_channel_id?channel_name=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget channel id v2
GET https://dkai.store/api/v1/youtube/web/get_channel_id_v21 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
channel_url | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web/get_channel_id_v2?channel_url=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget channel info
GET https://dkai.store/api/v1/youtube/web/get_channel_info1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
channel_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web/get_channel_info?channel_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget channel short videos
GET https://dkai.store/api/v1/youtube/web/get_channel_short_videos1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
channel_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web/get_channel_short_videos?channel_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。
GETget channel url
GET https://dkai.store/api/v1/youtube/web/get_channel_url1 积分 / 成功调用
| 参数 | 位置 | 要求 | 说明 |
|---|---|---|---|
channel_id | query | 必填 | |
Idempotency-Key | header | 必填 | Use the same value when retrying the same business request. |
curl -H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: YOUR_UNIQUE_REQUEST_ID' \
'https://dkai.store/api/v1/youtube/web/get_channel_url?channel_id=VALUE'成功响应包含 code 和 data;错误状态依次可为 400、401、403、429。