Web search
curl --request POST \
--url https://api.opper.ai/v3/tools/web/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://api.opper.ai/v3/tools/web/search"
payload = { "query": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>'})
};
fetch('https://api.opper.ai/v3/tools/web/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"snippet": "<string>",
"title": "<string>",
"url": "<string>",
"published_at": "<string>",
"score": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}Tools
Web search
Search the web and return results with title, URL, and snippet.
POST
/
v3
/
tools
/
web
/
search
Web search
curl --request POST \
--url https://api.opper.ai/v3/tools/web/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://api.opper.ai/v3/tools/web/search"
payload = { "query": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>'})
};
fetch('https://api.opper.ai/v3/tools/web/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"snippet": "<string>",
"title": "<string>",
"url": "<string>",
"published_at": "<string>",
"score": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}This endpoint is in beta. Its request and response shapes may change without the usual deprecation window.
Authorizations
Body
application/json
Search backend. auto (default) routes to Opper's default engine (Jina today). jina / exa / exa-lite / linkup / searchbase pin a specific backend (when configured server-side). exa-lite is Exa's cheaper search type on the same index.
Available options:
auto, jina, exa, exa-lite, linkup, searchbase Last modified on April 20, 2026