Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

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.

ราคา
$0.005USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 12 ไม่บังคับ

Playground

อินพุต
The search query string.
1100
Maximum number of results to return. ช่วง: 1 ถึง 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. ช่วง: 1 ถึง 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.
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 2.4 KB · 32 บรรทัด
{
  "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

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Cloudsway$0.005 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Cloudsway Web Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/cloudsway/search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Cloudsway Web Search API ราคาเท่าไร?

$0.005 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Cloudsway Web Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: 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 ในหน้านี้แสดงทุกฟิลด์

Cloudsway Web Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Cloudsway ไหม?

ไม่จำเป็น Cloudsway Web Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Cloudsway API แยกต่างหาก