Web

Run a web search

Routes the query through the configured web search provider. Optional site filter, time_range (day/week/month/year), and safe_search controls. Returns ranked results with title, URL, and snippet.

post/v1/web/search

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/web/search
  • Auth: HTTP bearer

Request body

querystring required
limitinteger

Max results to return. Default 10.

sitestring

Restrict to a domain (e.g. news.ycombinator.com).

time_range'day' | 'week' | 'month' | 'year'
safe_searchstring

Response

Search results

querystring
providerstring

Provider that served the request.

Changes

No recorded changes to this operation across all 1 revision of this API.