Tools

Web Search Pro

Web Search Basic with site and time-range constraints, plus structured content chunks (chunks) for each result. You are charged once per successful call that returns at least one result; failed or empty-result calls are free. See WebSearch Pricing.

post/v1/tools/search_pro

Request

  • Base URL: https://api.moonshot.ai
  • URL: https://api.moonshot.ai/v1/tools/search_pro
  • Auth: HTTP bearer

Request body

text_querystring required

Search query text. Must not be empty.

timeout_secondsinteger

Search timeout in seconds, from 1 to 60. If omitted, no per-request timeout is applied.

limitinteger

Maximum number of results to return, from 1 to 20. Defaults to 5.

sitesstring[]

Restrict results to the given sites. Multiple sites are OR'd, up to 5 entries; each entry must be non-empty and must not contain whitespace or parentheses.

Response

Search results with content snippets

Changes

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