Brave
Privacy-focused web search
With emma's Brave integration, you can perform privacy-focused web searches with country and time filters. Get results without tracking.
Features
Brave_Operator supports the following 1 tool:
| Category | Tools | |||||||
|---|---|---|---|---|---|---|---|---|
| Search | 1 | |||||||
| ||||||||
Main Parameters
| Parameter | Description |
|---|---|
| query | Search query |
| country | Country code for results |
| freshness | Time filter (pd: past day, pw: past week, etc.) |
| safesearch | Safe search level (off, moderate, strict) |
Prerequisites
- • emma account
- • Brave Search API account
- • Brave API key
Setup
1. Install the package
npm install @duzzle/brave-integration2. Initialize
import { DuzzleBrave } from '@duzzle/brave-integration';
const brave = new DuzzleBrave({
apiKey: process.env.DUZZLE_API_KEY,
braveApiKey: process.env.BRAVE_API_KEY
});3. Search
// Privacy-focused web search
const result = await brave.search({
query: 'best programming languages 2024',
country: 'us',
freshness: 'pw', // past week
safesearch: 'moderate'
});
console.log('Results:', result.web.results);