Bocha API
Web search. 2 documented operations.
API capabilities
1 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
AI Search APIWeb searchPOST /v1/ai-search
- Inputs
- query, Content-Type header "application/json"; freshness, count, answer, stream
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
page titleURLsnippetsummarysite namesite iconpage dateresult IDimage URLimage host page URLimage widthimage heighttotal resultsoriginal querysearch URLmodal cardLLM answerfollow-up questions
Web Search APIWeb searchPOST /v1/web-search
- Inputs
- query, Content-Type header "application/json"; freshness, summary, count
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
page titleURLsnippetsummarysite namesite iconpage dateresult IDimage URLimage host page URLimage widthimage heighttotal resultsoriginal querysearch URL
Plans & pricing references
Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.
| Plan | Billing | Listed fee | Coverage |
|---|---|---|---|
| Free trial | free | CN¥0.00 | Web search |
| Package 1 | one-time | CN¥320.00 | Web search |
| Package 1 | one-time | CN¥600.00 | Web search |
| Package 2 | one-time | CN¥3,000.00 | Web search |
| Package 2 | one-time | CN¥6,000.00 | Web search |
| Package 3 | one-time | CN¥28,000.00 | Web search |
| Package 3 | one-time | CN¥60,000.00 | Web search |
| Package 4 | one-time | CN¥250,000.00 | Web search |
| Pay as you go | one-time | See pricing | Web search |
| Standard pack | one-time | CN¥36.00 | Web search |
| Standard pack | one-time | CN¥60.00 | Web search |
| Trial pack | one-time | CN¥3.60 | Web search |
Matching plan fees are grouped across operations. Included credits, metered rates and allowances can differ by operation; consult the official pricing reference.
Coding agent prompt
Prepare the adapter with the provider's documentation and your own account.
Build a server-side integration for Bocha.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://bocha-ai.feishu.cn/wiki/HmtOw1z6vik14Fkdu5uc9VaInBb
https://bocha-ai.feishu.cn/wiki/RXEOw02rFiwzGSkd9mUcqoeAnNK
Catalog operations to verify against the current documentation:
- AI Search API: POST /v1/ai-search; inputs: query, Content-Type header "application/json"; freshness, count, answer, stream
- Web Search API: POST /v1/web-search; inputs: query, Content-Type header "application/json"; freshness, summary, count
Read credentials from a server-only environment variable such as PROVIDER_BOCHA_API_KEY; confirm the actual authentication scheme in the provider docs. Never expose credentials in browser code, URLs or logs.
Add bounded timeouts, explicit 401/403/429 handling, input validation and fixture-based tests. Preserve missing values and provider identifiers. Do not run paid or personal-data queries without approval. This is the provider's interface, not an All Them APIs execution endpoint.
If an endpoint, field, account permission or rate limit cannot be confirmed, list the missing requirement instead of inventing a working request. Return the adapter, tests and exact verification steps.Sources & integration checks
- Public source check
- Source check needs review · Nov 25, 2026
- Catalog source date
- Nov 3, 2026
- Authentication reference
- See each operation and confirm the provider's current access requirements.
- Before using in production
- Verify coverage, accepted-result billing, rate limits, data freshness and permitted use for your workload.
Catalog data: Datacircle, CC BY 4.0. Provider sources and check dates are recorded separately. Catalog prices and operations are references, not an Agent Bench result.