Search

Web Search

Real-time web search powered by Google. Returns ranked results with titles, URLs, and snippets. Set includeContent to also fetch the top result pages as markdown in the same call. Price: $0.015, plus $0.0015 per result page fetched with includeContent.

post/search

Request

  • Base URL: https://api.weblens.dev
  • URL: https://api.weblens.dev/search
  • Auth: API key in header Payment-Signature

Request body

querystring required

Search query

limitnumber

Maximum results to return

includeContentboolean

Also fetch the top result pages as markdown (+$0.0015 per fetched result)

contentResultsnumber

How many top results to fetch content for (when includeContent)

contentCharsnumber

Per-page content character cap

Example request

{
  "query": "x402 payment protocol",
  "limit": 10
}

Response

Ranked web results; set includeContent to get page markdown too.

querystring

Original search query

resultsobject[]

Search results with title, url, snippet; with includeContent also content and contentTruncated

searchedAtstring

ISO timestamp

requestIdstring

Changes

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