Skip to main content
POST
/
augment
/
search
/api/v1/augment/search
curl --request POST \
  --url https://api.venice.ai/api/v1/augment/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "latest news about AI",
  "limit": 10,
  "search_provider": "brave"
}
'
{
  "query": "<string>",
  "results": [
    {
      "title": "<string>",
      "url": "<string>",
      "content": "<string>",
      "date": "<string>"
    }
  ]
}
Send a search query in the query field. The API returns structured results including titles, URLs, content snippets, and dates. Search providers:
  • brave (default) — Brave Search with Zero Data Retention (ZDR). Search queries are never stored or logged by the search provider.
  • google — Google Search with anonymized queries. Searches are proxied and stripped of identifying information before being sent to Google.
Pricing: $0.01 per request.

Example (cURL)

curl -X POST https://api.venice.ai/api/v1/augment/search \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "latest news about AI"}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required

The search query

Required string length: 1 - 400
Example:

"latest news about AI"

limit
integer
default:10

Maximum number of results to return (default: 10, max: 20)

Required range: 1 <= x <= 20
Example:

10

search_provider
enum<string>

Search provider to use. "brave" uses Brave Search with Zero Data Retention (ZDR) for maximum privacy — search queries are never stored or logged. "google" uses Google Search with anonymized queries — searches are proxied and stripped of identifying information before being sent to Google. Defaults to "brave".

Available options:
google,
brave
Example:

"brave"

Response

Successfully executed search

query
string
required

The search query that was executed

results
object[]
required

The search results