Search the web

post/search

Request

  • Base URL: https://www.ninjachat.ai/api/v1
  • URL: https://www.ninjachat.ai/api/v1/search
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Safely retry the same logical write without duplicate billing or execution.

Request body

querystring required
group'web' | 'news'
max_resultsinteger
search_depth'basic' | 'advanced'
topic'general' | 'news' | 'finance'
include_answerboolean
include_imagesboolean

Response

Search results and optional answer.

balancestring
object'search.results' required
querystring required
answerstring nullable required
follow_up_questionsstring[] required
providerstring required
cost_usdnumber required
request_idstring required

Changes

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