Baidu News API Documentation

GET   /api/v1/search?engine=baidu_news

The Baidu News API returns the news articles Baidu News lists for a query. Each result includes the headline, the article link, the publisher and a snippet, plus the publish date, the publisher icon, a thumbnail and a Baijiahao flag when available. The response also includes the total number of results, and related searches, the Baidu hot search board and the pages of the results when Baidu News shows them. Use it to monitor Chinese-language coverage of a brand, a company or a topic.

API Parameters

Search Query

  • Name
    q
    Required
    Required
    Description

    This parameter is used for the terms you want to search on Baidu News. Queries can include operators like site: and intitle:. Queries in any language return Chinese-language coverage.

Localization

  • Name
    ct
    Required
    Optional
    Description

    This parameter controls the script of the news results. There are three options:

    • 0 - Simplified and Traditional Chinese. (Default)
    • 1 - Simplified Chinese.
    • 2 - Traditional Chinese.

Sorting

  • Name
    sort_by
    Required
    Optional
    Description

    By default, news results are sorted by relevance. To get the most recent articles first, set it to most_recent.

Filters

  • Name
    source_type
    Required
    Optional
    Description

    This parameter limits results to one type of publisher. Supported values are:

    • all - every source. (Default)
    • media - news sites and media outlets.
    • baijiahao - Baijiahao posts, the Baidu publishing platform used by outlets and creators.

  • Name
    time_period
    Required
    Optional
    Description

    This parameter restricts results to articles published within a time period. Supported values are:

    • last_hour - articles from the past hour.
    • last_day - articles from the past 24 hours.
    • last_week - articles from the past week.
    • last_month - articles from the past month.
    • last_year - articles from the past year.
    Use time_period_min or time_period_max for a custom time period. When either is set, time_period is ignored.

  • Name
    time_period_min
    Required
    Optional
    Description

    This parameter specifies the first day of a custom time period, in MM/DD/YYYY format. Days start at midnight Beijing time (UTC+8). When used alone, the range ends today in Beijing.

  • Name
    time_period_max
    Required
    Optional
    Description

    This parameter specifies the last day of a custom time period, in MM/DD/YYYY format. The whole day is included, up to midnight Beijing time (UTC+8). The earliest supported end date is 01/01/1970.

Pagination

  • Name
    page
    Required
    Optional
    Description

    This parameter indicates which page of results to return. By default, it is set to 1. Baidu News lists a limited number of results per query, often fewer than 10 pages. A page past the last one returns the Baidu News didn't return any results. error.

  • Name
    num
    Required
    Optional
    Description

    This parameter specifies the number of results per page. Maximum number - 50. Use in combination with the page parameter to implement pagination.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to baidu_news.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=%E7%89%B9%E6%96%AF%E6%8B%89
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "特斯拉"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_Pp7IXuNcg8hi0hv2dTeSryzM",
    "status": "Success",
    "created_at": "2026-11-12T13:15:35Z",
    "request_time_taken": 8.84,
    "parsing_time_taken": 0.01,
    "total_time_taken": 8.86,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_K9NpohptMPI46sAbZaMK4lQH.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_hvcBkUqOUMPqSvlnld7pwQLe"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "特斯拉"
  },
  "search_information": {
    "total_results": 63
  },
  "organic_results": [
    {
      "position": 1,
      "title": "保时捷CEO抨击会飞的特斯拉:我们不搞任何特效或表演",
      "link": "http://baijiahao.baidu.com/s?id=1881622635240537392&wfr=spider&for=pc",
      "source": "快科技",
      "date": "11小时前",
      "snippet": "快科技11月12日消息,彭博社近日报道,保时捷CEO骆明楷(Michael Leiters)在柏林的一场行业会议上,公开点评特斯拉全新Roadster超跑的“空中飞车”演示,直言保时捷不会效仿这种表演式...",
      "favicon": "https://pic.rmb.bdstatic.com/e5672eaa3802b5e5ee4b310dd03fbd58.png",
      "thumbnail": "https://t9.baidu.com/it/u=1638147675,3928878094&fm=3035&app=3035&size=f242,162&n=0&g=0n&f=PNG?s=4F00...",
      "is_baijiahao": true
    },
    "..."
  ],
  "related_searches": [
    {
      "query": "瓜子二手车网",
      "link": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf..."
    },
    "..."
  ],
  "top_searches": [
    {
      "position": 1,
      "query": "纪念孙中山先生诞辰160周年大会举行",
      "link": "https://www.baidu.com/s?cl=2&tn=SE_hldp03880_xzs5iv7i&wd=%E7%BA%AA%E5%BF%B5%E5%AD%99%E4%B8%AD%E5%B1%..."
    },
    "..."
  ],
  "pagination": {
    "current": 1,
    "next": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
    "other_pages": {
      "2": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
      "3": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
      "4": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
      "5": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
      "6": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf...",
      "7": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E7%89%B9%E6%96%AF%E6%8B%89&x_bf..."
    }
  }
}
Dates as Baidu News shows them

The date field keeps Baidu's own wording in Beijing time (UTC+8): relative values such as 11小时前 (11 hours ago) or 昨天14:38 (yesterday at 14:38) for recent articles, and full dates such as 2025年12月31日 for older ones.

Most Recent

Most Recent
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=OpenAI&sort_by=most_recent
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "OpenAI",
  "sort_by": "most_recent"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_ftUOVsQTwT2jxlpew0G6cY3l",
    "status": "Success",
    "created_at": "2026-11-12T13:18:20Z",
    "request_time_taken": 10.88,
    "parsing_time_taken": 0.08,
    "total_time_taken": 10.96,
    "request_url": "https://www.baidu.com/s?rtt=4&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_tEuspJPpMgmmji82qKlrICHW.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_sZnHSsaICcq61O25SHzoTkUd"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "OpenAI",
    "sort_by": "most_recent"
  },
  "search_information": {
    "total_results": 112
  },
  "organic_results": [
    {
      "position": 1,
      "title": "俄罗斯恶作剧者假扮乌克兰官员,骗取了三名OpenAI国家安全和政策...",
      "link": "https://www.huxiu.com/moment/1296251.html",
      "source": "虎嗅APP",
      "date": "1小时前",
      "snippet": "俄罗斯恶作剧者假扮乌克兰官员,骗取了三名OpenAI国家安全和政策高管参加视频会议;OpenAI表示已“在内部采取行动”",
      "snippet_highlighted_words": [
        "OpenAI"
      ]
    },
    "..."
  ]
}

Media Sources

Media Sources
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=%E6%96%B0%E8%83%BD%E6%BA%90%E6%B1%BD%E8%BD%A6&source_type=media
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "新能源汽车",
  "source_type": "media"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_4tiOYeEIAI2CL2gbwSU8z8zT",
    "status": "Success",
    "created_at": "2026-11-12T13:24:35Z",
    "request_time_taken": 9.2,
    "parsing_time_taken": 0.03,
    "total_time_taken": 9.23,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E6%96%B0%E8%83%BD%E6%BA%90%E6%B...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_20ucMtYcoFaMrX3oMPsDd9dA.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_BiPdJsIUDBck3ta0OPQJRtdt"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "新能源汽车",
    "source_type": "media"
  },
  "search_information": {
    "total_results": 161
  },
  "organic_results": [
    {
      "position": 1,
      "title": "近80个汽车品牌在河南展出 新能源汽车占比超六成",
      "link": "https://www.chinanews.com.cn/tp/2026/11-12/10730897.shtml",
      "source": "中国新闻网",
      "date": "4小时前",
      "snippet": "11月12日,2026第十八届郑州国际汽车展览会暨新能源·智能网联汽车展览会在河南郑州开幕,共汇集近80个汽车品牌,展出车辆逾1000台,涵盖多种车型,其中新能源汽车占比超过65%。图为展出的飞...",
      "thumbnail": "https://t9.baidu.com/it/u=2347237999,2676788973&fm=217&app=125&size=f242,162&n=0&g=0n&f=JPEG?s=E9E22..."
    },
    "..."
  ]
}

Custom Time Range

Custom Time Range
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&time_period_max=11%2F07%2F2026&time_period_min=11%2F01%2F2026
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "人工智能",
  "time_period_min": "11/01/2026",
  "time_period_max": "11/07/2026"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_wwgSyeWxC6wehiQ660F1Qq81",
    "status": "Success",
    "created_at": "2026-11-12T13:18:20Z",
    "request_time_taken": 14.55,
    "parsing_time_taken": 0.0,
    "total_time_taken": 14.56,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%8...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_fJeJ97HmKyxvOv5BC4v6AgC7.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_YReDufT3UQXcdnNbX33hueHv"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "人工智能",
    "time_period_min": "11/01/2026",
    "time_period_max": "11/07/2026"
  },
  "search_information": {
    "total_results": 55
  },
  "organic_results": [
    {
      "position": 1,
      "title": "赵志国:关于人工智能时代加快发展新质生产力,推动数实融合发展的...",
      "link": "http://baijiahao.baidu.com/s?id=1881174727447214733&wfr=spider&for=pc",
      "source": "央广网",
      "date": "5天前",
      "snippet": "赵志国表示,技术革命性突破、生产要素创新性配置、产业深度转型升级,是理解新质生产力的“钥匙”,也是讨论数实融合的基本框架。今年是“十五五”开局之年,如何把人工智能的技术突破...",
      "favicon": "https://pic.rmb.bdstatic.com/bjh/user/24adc6ab8dece8b084b5103e24e64ae0.jpeg",
      "thumbnail": "https://t7.baidu.com/it/u=185827630,4238868724&fm=3035&app=3035&size=f242,162&n=0&g=0n&f=JPEG?s=94A7...",
      "is_baijiahao": true
    },
    "..."
  ]
}
Related Searches
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=%E5%8D%8E%E4%B8%BA
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "华为"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_5uM6YtQWZigQXUIgg9KD6NFe",
    "status": "Success",
    "created_at": "2026-11-12T13:15:51Z",
    "request_time_taken": 12.65,
    "parsing_time_taken": 0.01,
    "total_time_taken": 12.65,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E5%8D%8E%E4%B8%BA",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_5BH4haSMNtcGfCtTIYXplK7c.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_DQzLzIxgOjL3tIQHRx44NYIB"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "华为"
  },
  "search_information": {
    "total_results": 24
  },
  "related_searches": [
    {
      "query": "华为官网网址",
      "link": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E5%8D%8E%E4%B8%BA&x_bfe_rqs=03E..."
    },
    "..."
  ]
}

Top Searches

Top Searches
GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&q=%E5%8F%B0%E9%A3%8E
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "台风"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_pIf7wTx6aKtxo953HoZ3hVAA",
    "status": "Success",
    "created_at": "2026-11-12T13:15:45Z",
    "request_time_taken": 5.22,
    "parsing_time_taken": 0.05,
    "total_time_taken": 5.27,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=%E5%8F%B0%E9%A3%8E",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_OLUN18d3x7kwhzI5VpeNU8VD.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_ihcoyRSsJ6MQDoLA4Ez1QU4U"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "台风"
  },
  "search_information": {
    "total_results": 122
  },
  "top_searches": [
    {
      "position": 1,
      "query": "纪念孙中山先生诞辰160周年大会举行",
      "link": "https://www.baidu.com/s?cl=2&tn=SE_hldp03880_xzs5iv7i&wd=%E7%BA%AA%E5%BF%B5%E5%AD%99%E4%B8%AD%E5%B1%..."
    },
    "..."
  ]
}

Pagination

Pagination

Baidu News lists a limited number of results per query, often fewer than 10 pages. A page past the last one returns the Baidu News didn't return any results. error instead of repeating the last page.

GET
https://www.searchapi.io/api/v1/search?engine=baidu_news&page=2&q=OpenAI
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "baidu_news",
  "q": "OpenAI",
  "page": 2
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_bRlrTssg3vSEuRcnjRZnYpYQ",
    "status": "Success",
    "created_at": "2026-11-12T13:18:20Z",
    "request_time_taken": 24.96,
    "parsing_time_taken": 0.0,
    "total_time_taken": 24.96,
    "request_url": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&pn=10",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_RV9PN0JQ319POp8SpzvStJcG.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_rW9lkuDyQnEQRkG5373lm8Ob"
  },
  "search_parameters": {
    "engine": "baidu_news",
    "q": "OpenAI",
    "page": "2"
  },
  "search_information": {
    "total_results": 108
  },
  "pagination": {
    "current": 2,
    "next": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
    "previous": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
    "other_pages": {
      "1": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "3": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "4": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "5": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "6": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "7": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "8": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "9": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs...",
      "10": "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&rsv_dl=ns_pc&word=OpenAI&x_bfe_rqs=03E80&x_bfe_tjs..."
    }
  }
}