Providers
Complete provider reference for Web Search in BoxLang AI
BoxLang AI supports multiple web search providers behind a single interface. All providers normalize output to the same 8-field result format.
Result Format
Every provider returns this structure:
{
title: "Result Title",
url: "https://example.com/page",
snippet: "Result summary text",
publishedDate: "2026-05-14",
domain: "example.com",
score: 0.92,
thumbnail: "https://example.com/image.jpg",
language: "en"
}Provider Comparison
http
No
URL fetching and local testing
No search index, fetches/parses target URL
brave
BRAVE_API_KEY
Privacy-focused web search
Free tier available
google
GOOGLE_API_KEY + GOOGLE_SEARCH_ENGINE_ID
Broad web coverage
Requires Custom Search setup
tavily
TAVILY_API_KEY
AI-focused retrieval
Good for agent workflows
exa
EXA_API_KEY
Neural and semantic search
Supports keyword, neural, magic
HTTP Provider (http)
Use the HTTP provider when you want to fetch and parse a specific URL without external search APIs.
Options
maxResults
numeric
5
Maximum results returned
timeout
numeric
30
HTTP timeout in seconds
logRequest
boolean
false
Log request details
logResponse
boolean
false
Log response details
Brave Provider (brave)
Authentication
Options
country
string
"us"
Country filter
language
string
"en"
Language filter
safeSearch
string
"moderate"
Safe search mode
maxResults
numeric
5
Maximum results
timeout
numeric
30
Request timeout
Google Provider (google)
Authentication
Options
gl
string
"us"
Country target
hl
string
"en"
Interface language
safe
string
"off"
Safe search filter
maxResults
numeric
5
Maximum results
timeout
numeric
30
Request timeout
Tavily Provider (tavily)
Authentication
Options
topic
string
"general"
Search topic mode
includeAnswer
boolean
false
Include provider summary answer
includeRawContent
boolean
false
Include raw content from source
days
numeric
0
Recency filter in days
maxResults
numeric
5
Maximum results
timeout
numeric
30
Request timeout
Exa Provider (exa)
Authentication
Options
type
string
"magic"
Search type: keyword, neural, magic
country
string
"us"
Country filter
language
string
"en"
Language filter
maxResults
numeric
5
Maximum results
timeout
numeric
30
Request timeout
Provider Selection Strategy
Start with
httpfor local testing and deterministic URL ingestion.Use
braveorgooglefor broad web search.Use
tavilywhen agents need retrieval-focused answers.Use
exafor semantic discovery and neural relevance.
Related
Last updated