Skip to main content
POST
/
v3
/
beta
/
tools
/
web
/
search
Web search
curl --request POST \
  --url https://api.opper.ai/v3/beta/tools/web/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "results": [
    {
      "snippet": "<string>",
      "title": "<string>",
      "url": "<string>",
      "published_at": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Body

application/json
query
string
required
max_results
integer

Response

Successful response

results
object[]
required