Skip to the page

Bocha API alternative in 2026

Keep Bocha's call, $1 per 1,000.

Bocha's Web Search API answers POST https://api.bochaai.com/v1/web-search with up to 50 results a call. Bocha gives 1,000 free calls, and a CSDN post of September 2025 prices its resource packs at 3.6 yuan per 1,000 calls.

SpecStream is the live web data engine for teams and agents. It answers Bocha's own call in Bocha's JSON at https://api.specstream.ai/bocha, at $1 per 1,000 searches in USD, page summaries included. Change the host and the key; the code stays.

New accounts get $10 of credit, no card. It covers 10,000 searches.

SpecStream and the Bocha Web Search API side by side

SpecStreamBocha Web Search API
Price per 1,000 searches$1 for up to 10 results, summary included, paid in USD by card. Each reply carries price_usd, and credit you buy never expiresResource packs at 3.6 yuan per 1,000 calls (CSDN, Sep 11, 2025), bought in yuan in Bocha's console, each pack with an expiry date
Free to start$10 of credit, no card: 10,000 searchesA free pack of 1,000 calls in the console
AddressPOST https://api.specstream.ai/bocha/v1/web-search, a SpecStream key as Authorization: BearerPOST https://api.bochaai.com/v1/web-search, a Bocha key as Authorization: Bearer
RequestBocha's own body: query, count 1 to 50, freshness, summary, include and excludequery, count 1 to 50 (default 10), freshness from oneDay to noLimit or a date range, summary
What comes backBocha's data.webPages.value[] with name, url, displayUrl, snippet, summary, siteName and datePublished, plus a specstream field with the call's pricedata.webPages.value[] with the same fields and siteIcon; its search also covers images and videos
Published accuracy97.9 F-score on all 1,000 official SimpleQA Verified questions (978 correct). 64.0 item F1 and 43.4 row F1 on all 200 official WideSearch tasks. Scores and methodNo accuracy score on its open platform's home page
Reading a pageExtract API: $0.80 per 1,000 pages, up to 20 URLs a call, on the same key. A page with no text is not chargedsummary holds text from each result page
Which engines answerGET /v1/search-engines lists each engine with the country it is run from, and "engine_rule": {"deny": ["CN"]} on a key keeps every search off engines run from ChinaBocha's own engine, from nearly 100 billion pages and content sources
A whole datasetDeep Search: a request in plain words returns every match on the live web as structured rows at 5¢, 15¢ or $1 a row, under a maximum you approve before it runsOne results page per call

Why Bocha users switch to SpecStream

Other Bocha alternatives

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to switch from the Bocha Web Search API

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 10,000 searches.

2. Set the host to https://api.specstream.ai/bocha where your code has https://api.bochaai.com, and send the SpecStream key as the Bearer token.

import requests

BASE = "https://api.specstream.ai/bocha"  # was https://api.bochaai.com

reply = requests.post(
    f"{BASE}/v1/web-search",
    headers={"Authorization": f"Bearer {SPECSTREAM_KEY}"},
    json={"query": "Who founded Mistral AI and when?", "count": 10, "summary": True},
    timeout=30,
)
reply.raise_for_status()
for page in reply.json()["data"]["webPages"]["value"]:
    print(page["name"], page["url"], page["siteName"], page["datePublished"])

3. Read 402 as an empty balance and 429 as a call to send again after Retry-After; neither is charged.

4. When your product needs every match in place of a results page, write the request in plain words with Deep Search. It quotes the most the run can cost and delivers the rows after you approve.

Frequently asked questions

Something we didn't answer? Talk to a human

How much does the Bocha Web Search API cost?
Bocha gives 1,000 free calls in its console, and a CSDN post of September 11, 2025 prices its resource packs at 3.6 yuan per 1,000 calls. SpecStream answers the same call for $1 per 1,000 in USD, with $10 of free credit.
What is the best Bocha Web Search API alternative?
SpecStream, at $1 per 1,000 searches. It answers Bocha's POST /v1/web-search in Bocha's JSON, so the code stays, and its Search API scores a 97.9 F-score on all 1,000 SimpleQA Verified questions.
Is there a Bocha compatible API?
Yes. SpecStream answers POST https://api.specstream.ai/bocha/v1/web-search in Bocha's JSON, checked on production on November 10, 2026. The Bocha route guide lists every parameter and field.
What is the Bocha Web Search API endpoint?
POST https://api.bochaai.com/v1/web-search, with the key as a Bearer token. count takes 1 to 50 results, default 10, and freshness takes noLimit, oneYear, oneMonth, oneWeek, oneDay or a date range.
Does SpecStream search in Chinese?
Yes. A query written in Chinese is searched in Chinese, on the engines that answer Chinese best, at the same $1 per 1,000 through the Bocha route.
Can my searches stay off engines run from China?
Yes. Create the key with "engine_rule": {"deny": ["CN"]} and no search made with it reaches an engine run from China. GET /v1/search-engines lists each engine with its country.
Does SpecStream have an API?
Yes, three. The Search API is GET /v1/web-search at $5 per 1,000 searches of up to 10 results, or $1 with speed=fast and on the Bocha route. The Extract API is POST /v1/extract at $0.80 per 1,000 pages. Deep Search returns structured rows.

Sources

SpecStream wrote this page. Each Bocha fact comes from Bocha's open platform and its own MCP server source, the pack price from a CSDN post, and each other provider's figure from that company's own page, read on November 12, 2026.

  1. Bocha open platformopen.bochaai.com/, read Nov 12, 2026
  2. Bocha console overviewopen.bochaai.com/overview, read Nov 12, 2026
  3. Bocha MCP server sourceraw.githubusercontent.com/BochaAI/bocha-search-mcp/master/src/bocha_search_mcp/server.py, read Nov 12, 2026
  4. CSDN on Bocha resource packs (Sep 11, 2025)adg.csdn.net/696f3d05437a6b403369bd4b.html, read Nov 12, 2026
  5. SpecStream pass table, Bocha routespecstream.ai/specstream/dialects/bocha.md, read Nov 12, 2026
  6. Z.ai pricingdocs.z.ai/guides/overview/pricing, read Nov 12, 2026
  7. bigmodel.cn web searchdocs.bigmodel.cn/cn/guide/tools/web-search, read Nov 12, 2026
  8. Exa pricingexa.ai/docs/admin/pricing.md, read Nov 12, 2026
  9. Tavily API creditsdocs.tavily.com/documentation/api-credits.md, read Nov 12, 2026
  10. Brave Search APIbrave.com/search/api/, read Nov 12, 2026
  11. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 12, 2026
  12. SpecStream pricingspecstream.ai/pricing, read Nov 12, 2026
  13. SpecStream for agentsspecstream.ai/agents.md, read Nov 12, 2026