Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

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.

Preço
$0.005USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 12 opcionais

Playground

Entrada
The search query string.
1100
Maximum number of results to return. Intervalo: 1 a 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. Intervalo: 1 a 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.
SaídaExemplo
Respostaoutputs · 2.4 KB · 32 linhas
{
  "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"
  ]
}

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Cloudsway$0.005 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Cloudsway Web Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/cloudsway/search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Cloudsway Web Search?

$0.005 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Cloudsway Web Search aceita?

Obrigatórios: query (string). Opcionais: max_results (integer), search_depth (um de basic, advanced), topic (um de general, news, academic, company, people, finance), include_highlights (boolean), include_text (boolean) e include_summary (boolean) e mais 6. A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Cloudsway Web Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Cloudsway ou de uma chave de API?

Não. Cloudsway Web Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Cloudsway separadamente.