Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Cloudsway Web Search

https://api.sandbase.ai/v1/api/cloudsway/search

Web 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.

Giá
$0.005USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 12 tùy chọn

Phòng thử nghiệm

Đầu vào
The search query string.
1100
Maximum number of results to return. Phạm vi: 1 đến 100.
basic: fast, low-latency search (~1s). advanced: multi-step reasoning with higher quality results (4-40s), costs more.
Content category to focus on.
Return key excerpts relevant to the query.
Return full page text content for each result.
Return a short summary of each result.
Maximum characters for text content per result. Phạm vi: 1 đến 10000.
Only return results from these domains.
Exclude results from these domains.
Only return results published after this date. Format: YYYY-MM-DD.
Only return results published before this date. Format: YYYY-MM-DD.
Two-letter ISO country code for localized results.
Đầu raVí dụ
Phản hồioutputs · 2.4 KB · 32 dòng
{
  "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"
  ]
}

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Cloudsway Web Search API

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.

Use cases

  • Ground an LLM answer with web sources for a question such as a product's documentation.
  • Search news, company, people, finance or academic pages by setting topic.
  • Limit results to trusted sites with include_domains, or drop noisy sites with exclude_domains.
  • Collect page text for a RAG index by setting include_text and max_characters.

Request

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].

Parameters

NameTypeRequiredDescription
querystringYesThe search query string.
countrystringNoTwo-letter ISO country code for localized results.
end_datestringNoOnly return results published before this date. Format: YYYY-MM-DD.
exclude_domainsarrayNoExclude results from these domains.
include_domainsarrayNoOnly return results from these domains.
include_highlightsbooleanNoReturn key excerpts relevant to the query.
include_summarybooleanNoReturn a short summary of each result.
include_textbooleanNoReturn full page text content for each result.
max_charactersintegerNoMaximum characters for text content per result.
max_resultsintegerNoMaximum number of results to return.
search_depthstringNobasic: fast, low-latency search (~1s). advanced: multi-step reasoning with higher quality results (4-40s), costs more.
start_datestringNoOnly return results published after this date. Format: YYYY-MM-DD.
topicstringNoContent category to focus on.

Example response

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…"
    }
  ]
}

Response fields

FieldMeaning
entities[]One search result. The list is ordered by the search ranking and holds up to max_results items.
entities[].titleTitle of the result page.
entities[].urlLink to the result page. Most results hold a full https:// URL, but some hold a relative /goto?url=... link.
entities[].contentShort excerpt of the page that relates to the query.
entities[].textLonger page text. It does not appear on every result.
entities[].scoreRelevance score as a decimal number. Use it to compare results within one response.
entities[].published_datePublish time in ISO format such as 2026-03-24T00:11:38.0000000. It is an empty string when the page has no date.
entities[].faviconURL of the site icon. It is an empty string when none is available.

Notes

  • Set 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.

Pricing

$0.005 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Cloudsway$0.005 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Cloudsway Web Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/cloudsway/search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Cloudsway Web Search có giá bao nhiêu?

$0.005 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Cloudsway Web Search chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: max_results (integer), search_depth (một trong số basic, advanced), topic (một trong số general, news, academic, company, people, finance), include_highlights (boolean), include_text (boolean) và include_summary (boolean) và 6 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Cloudsway Web Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Cloudsway không?

Không. Cloudsway Web Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Cloudsway.