APIs / Baidu / Developer Search
Baidu: Developer Search
Developer Search from Baidu as JSON. 1 credit per successful call.
GET /v1/baidu/developer-search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 500 characters |
page | integer | Optional | Any |
limit | integer | Optional | Any |
Example request
Baidu
GET/v1/baidu/developer-search?query=Laravel+API
{
"search_parameters": {
"engine": "baidu_developer_search",
"query": "Laravel API",
"page": 1,
"limit": 10
},
"developer_results": [
{
"position": 1,
"title": "php - Laravel-API实践教程 - 个人文章 - SegmentFault 思否",
"link": "http://segmentfault.com/a/1190000039088907",
"snippet": "发布于 2021-01-26 概述 Laravel 是一个非常流行的 PHP 框架,我们可以使用它快速构建一个 WEB 应用程序。而现在 WEB 应用中多会采用前后端分离技术,所以我们经常会遇到使用 Laravel 搭建 API 项目的需求。 Laravel 在提供 API 这方面,很多地方都只",
"site": "segmentfault.com",
"full_site": "segmentfault.com",
"resource_type": "BLOG",
"published_at": "2021-01-26 00:00:00",
"up_votes": 0
},
{
"position": 2,
"title": "3分钟短文:太爽了,用Laravel写API接口! - 掘金",
"link": "http://juejin.cn/post/6884960930220736526",
"snippet": "引言 我们一直在讲,通过路由传达到控制器,处理好数据并渲染到视图,但是对于现代的应用,前后端分离的情况下,后端写个接口就完事儿了。本期为大家说一说用laravel写restful风格的API,看看能有多简单。以路由开端 写API接口,与传统的渲染前端模板页面有什么区别?少了视图,只需要准备好数据,并",
"site": "juejin.cn",
"full_site": "juejin.cn",
"resource_type": "BLOG",
"published_at": "2020-10-18 22:08:00",
"up_votes": 0
},
{
"position": 3,
"title": "详解Laravel制作API接口 - 编程宝库",
"link": "http://www.codebaoku.com/it-php/it-php-213714.html",
"snippet": "需要注意的是:API有它的具体用途,我们应该清楚它是干啥的。访问API的时候应该输入什么。访问过API过后应该得到什么。 在开始设计API时,我们应该注意这8点。后续的开发计划就围绕着这个进行了。 1.Restful设计原则 2.API的命名 3.API的安全性 4.API返回数据 5.图片的处理",
"site": "codebaoku.com",
"full_site": "www.codebaoku.com",
"resource_type": "TUTORIALS",
"published_at": "2021-09-27 00:09:09",
"up_votes": 0
}
],
"search_information": {
"query_displayed": "Laravel API",
"total_results": 100,
"results_on_page": 10,
"page": 1,
"limit": 10,
"upstream_page_size": 10
},
"pagination": {
"page": 1,
"limit": 10,
"results_on_page": 10,
"total_results": 100,
"has_more": true,
"next_page": 2
},
"results": {
"documents": {
"pageNum": 1,
"pageSize": 10,
"totalCount": 100,
"data": [
{
"techDocDigest": {
"url": "http://segmentfault.com/a/1190000039088907",
"title": "php - Laravel-API实践教程 - 个人文章 - SegmentFault 思否",
"summary": "发布于 2021-01-26 概述 Laravel 是一个非常流行的 PHP 框架,我们可以使用它快速构建一个 WEB 应用程序。而现在 WEB 应用中多会采用前后端分离技术,所以我们经常会遇到使用 Laravel 搭建 API 项目的需求。 Laravel 在提供 API 这方面,很多地方都只",
"upCount": 0,
"feedbackType": "CANCEL",
"weight": "0.9710",
"resourceType": "BLOG",
"publishTime": "2021-01-26 00:00:00",
"site": "segmentfault.com",
"fullSite": "segmentfault.com",
"similarId": "OOcDOi7x",
"similarWeight": "0.9",
"realTitle": "Laravel-API实践教程",
"score": 0.9960849285125732
}
},
{
"techDocDigest": {
"url": "http://juejin.cn/post/6884960930220736526",
"title": "3分钟短文:太爽了,用Laravel写API接口! - 掘金",
"summary": "引言 我们一直在讲,通过路由传达到控制器,处理好数据并渲染到视图,但是对于现代的应用,前后端分离的情况下,后端写个接口就完事儿了。本期为大家说一说用laravel写restful风格的API,看看能有多简单。以路由开端 写API接口,与传统的渲染前端模板页面有什么区别?少了视图,只需要准备好数据,并",
"upCount": 0,
"feedbackType": "CANCEL",
"weight": "0.9760",
"resourceType": "BLOG",
"publishTime": "2020-10-18 22:08:00",
"site": "juejin.cn",
"fullSite": "juejin.cn",
"similarId": "",
"similarWeight": "",
"realTitle": "3分钟短文:太爽了,用Laravel写API接口!",
"score": 0.9949394464492798
}
},
{
"techDocDigest": {
"url": "http://www.codebaoku.com/it-php/it-php-213714.html",
"title": "详解Laravel制作API接口 - 编程宝库",
"summary": "需要注意的是:API有它的具体用途,我们应该清楚它是干啥的。访问API的时候应该输入什么。访问过API过后应该得到什么。 在开始设计API时,我们应该注意这8点。后续的开发计划就围绕着这个进行了。 1.Restful设计原则 2.API的命名 3.API的安全性 4.API返回数据 5.图片的处理",
"upCount": 0,
"feedbackType": "CANCEL",
"weight": "",
"resourceType": "TUTORIALS",
"publishTime": "2021-09-27 00:09:09",
"site": "codebaoku.com",
"fullSite": "www.codebaoku.com",
"similarId": "",
"similarWeight": "",
"realTitle": "详解Laravel制作API接口",
"score": 0.994088888168335
}
}
],
"dataSize": 10
},
"wordseg": [
"laravel",
"api"
],
"source": "aurora"
},
"data": {
"status": "OK",
"message": "操作成功!",
"data": {
"documents": {
"pageNum": 1,
"pageSize": 10,
"totalCount": 100,
"data": [
{
"techDocDigest": "…"
},
{
"techDocDigest": "…"
},
{
"techDocDigest": "…"
}
],
"dataSize": 10
},
"wordseg": [
"laravel",
"api"
],
"source": "aurora"
}
},
"response_time_ms": 4581
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 1 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
data | object |