Skip to main content
GET
Search API
The search endpoint returns formatted results from external search providers like Google, Bing, and DuckDuckGo.

Query Parameters

string
required
The search query string
number
default:"5"
Number of results to return (1-10)
string
default:"google"
Search provider to use (google, bing, duckduckgo)
boolean
default:"false"
Generate an AI summary of the search results
string
ISO language code (e.g., ‘en’, ‘fr’)
string
Country code (e.g., ‘us’, ‘gb’)
string
Search topic category (general, news, images, videos, finance)
boolean
default:"false"
Whether to enhance DuckDuckGo results with Selenium (only applies to DuckDuckGo provider)
string
Start date for published content (YYYY-MM-DD)
string
End date for published content (YYYY-MM-DD)
string[]
Domains to include in search results
string[]
Domains to exclude from search results

Response

string
The search query that was processed
SearchResult[]
List of search results
string
Optional LLM-generated summary of results (only if summarize=true)
number
Number of results returned

TypeScript Example