Z.ai API
Z.ai API
Tool
zai_web_search
The 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.).
Pricing
Per call
$0.02
Model
flat
Pay only for what you use. No subscriptions.
Inputs
user_id
stringcount
integersearch_domain_filter
stringsearch_recency_filter
stringsearch_query *
stringrequest_id
stringsearch_engine *
stringTry It
API
MCP Config
Input Parameters
Unique ID of the end user, helping the platform intervene in illegal activities, inappropriate content generation, or other abuses. ID length: 6 to 128 characters.
The number of results to return Fillable range: `1-50`, maximum `50` results per single search Default is `10` Supported search engines: `search_pro_jina`. Required range: `1 <= x <= 50`
Used to limit the scope of search results and only return content from specified whitelist domains. Whitelist: Directly enter the domain name (e.g., `www.example.com`) Supported search engines: `search_pro_jina`
Search for webpages within a specified time range. Default is `noLimit` Fillable values: `oneDay`: within one day `oneWeek`: within one week `oneMonth`: within one month `oneYear`: within one year `noLimit`: no limit (default) Supported search engines: `search_pro_jina`
The content to be searched.
User-provided unique identifier for distinguishing requests. If not provided, the platform will generate one.
The search engine code to call. search-prime: Z.AI Premium Version Search Engine

