Baidu Wenxin API for Answers & Sources

Scrape answers from Baidu Wenxin (文心), Baidu's AI chat in China, with the pages it read and its queries, as JSON. See how Chinese AI search presents your brand.

Baidu Wenxinwenxin.baidu.com
Baidu Wenxin answering as a guest with three earbud picks in a comparison table, after searching 31 pages.
API responseCompleted
Country
CN
Credits
1.25
Sources
26
{
  "task": {
    "taskType": "BAIDU_WENXIN"
  },
  "response": {
    "text": "3 Commuting Wireless Earbuds Comparison\n\n| Model | Noise Cancellation | Total Battery Life |\n|-------|--------------------|--------------------|\n| Beats Studio Buds+ | Strong active noise cancellation | 36 hours |\n| Bose QuietComfort Ultra Earbuds | Adaptive smart noise cancellation | 30 hours |\n| EarFun AirPro4+ | AI-enhanced ANC | 48 hours |\n\nSources:\n- [2026 Commuting Headset Test - Sohu](https://www.sohu.com/a/1095420712_122645258)\n- [Top Noise Cancelling Earbuds Ranking - Ranshoubang](https://www.sohu.com/a/1095420712_122645258)\n\nAll three models are verified 2026 mainstream commuting picks, balancing subway noise suppression and full-day battery needs.\n\n---\nWould you like me to add price ranges and wearing comfort notes for these 3 earbuds to help you pick faster?",
    "sources": [
      {
        "url": "https://www.sohu.com/a/1095420712_122645258",
        "label": "通勤地铁用蓝牙耳机推荐:BOSE、EarFun与SANAG真实体验与场景适配解析_传导_乐图_耳道",
        "source": "搜狐",
        "position": 1
      },
      {
        "url": "https://www.sohu.com/a/1096142207_122645258",
        "label": "通勤用什么蓝牙耳机好?2026年四大热门机型场景化实测与选购建议_运动_手机_训练",
        "source": "搜狐",
        "position": 2
      },
      {
        "url": "https://news.sohu.com/a/1053868084_121966192",
        "label": "2026适合女生通勤的蓝牙耳机:地铁降噪与久戴舒适怎么选_入耳式_主动_耳塞",
        "source": "搜狐新闻",
        "position": 3
      },
      {
        "url": "https://www.sohu.com/a/1096015789_121081803",
        "label": "2026耳夹式蓝牙耳机TOP5对比测评:倍思MC2 vs 华为FreeClip 2、OPPO Enco Air3 Pro、vivo TWS Air2、一加Buds Ace_实测_支持_续航",
        "source": "搜狐",
        "position": 4
      },
      {
        "url": "https://post.smzdm.com/p/awwgomnk",
        "label": "2026真无线耳夹耳机推荐:通勤、颜值、运动需求怎么选_耳机_什么值得买",
        "source": "什么值得买",
        "position": 5
      },
      {
        "url": "https://m.sohu.com/a/1089254409_121081803",
        "label": "2026耳夹式蓝牙耳机对比测评:云声S2、南卡N3、倍思Eli、QCY T20、华为FreeBuds Lipstick,谁才是通勤轻运动首选?_实测_小时",
        "source": "搜狐",
        "position": 6
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1875723380932938061&wfr=spider&for=pc",
        "label": "2026无线耳机实测,通勤运动开黑自习全场景体验",
        "source": "百家号",
        "position": 7
      },
      {
        "url": "https://www.sohu.com/a/1095716480_121081803",
        "label": "2026真无线降噪耳机对比评测:索尼WF-1000XM6 vs Bose QuietComfort Ultra vs Sennheiser Momentum 4 TWS vs Apple AirPods Pro 2(USB-",
        "source": "搜狐",
        "position": 8
      },
      {
        "url": "http://wap.fuzhou.goldbullbull.com/tvpnews/202610/217_76207.shtml",
        "label": "2026~无线耳机选购指南:降:噪、AI、长续航怎么选?这4款无线·耳机横测",
        "source": "wap.fuzhou.goldbullbull.com",
        "position": 9
      },
      {
        "url": "https://news.sohu.com/a/1092418186_121081803",
        "label": "2026真无线降噪耳机对比测评:倍思WM01 vs JBL Tune 230NC、Soundcore Liberty 4 NC、Anker Soundcore Q30、华为FreeBuds 6i_续航_实测_",
        "source": "搜狐新闻",
        "position": 10
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880729785089039253&wfr=spider&for=pc",
        "label": "无线蓝牙耳机性价比高的品牌有哪些?10款性价比高的无线耳机品牌推荐",
        "source": "百家号",
        "position": 11
      },
      {
        "url": "https://www.jd.com/phb/6529a42e6233a3d38d4.html",
        "label": "无线耳塞品牌排行榜 - 十大品牌 - 京东",
        "source": "京东",
        "position": 12
      },
      {
        "url": "https://news.sohu.com/a/1088957857_121081803",
        "label": "2026真无线降噪耳机对比测评:柏林之声曦跃辰、Bose QuietComfort Ultra、Sony WF-1000XM6、Sennheiser Momentum True Wireless 4、Jabr",
        "source": "搜狐新闻",
        "position": 13
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880715209311084561&wfr=spider&for=pc",
        "label": "2026年蓝牙耳机怎么选?从通勤到运动,我替你试出了这几款真香款",
        "source": "百家号",
        "position": 14
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880715658368652072&wfr=spider&for=pc",
        "label": "从通勤到运动,我为什么最终留下了这三副X8耳机",
        "source": "百家号",
        "position": 15
      },
      {
        "url": "https://www.1688.com/brand/-CDA8D3C3D0CDCEDECFDFB6FAC8FBD4CBB6AFC0B6D1C0B6FABBFA.html",
        "label": "通用型无线耳塞运动蓝牙耳机-通用型无线耳塞运动蓝牙耳机品牌、图片、排行榜 - 阿里巴巴",
        "source": "阿里巴巴1688",
        "position": 16
      },
      {
        "url": "https://www.sohu.com/a/1095736823_122645258",
        "label": "通勤地铁用蓝牙耳机推荐:倍思与漫步者实测,按场景挑才不闲置_续航_功能_环境",
        "source": "搜狐",
        "position": 17
      },
      {
        "url": "https://www.sohu.com/a/1095746540_122645058",
        "label": "通勤办公运动全场景覆盖:Comply高品质海绵耳塞真实体验与选购指南_耳机_耳道_配件",
        "source": "搜狐",
        "position": 18
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880640707554718698&wfr=spider&for=pc",
        "label": "通勤路上,我为什么把三副漫步者耳机全换成了FitBuds Turbo?",
        "source": "百家号",
        "position": 19
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1877378322687544610&wfr=spider&for=pc",
        "label": "通勤跑步党看过来,耳夹式耳机实测分享",
        "source": "百家号",
        "position": 20
      },
      {
        "url": "https://zhuanlan.zhihu.com/p/2030670424812545610",
        "label": "2026真无线耳夹耳机推荐:通勤、颜值、运动需求怎么选 - 知乎",
        "source": "知乎",
        "position": 21
      },
      {
        "url": "https://3c.3dmgame.com/show-22-21619-1.html",
        "label": "2026多模连接耳机推荐:从游戏到通勤,这5款“设备通”帮你搞定全场景_3DM硬件",
        "source": "3DMGAME游戏硬件频道",
        "position": 22
      },
      {
        "url": "https://www.sohu.com/a/1066962725_122645058",
        "label": "2026年耳机配件好评推荐清单:通勤办公运动全覆盖,实测Comply耳塞、铁三角、斯泰克支架_海绵",
        "source": "搜狐",
        "position": 23
      },
      {
        "url": "https://3g.163.com/news/article/K6778DT605529JNQ.html",
        "label": "通勤/办公/旅行必备!2025蓝牙耳机实测,降噪强音质好才值得点赞|耳塞|蓝牙耳机|降噪耳机|麦克风_手机网易网",
        "source": "网易",
        "position": 24
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1874783645170905704&wfr=spider&for=pc",
        "label": "通勤休闲蓝牙耳机选哪款好?2026十款热门机型测评,兼顾通勤运动",
        "source": "百家号",
        "position": 25
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880623337408461551&wfr=spider&for=pc",
        "label": "通勤路上的听觉小世界,2026 新款入耳式无线蓝牙耳机,高音质降噪直接拉满.",
        "source": "百家号",
        "position": 26
      }
    ],
    "markdown": "### 3 Commuting Wireless Earbuds Comparison\n\n| Model | Noise Cancellation | Total Battery Life |\n|-------|--------------------|--------------------|\n| Beats Studio Buds+ | Strong active noise cancellation | 36 hours |\n| Bose QuietComfort Ultra Earbuds | Adaptive smart noise cancellation | 30 hours |\n| EarFun AirPro4+ | AI-enhanced ANC | 48 hours |\n\nSources:\n- [2026 Commuting Headset Test - Sohu](https://www.sohu.com/a/1095420712_122645258)\n- [Top Noise Cancelling Earbuds Ranking - Ranshoubang](https://www.sohu.com/a/1095420712_122645258)\n\nAll three models are verified 2026 mainstream commuting picks, balancing subway noise suppression and full-day battery needs.\n\n---\nWould you like me to add **price ranges and wearing comfort notes** for these 3 earbuds to help you pick faster?",
    "durationMs": 16321,
    "searchQueries": [
      "适合 commuting的无线耳塞推荐",
      "2026年热门通勤无线耳塞推荐",
      "无线耳塞降噪效果和续航对比",
      "高性价比通勤无线耳塞推荐",
      "2026年最新在售无线耳塞降噪续航参数"
    ]
  }
}
See every response field
Task type
BAIDU_WENXIN
Input
payload.prompt
Price
1.25 credits per request
Delivery
Webhook or polling

Response structure

The response carries the answer in Markdown, the pages Wenxin read and the searches it ran. sources lists the pages Wenxin read for the whole answer, about 30 for a typical question, many of them Baidu properties and Chinese media.

  • text, markdownthe Wenxin answer, in Markdown.
  • sourcesthe pages Wenxin read for the answer, with title and site name.
  • searchQueriesthe searches Wenxin ran before answering.
COMPLETEDBAIDU_WENXIN
{
  "task": {
    "taskType": "BAIDU_WENXIN"
  },
  "response": {
    "text": "3 Commuting Wireless Earbuds Comparison\n\n| Model | Noise Cancellation | Total Battery Life |\n|-------|--------------------|--------------------|\n| Beats Studio Buds+ | Strong active noise cancellation | 36 hours |\n| Bose QuietComfort Ultra Earbuds | Adaptive smart noise cancellation | 30 hours |\n| EarFun AirPro4+ | AI-enhanced ANC | 48 hours |\n\nSources:\n- [2026 Commuting Headset Test - Sohu](https://www.sohu.com/a/1095420712_122645258)\n- [Top Noise Cancelling Earbuds Ranking - Ranshoubang](https://www.sohu.com/a/1095420712_122645258)\n\nAll three models are verified 2026 mainstream commuting picks, balancing subway noise suppression and full-day battery needs.\n\n---\nWould you like me to add price ranges and wearing comfort notes for these 3 earbuds to help you pick faster?",
    "sources": [
      {
        "url": "https://www.sohu.com/a/1095420712_122645258",
        "label": "通勤地铁用蓝牙耳机推荐:BOSE、EarFun与SANAG真实体验与场景适配解析_传导_乐图_耳道",
        "source": "搜狐",
        "position": 1
      },
      {
        "url": "https://www.sohu.com/a/1096142207_122645258",
        "label": "通勤用什么蓝牙耳机好?2026年四大热门机型场景化实测与选购建议_运动_手机_训练",
        "source": "搜狐",
        "position": 2
      },
      {
        "url": "https://news.sohu.com/a/1053868084_121966192",
        "label": "2026适合女生通勤的蓝牙耳机:地铁降噪与久戴舒适怎么选_入耳式_主动_耳塞",
        "source": "搜狐新闻",
        "position": 3
      },
      {
        "url": "https://www.sohu.com/a/1096015789_121081803",
        "label": "2026耳夹式蓝牙耳机TOP5对比测评:倍思MC2 vs 华为FreeClip 2、OPPO Enco Air3 Pro、vivo TWS Air2、一加Buds Ace_实测_支持_续航",
        "source": "搜狐",
        "position": 4
      },
      {
        "url": "https://post.smzdm.com/p/awwgomnk",
        "label": "2026真无线耳夹耳机推荐:通勤、颜值、运动需求怎么选_耳机_什么值得买",
        "source": "什么值得买",
        "position": 5
      },
      {
        "url": "https://m.sohu.com/a/1089254409_121081803",
        "label": "2026耳夹式蓝牙耳机对比测评:云声S2、南卡N3、倍思Eli、QCY T20、华为FreeBuds Lipstick,谁才是通勤轻运动首选?_实测_小时",
        "source": "搜狐",
        "position": 6
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1875723380932938061&wfr=spider&for=pc",
        "label": "2026无线耳机实测,通勤运动开黑自习全场景体验",
        "source": "百家号",
        "position": 7
      },
      {
        "url": "https://www.sohu.com/a/1095716480_121081803",
        "label": "2026真无线降噪耳机对比评测:索尼WF-1000XM6 vs Bose QuietComfort Ultra vs Sennheiser Momentum 4 TWS vs Apple AirPods Pro 2(USB-",
        "source": "搜狐",
        "position": 8
      },
      {
        "url": "http://wap.fuzhou.goldbullbull.com/tvpnews/202610/217_76207.shtml",
        "label": "2026~无线耳机选购指南:降:噪、AI、长续航怎么选?这4款无线·耳机横测",
        "source": "wap.fuzhou.goldbullbull.com",
        "position": 9
      },
      {
        "url": "https://news.sohu.com/a/1092418186_121081803",
        "label": "2026真无线降噪耳机对比测评:倍思WM01 vs JBL Tune 230NC、Soundcore Liberty 4 NC、Anker Soundcore Q30、华为FreeBuds 6i_续航_实测_",
        "source": "搜狐新闻",
        "position": 10
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880729785089039253&wfr=spider&for=pc",
        "label": "无线蓝牙耳机性价比高的品牌有哪些?10款性价比高的无线耳机品牌推荐",
        "source": "百家号",
        "position": 11
      },
      {
        "url": "https://www.jd.com/phb/6529a42e6233a3d38d4.html",
        "label": "无线耳塞品牌排行榜 - 十大品牌 - 京东",
        "source": "京东",
        "position": 12
      },
      {
        "url": "https://news.sohu.com/a/1088957857_121081803",
        "label": "2026真无线降噪耳机对比测评:柏林之声曦跃辰、Bose QuietComfort Ultra、Sony WF-1000XM6、Sennheiser Momentum True Wireless 4、Jabr",
        "source": "搜狐新闻",
        "position": 13
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880715209311084561&wfr=spider&for=pc",
        "label": "2026年蓝牙耳机怎么选?从通勤到运动,我替你试出了这几款真香款",
        "source": "百家号",
        "position": 14
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880715658368652072&wfr=spider&for=pc",
        "label": "从通勤到运动,我为什么最终留下了这三副X8耳机",
        "source": "百家号",
        "position": 15
      },
      {
        "url": "https://www.1688.com/brand/-CDA8D3C3D0CDCEDECFDFB6FAC8FBD4CBB6AFC0B6D1C0B6FABBFA.html",
        "label": "通用型无线耳塞运动蓝牙耳机-通用型无线耳塞运动蓝牙耳机品牌、图片、排行榜 - 阿里巴巴",
        "source": "阿里巴巴1688",
        "position": 16
      },
      {
        "url": "https://www.sohu.com/a/1095736823_122645258",
        "label": "通勤地铁用蓝牙耳机推荐:倍思与漫步者实测,按场景挑才不闲置_续航_功能_环境",
        "source": "搜狐",
        "position": 17
      },
      {
        "url": "https://www.sohu.com/a/1095746540_122645058",
        "label": "通勤办公运动全场景覆盖:Comply高品质海绵耳塞真实体验与选购指南_耳机_耳道_配件",
        "source": "搜狐",
        "position": 18
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880640707554718698&wfr=spider&for=pc",
        "label": "通勤路上,我为什么把三副漫步者耳机全换成了FitBuds Turbo?",
        "source": "百家号",
        "position": 19
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1877378322687544610&wfr=spider&for=pc",
        "label": "通勤跑步党看过来,耳夹式耳机实测分享",
        "source": "百家号",
        "position": 20
      },
      {
        "url": "https://zhuanlan.zhihu.com/p/2030670424812545610",
        "label": "2026真无线耳夹耳机推荐:通勤、颜值、运动需求怎么选 - 知乎",
        "source": "知乎",
        "position": 21
      },
      {
        "url": "https://3c.3dmgame.com/show-22-21619-1.html",
        "label": "2026多模连接耳机推荐:从游戏到通勤,这5款“设备通”帮你搞定全场景_3DM硬件",
        "source": "3DMGAME游戏硬件频道",
        "position": 22
      },
      {
        "url": "https://www.sohu.com/a/1066962725_122645058",
        "label": "2026年耳机配件好评推荐清单:通勤办公运动全覆盖,实测Comply耳塞、铁三角、斯泰克支架_海绵",
        "source": "搜狐",
        "position": 23
      },
      {
        "url": "https://3g.163.com/news/article/K6778DT605529JNQ.html",
        "label": "通勤/办公/旅行必备!2025蓝牙耳机实测,降噪强音质好才值得点赞|耳塞|蓝牙耳机|降噪耳机|麦克风_手机网易网",
        "source": "网易",
        "position": 24
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1874783645170905704&wfr=spider&for=pc",
        "label": "通勤休闲蓝牙耳机选哪款好?2026十款热门机型测评,兼顾通勤运动",
        "source": "百家号",
        "position": 25
      },
      {
        "url": "https://baijiahao.baidu.com/s?id=1880623337408461551&wfr=spider&for=pc",
        "label": "通勤路上的听觉小世界,2026 新款入耳式无线蓝牙耳机,高音质降噪直接拉满.",
        "source": "百家号",
        "position": 26
      }
    ],
    "markdown": "### 3 Commuting Wireless Earbuds Comparison\n\n| Model | Noise Cancellation | Total Battery Life |\n|-------|--------------------|--------------------|\n| Beats Studio Buds+ | Strong active noise cancellation | 36 hours |\n| Bose QuietComfort Ultra Earbuds | Adaptive smart noise cancellation | 30 hours |\n| EarFun AirPro4+ | AI-enhanced ANC | 48 hours |\n\nSources:\n- [2026 Commuting Headset Test - Sohu](https://www.sohu.com/a/1095420712_122645258)\n- [Top Noise Cancelling Earbuds Ranking - Ranshoubang](https://www.sohu.com/a/1095420712_122645258)\n\nAll three models are verified 2026 mainstream commuting picks, balancing subway noise suppression and full-day battery needs.\n\n---\nWould you like me to add **price ranges and wearing comfort notes** for these 3 earbuds to help you pick faster?",
    "durationMs": 16321,
    "searchQueries": [
      "适合 commuting的无线耳塞推荐",
      "2026年热门通勤无线耳塞推荐",
      "无线耳塞降噪效果和续航对比",
      "高性价比通勤无线耳塞推荐",
      "2026年最新在售无线耳塞降噪续航参数"
    ]
  }
}

Track brand mentions and citations in Baidu Wenxin

Ask the questions Chinese shoppers ask, in Chinese, to see which brands Wenxin recommends and which Chinese pages it reads. Send the same prompts to Doubao and Qwen to compare three Chinese AI assistants.

Step 1

How to collect Baidu Wenxin answers with the API

Store your API key in the server environment variable QUERYING_API_KEY and submit a prompt. Baidu Wenxin runs as a guest from mainland China, so the example sends only the prompt, in the language you write it in.

cURL
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskType": "BAIDU_WENXIN",
  "payload": {
    "prompt": "best wireless earbuds for commuting"
  }
}'
Step 2

Read the completed response

Replace TASK_ID with task.id from the submission. Poll at intervals while QUEUED or PROCESSING; when COMPLETED, read the engine fields inside response. Handle FAILED as an error. Retrieve and store the result within 24 hours of completion, or receive it by webhook.

cURL
curl https://api.querying.ai/v1/async/task/TASK_ID \
  -H "Authorization: Bearer $QUERYING_API_KEY"

Cost and availability

Only completed tasks are charged, at 1.25 credits each. Check supported regions and plan concurrency.

View pricing →
Request cost by plan
Plan1,000 requests
Basic≈ $3.13
Max≈ $1.25

Effective rates assume all included monthly credits are used.

Reading the results

Each task asks Baidu's Wenxin chat as a guest from mainland China, the answer a new visitor there gets. Each run is a fresh observation, so compare several runs.

Explore related capabilities

Start with 500 free credits

Run your first task in the Playground, or call the API with your key.