Web search

POST/api/paas/v4/web_search

Published by Z.aiPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "zai",
"path": "/api/paas/v4/web_search",
"method": "POST",
"body": {
"search_engine": "",
"search_query": "",
"count":
}
}'
{
"success": true,
"data": {
"id": "20261121070515049681da12fc423a",
"created": 1795215916,
"request_id": "20261121070515049681da12fc423a",
"search_intent": [ 1 item ],
"search_result": [ 1 item ]
}
}
A real response, recorded when Orthogonal checked this endpoint.

$0.0109per call

Every call costs the same.

You aren't charged for failed calls. A wallet payment for a failed call is refunded.

About this endpoint

The [Web Search](/guides/tools/web-search) is a specialized search engine for large language models. Building upon traditional search engine capabilities like web crawling and ranking, it enhances intent recognition to return results better suited for LLM processing (including webpage titles, URLs, summaries, site names, favicons etc.).

Body parameters

Response types

More from Z.ai

  1. Web page readerPOST/api/paas/v4/reader$0.0109 per callFixed
  2. Agent taskPOST/api/v1/agentsFrom $0.763 per 1M tokens · varies by agentResponse-based · up to $1.09
  3. Chat completionPOST/api/paas/v4/chat/completionsFrom $0.0327 per 1M tokens · varies by modelResponse-based · up to $2.228749
  4. Async image generationPOST/api/paas/v4/async/images/generations$0.01635 per callFixed
  5. Image/video job resultGET/api/paas/v4/async-result/{id}Free
  6. Token countPOST/api/paas/v4/tokenizer$0.000109 per callFixed
  7. Video generationPOST/api/paas/v4/videos/generations$0.218 per callFixed
  8. Agent job resultPOST/api/v1/agents/async-resultFree
  9. Speech to textPOST/api/paas/v4/audio/transcriptions$0.001308 per callFixed
  10. Document OCR parsingPOST/api/paas/v4/layout_parsing$0.0327 per 1M tokensResponse-based · up to $0.00981
  11. Slides conversation exportPOST/api/v1/agents/conversationFree
  12. Image generationPOST/api/paas/v4/images/generations$0.01635 per callFixed
All 14 Z.ai endpoints

Similar endpoints

  1. Search1API · Web searchPOST/searchUp to $0.00109 per callResponse-based
  2. Massive Web · Search ResultsGET/search$0.0125 per callFixed