Web 搜索
Search the web and return results directly. Returns structured search results including titles, URLs, content snippets, and dates.
Search providers:
brave(default) — Brave Search with Zero Data Retention (ZDR). Search queries are never stored or logged by the search provider.google— Google Search with anonymized queries. Searches are proxied through Venice’s infrastructure so that your identity is not associated with the search request sent to Google. Venice does not store or log search queries.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
query 字段中发送搜索查询。该 API 返回包含标题、URL、内容摘要和日期的结构化结果。
搜索提供商:
brave(默认)—— 具备零数据保留(ZDR)的 Brave Search。搜索查询永远不会被搜索提供商存储或记录。google—— 使用匿名化查询的 Google 搜索。搜索通过 Venice 的基础设施代理,因此您的身份不会与发送给 Google 的搜索请求关联。Venice 不存储或记录搜索查询。
示例(cURL)
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
The search query
1 - 400"latest news about AI"
Maximum number of results to return (default: 10, max: 20)
1 <= x <= 2010
Search provider to use. "brave" uses Brave Search with Zero Data Retention (ZDR) for maximum privacy — search queries are never stored or logged. "google" uses Google Search with anonymized queries — searches are proxied through Venice's infrastructure so that your identity is not associated with the search request sent to Google. Venice does not store or log search queries. Defaults to "brave".
google, brave "brave"