Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

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.

Cena
$0.005USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 12 opcjonalnych

Playground

Wejście
The search query string.
1100
Maximum number of results to return. Zakres: od 1 do 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. Zakres: od 1 do 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.
WyjściePrzykład
Odpowiedźoutputs · 2.4 KB · 32 wierszy
{
  "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"
  ]
}

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Cloudsway$0.005 za wywołanieJSON

Pytania

FAQ

Jak używać API Cloudsway Web Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/cloudsway/search z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Cloudsway Web Search?

$0.005 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Cloudsway Web Search?

Wymagane: query (string). Opcjonalne: max_results (integer), search_depth (jedna z opcji: basic, advanced), topic (jedna z opcji: general, news, academic, company, people, finance), include_highlights (boolean), include_text (boolean) i include_summary (boolean) i jeszcze 6. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Cloudsway Web Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Cloudsway lub klucza API?

Nie. Cloudsway Web Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Cloudsway.