100 free credits. No credit card required. Get a key

Web search API

Web and news results for a query, with title, URL and snippet, domain filters, region and time range, and optionally the top pages read into Markdown, from our own search fetchers.

GET /v1/web/searchBeta2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/web/search?query=vector%20database&sources=web,news",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"query": "vector database",
"web": [
{
"position": 1,
"title": "What is a Vector Database? - GeeksforGeeks",
"url": "https://www.geeksforgeeks.org/data-science/what-is-a-vector-database/",
"snippet": "A vector database is a specialized type of database designed to store, index and search high dimensional vector represen…"
},
{
"position": 2,
"title": "Vector database - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Vector_database",
"snippet": "A vector database, vector store or vector search engine is a database that stores and retrieves embeddings of data in ve…"
},
"… 8 more"
],
"news": [
{
"position": 1,
"title": "VCs are obsessed with vector databases. Here are seven AI startups in the space that have raised millions from investors…",
"url": "https://www.businessinsider.com/seven-vector-database-startups-poised-to-win-ai-revolution-2024-4",
"snippet": "Vector databases don't get as much love as their flashier counterparts, large language models (LLMs). But the startups b…",
"source": "Business Insider",
"published_at": "2024-04-19T10:00:00.000Z"
},
{
"position": 2,
"title": "Vector Database Market $ 8,945.7 million by 2030 | MarketsandMarkets™",
"url": "https://www.prnewswire.com/news-releases/vector-database-market--8-945-7-million-by-2030--marketsandmarkets-302632640.ht…",
"snippet": "This expansion is fueled by the rapid adoption of AI, LLMs, and multimodal applications that require high-performance ve…",
"source": "irblog.prnewswire.com",
"published_at": "2025-12-04T15:01:00.000Z"
},
"… 8 more"
]
}

Parameters

NameTypeDescription
queryquery · requiredstringExample: open source vector database.
sourcesquerystringComma-separated: web, news (default web).
categoriesquerystringAccepted for compatibility.
limitqueryinteger
countryquerystring
locationquerystringAccepted for compatibility; use country.
time_rangequery"any" | "day" | "week" | "month" | "year"One of any, day, week, month, year.
sort_by_datequery"true" | "false"One of true, false.
include_domainsquerystring
exclude_domainsquerystring
include_contentquery"true" | "false"One of true, false.
Status codes
StatusMeaning
200Web and news results.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404That host does not resolve or the page does not exist.
429Too many requests. Wait for Retry-After seconds.
503Web is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Which index?

DuckDuckGo’s, read by our own fetcher; for Bing results use the Bing endpoints.

Web is a trademark of its owner. We are not affiliated with or endorsed by it.