Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

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.

Prix
$0.005USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 12 facultatifs

Bac à sable

Entrée
The search query string.
1100
Maximum number of results to return. Plage : de 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. Plage : de 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.
SortieExemple
Réponseoutputs · 2.4 KB · 32 lignes
{
  "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"
  ]
}

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Cloudsway$0.005 par appelJSON

Questions

FAQ

Comment utiliser l’API Cloudsway Web Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/cloudsway/search avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Cloudsway Web Search ?

$0.005 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Cloudsway Web Search accepte-t-elle ?

Obligatoire : query (string). Facultatif : max_results (integer), search_depth (l’un de basic, advanced), topic (l’un de general, news, academic, company, people, finance), include_highlights (boolean), include_text (boolean) et include_summary (boolean) et 6 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Cloudsway Web Search ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Cloudsway ?

Non. Cloudsway Web Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Cloudsway séparément.