querystring必填
The search query string.
https://api.sandbase.ai/v1/api/cloudsway/searchWeb search API for AI agents with topic focus (news, academic, company, finance and more), country, date range and domain filters, plus optional full text, summaries and highlights.
{
"entities": [
{
"content": "12 Feb 2026 — Groq has told investors that it is projecting $500M in revenue for the year 2025,. $17 billion in cash payments across three installments by ...",
"favicon": "https://sacra.com/static/img/favicon.ico",
"published_date": "2026-08-05T04:10:25.0000000",
"score": 0.5706919,
"text": "Groq revenue, valuation & funding | Sacra Sacra Logo Features Customers Docs Pricing Unlock Full Access Sign In Your Feed Workspace Charts Highlights Questions Explore Companies Categories Reports About Features Customers Docs Pricing Community New Chat Your Feed Workspace Charts Highlights Questions Explore Companies Categories Reports Community Ask a question Get access to all our reports for $50/mo Read about the latest in the private markets and join a growing community. Valuation Model Expert Interviews Founders, funding Get Access Home > Companies > Groq Groq Follow AI inference chip and…",
"title": "Groq revenue, valuation & funding - Sacra",
"url": "https://sacra.com/c/groq/"
},
{
"content": "17 Sept 2025 — The company previously raised $640 million at a $2.8 billion valuation in August 2024. This latest funding has more than doubled the AI chip ...",
"favicon": "https://www.itiger.com/favicon.ico",
"published_date": "2026-07-27T00:00:00.0000000",
"score": 0.4849076,
"text": "17 Sept 2025 — The company previously raised $640 million at a $2.8 billion valuation in August 2024. This latest funding has more than doubled the AI chip ...",
"title": "LPU Inference Engine Gains Financial Backing! Groq ...",
"url": "https://www.itiger.com/news/1169807024"
},
{
"content": "30 Jul 2025 — AI chip company Groq is in talks to raise $600 million in a new funding round that would see the company valued at around $6 billion.",
"favicon": "https://www.datacenterdynamics.com/static/img/favicon-32x32.6fa9e0ecdb87.png",
"published_date": "2026-07-31T00:00:00.0000000",
"score": 0.4987998,
"text": "30 Jul 2025 — AI chip company Groq is in talks to raise $600 million in a new funding round that would see the company valued at around $6 billion.",
"title": "Groq in talks over fresh funding for $6bn valuation - report",
"url": "https://www.datacenterdynamics.com/en/news/groq-in-talks-over-fresh-funding-for-6bn-valuation-report/"
},
"… 2 more items in the full response"
]
}选择一个示例,将其输入和结果加载到 playground 中。
Runs a web search and returns a ranked list of results, each with a title, URL, text excerpt and relevance score. It needs a query string. Optional parameters set the topic, country, date range, domain filters and how much text each result carries.
topic.include_domains, or drop noisy sites with exclude_domains.include_text and max_characters.curl -X POST "https://api.sandbase.ai/v1/api/cloudsway/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "OpenAI Codex documentation", "max_results": 3}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query string. |
country | string | No | Two-letter ISO country code for localized results. |
end_date | string | No | Only return results published before this date. Format: YYYY-MM-DD. |
exclude_domains | array | No | Exclude results from these domains. |
include_domains | array | No | Only return results from these domains. |
include_highlights | boolean | No | Return key excerpts relevant to the query. |
include_summary | boolean | No | Return a short summary of each result. |
include_text | boolean | No | Return full page text content for each result. |
max_characters | integer | No | Maximum characters for text content per result. |
max_results | integer | No | Maximum number of results to return. |
search_depth | string | No | basic: fast, low-latency search (~1s). advanced: multi-step reasoning with higher quality results (4-40s), costs more. |
start_date | string | No | Only return results published after this date. Format: YYYY-MM-DD. |
topic | string | No | Content category to focus on. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"entities": [
{
"content": "This repository is an open mirror of publicly available OpenAI documentation, de…",
"favicon": "",
"published_date": "",
"score": 0.7974826,
"text": "This repository is an open mirror of publicly available OpenAI documentation, de…",
"title": "life-is-blue/openai-codex-docs-mirror",
"url": "/goto?url=CAEScwHrOzAVyqJlcWCR7wj-Uo8LUhYkbGGWgWFrXninn1jsth8bPewCNJ4g0-3WaY1ZOS…"
}
]
}
| Field | Meaning |
|---|---|
entities[] | One search result. The list is ordered by the search ranking and holds up to max_results items. |
entities[].title | Title of the result page. |
entities[].url | Link to the result page. Most results hold a full https:// URL, but some hold a relative /goto?url=... link. |
entities[].content | Short excerpt of the page that relates to the query. |
entities[].text | Longer page text. It does not appear on every result. |
entities[].score | Relevance score as a decimal number. Use it to compare results within one response. |
entities[].published_date | Publish time in ISO format such as 2026-03-24T00:11:38.0000000. It is an empty string when the page has no date. |
entities[].favicon | URL of the site icon. It is an empty string when none is available. |
max_results between 1 and 100. The default is 10.search_depth accepts basic or advanced. The advanced setting takes longer and costs more.start_date and end_date use the YYYY-MM-DD format.topic accepts general, news, academic, company, people or finance.$0.005 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/cloudsway/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "Groq LPU inference funding valuation revenue 2025 2026",
"topic": "company",
"max_results": 5,
"include_text": false,
"search_depth": "basic",
"max_characters": 3000,
"include_summary": false,
"include_highlights": true,
"end_date": "2026-08-06",
"start_date": "2024-01-01"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
querystring必填The search query string.
max_resultsintegerMaximum number of results to return.
默认值:10
search_depthstringbasic: fast, low-latency search (~1s). advanced: multi-step reasoning with higher quality results (4-40s), costs more.
默认值:"basic"
可选值:basic, advanced
topicstringContent category to focus on.
默认值:"general"
可选值:general, news, academic, company, people, finance
include_highlightsbooleanReturn key excerpts relevant to the query.
默认值:true
include_textbooleanReturn full page text content for each result.
默认值:false
include_summarybooleanReturn a short summary of each result.
默认值:false
max_charactersintegerMaximum characters for text content per result.
默认值:3000
include_domainsarrayOnly return results from these domains.
exclude_domainsarrayExclude results from these domains.
start_datestringOnly return results published after this date. Format: YYYY-MM-DD.
end_datestringOnly return results published before this date. Format: YYYY-MM-DD.
countrystringTwo-letter ISO country code for localized results.
可选值:US, GB, CN, JP, DE, FR, KR, IN, CA, AU, SG, BR, RU, IT, ES, NL, SE, CH, IL, AE
这是该 API 保存的示例响应;查看时不会发起实时请求。
{
"entities": [
{
"content": "12 Feb 2026 — Groq has told investors that it is projecting $500M in revenue for the year 2025,. $17 billion in cash payments across three installments by ...",
"favicon": "https://sacra.com/static/img/favicon.ico",
"published_date": "2026-08-05T04:10:25.0000000",
"score": 0.5706919,
"text": "Groq revenue, valuation & funding | Sacra Sacra Logo Features Customers Docs Pricing Unlock Full Access Sign In Your Feed Workspace Charts Highlights Questions Explore Companies Categories Reports About Features Customers Docs Pricing Community New Chat Your Feed Workspace Charts Highlights Questions Explore Companies Categories Reports Community Ask a question Get access to all our reports for $50/mo Read about the latest in the private markets and join a growing community. Valuation Model Expert Interviews Founders, funding Get Access Home > Companies > Groq Groq Follow AI inference chip and…",
"title": "Groq revenue, valuation & funding - Sacra",
"url": "https://sacra.com/c/groq/"
},
{
"content": "17 Sept 2025 — The company previously raised $640 million at a $2.8 billion valuation in August 2024. This latest funding has more than doubled the AI chip ...",
"favicon": "https://www.itiger.com/favicon.ico",
"published_date": "2026-07-27T00:00:00.0000000",
"score": 0.4849076,
"text": "17 Sept 2025 — The company previously raised $640 million at a $2.8 billion valuation in August 2024. This latest funding has more than doubled the AI chip ...",
"title": "LPU Inference Engine Gains Financial Backing! Groq ...",
"url": "https://www.itiger.com/news/1169807024"
},
{
"content": "30 Jul 2025 — AI chip company Groq is in talks to raise $600 million in a new funding round that would see the company valued at around $6 billion.",
"favicon": "https://www.datacenterdynamics.com/static/img/favicon-32x32.6fa9e0ecdb87.png",
"published_date": "2026-07-31T00:00:00.0000000",
"score": 0.4987998,
"text": "30 Jul 2025 — AI chip company Groq is in talks to raise $600 million in a new funding round that would see the company valued at around $6 billion.",
"title": "Groq in talks over fresh funding for $6bn valuation - report",
"url": "https://www.datacenterdynamics.com/en/news/groq-in-talks-over-fresh-funding-for-6bn-valuation-report/"
},
"… 2 more items in the full response"
]
}探索更多
| API | 价格 | 响应 |
|---|---|---|
Cloudsway Web Search此 API Cloudsway | $0.005 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/cloudsway/search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.005,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:query (string)。 可选:max_results (integer), search_depth(basic, advanced 之一), topic(general, news, academic, company, people, finance 之一), include_highlights (boolean), include_text (boolean) 和 include_summary (boolean) 以及另外 6 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Cloudsway Web Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Cloudsway API 访问权限。