加载中...

基础信息

查看接口基本信息和返回格式
接口描述

百度旗下全部短剧

七日请求统计
本周总请求: - 日均: -
请求方式
GET POST 推荐
请求地址
https://api.cxzja.cn/api/baidudj
返回方式
JSON 默认返回格式,包含完整数据结构
返回预览
JSON
{
  "code": 200,
  "msg": "请求成功",
  "data": {
    "code": 200,
    "msg": "搜索成功 - 百度短剧",
    "data": [
      {
        "id": "9451731930403648455",
        "title": "暖心总裁",
        "totalChapterNum": 13,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/3428ea145a99d9dc058c2bf2fac99117.jpeg?for=bg&x-bce-process=image/format,f_auto"
      },
      {
        "id": "10548756548845308960",
        "title": "报告总裁,夫人婚前要实习",
        "totalChapterNum": 87,
        "cover": "http://pic.rmb.bdstatic.com/bjh/240408/playlet/25266c889a107d023728840e3ca1fd7a6959.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "10469056679140558192",
        "title": "辞职后前总裁对我余情未了",
        "totalChapterNum": 100,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/d40611009a9d839e8c82d9862666a9a1.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9360297221974986036",
        "title": "超级女总裁之风云人生",
        "totalChapterNum": 141,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/9ed31acd411be89bcf76ba01f7eedadd.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9321498183968890240",
        "title": "天降双宝亿万总裁强势宠",
        "totalChapterNum": 84,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/c4379f901339673028d1f817d732dc4e.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "10009500066032050860",
        "title": "失格总裁上门报道",
        "totalChapterNum": 11,
        "cover": "http://pic.rmb.bdstatic.com/baidu-rmb-video-cover-1/2024-02/3qOJeWiltrpFxhnU7yyDOh.jpg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "10094377252681566874",
        "title": "最强保镖,美女总裁来抢婚",
        "totalChapterNum": 99,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/8c51f8ea35575b9b2a4f060424c1dfc2.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9686042780346468529",
        "title": "龙凤双宝:总裁爹地追妻忙",
        "totalChapterNum": 98,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/cf83aa92fab014f177d7dec19cf8f9c4.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9760255953924629941",
        "title": "傲娇女总裁的医皇保镖",
        "totalChapterNum": 111,
        "cover": "http://pic.rmb.bdstatic.com/bjh/240404/playlet/9c28e645bbf2209a9ee2ee8d1d63c343740.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "8886186390647763544",
        "title": "女总裁的高手老公",
        "totalChapterNum": 75,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/ccd1aba136d5b5645f10af096cee3ae2.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9578780039498883527",
        "title": "开局撞上美女总裁",
        "totalChapterNum": 95,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/6135df6970d793d8ee286096209e2efa.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9733239037721027368",
        "title": "总裁夫人超凶猛",
        "totalChapterNum": 88,
        "cover": "http://pic.rmb.bdstatic.com/bjh/240305/playlet/09e0054bfc81e24b48a5fcbf796ec4c78691.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9813053518819248540",
        "title": "师娘,我下山找总裁老婆去了",
        "totalChapterNum": 90,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/bdad7ce3be214a5f30097f4754ff2950.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9981483272694360372",
        "title": "总裁盛宠天价娇妻",
        "totalChapterNum": 71,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/c017d60fd9858f0bacf8df24c44e41c6.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "8871687684776558535",
        "title": "总裁请自重,我们已经离婚了",
        "totalChapterNum": 97,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/a003708f5bf794f9053f00e5ae118680.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "10391506118330268518",
        "title": "萌宝下山,替妈咪认个总裁爹",
        "totalChapterNum": 76,
        "cover": "http://pic.rmb.bdstatic.com/bjh/260210/beautify/9c3a797b7bbde3f99f069b977155d2c8.jpeg@c_1,w_1138,h_1517,x_0,y_0%7Cf_auto"
      },
      {
        "id": "10514756471118622428",
        "title": "闪婚后总裁身份曝光了",
        "totalChapterNum": 96,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/afa66a6b7ab45472a32f5386328c0a79.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "10666263933675923897",
        "title": "天才萌宝:抢个总裁当爹地",
        "totalChapterNum": 100,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/64c6c5e440f21252bc4d255e1d1f21fa.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9355125750697586551",
        "title": "美女总裁的战帝保镖",
        "totalChapterNum": 111,
        "cover": "http://pic.rmb.bdstatic.com/bjh/video/5be02d08f0c3c8ad1d02a08ee40eeff4.jpeg?x-bce-process=image/format,f_auto"
      },
      {
        "id": "9086433378229314299",
        "title": "弃少归来撩总裁",
        "totalChapterNum": 79,
        "cover": "http://pic.rmb.bdstatic.com/bjh/240401/playlet/e57ff6feda90f3b89f170b198233dd727384.jpeg?x-bce-process=image/format,f_auto"
      }
    ],
    "tips": "获取到对应id,然后用于获取全部视频列表"
  },
  "api_source": "API官网:api.cxzja.cn",
  "timestamp": "2026-08-03 11:57:23"
}

计费标准

了解接口的计费方式和价格
VIP付费接口定价
VIP 付费
VIP会员专享
仅VIP会员可访问,开通后按次计费
每日免费 0
超出后计费
VIP会员 免费
QPS限制
普通用户
不限
会员用户
不限
每日请求次数
普通用户
不限
会员用户
不限

安全认证

了解接口的认证方式和访问凭证管理
Token 认证

登录后可查看您的Token

立即登录
实名认证
无需实名认证
本接口对所有用户开放,无需实名认证即可访问
认证方式
推荐 Header 认证

通过 HTTP Header 传递认证信息

Authorization
Bearer {access_token}

或通过curl请求参数传递:

curl
curl "https://api.cxzja.cn/api/baidudj?token=YOUR_TOKEN"

参数文档

查看接口请求参数和返回字段说明
请求参数

该接口无需请求参数

返回参数
字段名 类型 说明
code
int 返回状态码

状态码

了解接口返回的状态码含义及处理方式
接口状态码
状态码 说明
200 请求成功
201 请求失败
服务器状态码

在线测试

在线调试接口,实时查看响应结果
发起请求
GET/POST

示例代码

多种语言的接口调用示例
PHP
JavaScript
NodeJs
Python
Go
Java
C#
C
C++
易语言
PHP
<?php
$API_TOKEN = 'YOUR_TOKEN';
$API_URL = 'https://api.cxzja.cn/api/baidudj';

$params = array(
    'key' => 'value',
);

$res = api::send($API_URL, $params, 'GET/POST');
print($res);

class api {
    public static function send($url, $data, $type) {
        $data = http_build_query($data);
        $ch = curl_init();
        if ($type == 'POST') {
            curl_setopt($ch, CURLOPT_URL, $url);
            curl_setopt($ch, CURLOPT_POST, true);
            curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
        } else {
            curl_setopt($ch, CURLOPT_URL, $url . '?' . $data);
        }
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        $res = curl_exec($ch);
        curl_close($ch);
        return $res;
    }
}
JavaScript
$.ajax({
    url: 'https://api.cxzja.cn/api/baidudj',
    data: {
        key: 'value',
    },
    type: 'GET/POST',
    dataType: 'json',
    success: function(data) {
        console.log(data);
    },
    error: function(err) {
        console.log('请求失败', err);
    }
});
Python
import requests

url = "https://api.cxzja.cn/api/baidudj"
data = {
    "key": "value",
}

response = requests.post(url, data=data)
print(response.json())
Java
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.*;

public class ApiRequest {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://api.cxzja.cn/api/baidudj");
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
        conn.setRequestMethod("GET/POST");
        conn.setConnectTimeout(10000);

        BufferedReader reader = new BufferedReader(
            new InputStreamReader(conn.getInputStream()));
        String line;
        StringBuilder result = new StringBuilder();
        while ((line = reader.readLine()) != null) {
            result.append(line);
        }
        reader.close();
        System.out.println(result.toString());
    }
}
Go
package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
"strings"
)

func main() {
    data := "key=value"
    resp, _ := http.Post("https://api.cxzja.cn/api/baidudj",
        "application/x-www-form-urlencoded", strings.NewReader(data))
    defer resp.Body.Close()
    body, _ := ioutil.ReadAll(resp.Body)
    fmt.Println(string(body))
}
C#
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program {
    static async Task Main() {
        using var client = new HttpClient();
        var data = new FormUrlEncodedContent(new Dictionary<string, string> {
            {"key", "value"},
        });
        var response = await client.PostAsync("https://api.cxzja.cn/api/baidudj", data);
        var result = await response.Content.ReadAsStringAsync();
        Console.WriteLine(response);
    }
}
NodeJs
const https = require('https');
const querystring = require('querystring');

const postData = querystring.stringify({
    'key': 'value',
});
const options = {
    hostname: 'api.cxzja.cn',
    path: '/api/baidudj',
    method: 'POST',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
};
const req = https.request(options, res => {
    let data = '';
    res.on('data', d => data += d);
    res.on('end', () => console.log(data));
});
req.write(postData);
req.end();
C
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>

static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) {
    ((char*)userp)[0] = '\0';
    strcat(userp, contents);
    return size * nmemb;
}

int main() {
    CURL *curl;
    CURLcode res;
    char response[4096] = {0};

    curl_global_init(CURL_GLOBAL_DEFAULT);
    curl = curl_easy_init();

    if(curl) {
        curl_easy_setopt(curl, CURLOPT_URL, "https://api.cxzja.cn/api/baidudj");
        curl_easy_setopt(curl, CURLOPT_POST, 1L);
        curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "key=value");
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, response);
        curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10L);

        res = curl_easy_perform(curl);
        if(res == CURLE_OK) printf("%s\n", response);
        curl_easy_cleanup(curl);
    }
    curl_global_cleanup();
    return 0;
}
C++
#include <iostream>
#include <string>
#include <curl/curl.h>

size_t WriteCallback(void* contents, size_t size, size_t nmemb, std::string* userp) {
    userp->append((char*)contents, size * nmemb);
    return size * nmemb;
}

int main() {
    CURL* curl = curl_easy_init();
    std::string response;

    if (curl) {
        curl_easy_setopt(curl, CURLOPT_URL, "https://api.cxzja.cn/api/baidudj");
        curl_easy_setopt(curl, CURLOPT_POST, 1L);
        curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "key=value");
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response);
        curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10L);

        CURLcode res = curl_easy_perform(curl);
        if (res == CURLE_OK) std::cout << response << std::endl;
        curl_easy_cleanup(curl);
    }
    curl_global_cleanup();
    return 0;
}
易语言
.版本 2
.支持库 spec

.局部变量 url, 文本型
.局部变量 params, 文本型
.局部变量 result, 文本型

url = "https://api.cxzja.cn/api/baidudj"
params = "key=value"

result = 编码_URL解码 (网页_访问 (url, , params))
调试输出 (result)

AI开发文档

导出接口文档供AI助手快速理解接口结构
复制下方内容粘贴给AI助手,即可快速生成对接代码。
JSON 格式 0 KB