curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "brave-search",
"path": "/llm/context",
"method": "GET",
"query": {
"q": ""
}
}'
$0.006per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 554 ms median · 30 days
About this endpoint
Web search for AI agents: returns pre-extracted, relevance-ranked page chunks (text, tables, code) plus source metadata, sized to a token budget for LLM grounding and RAG.
Query parameters
qrequiredstringSearch query (1-600 chars, max 75 words)countrystring2-letter country code for results (default US)search_langstringLanguage code for results (default en)countintegerMax search results to consider (1-50, default 20)freshnessstringpd (24h), pw (7d), pm (31d), py (365d), or YYYY-MM-DDtoYYYY-MM-DDmaximum_number_of_urlsintegerMax URLs in response (1-50, default 20)maximum_number_of_tokensintegerApprox max tokens of context (1024-32768, default 8192)maximum_number_of_snippetsintegerMax snippets across all URLs (1-256)maximum_number_of_tokens_per_urlintegerMax tokens per URL (512-8192, default 4096)maximum_number_of_snippets_per_urlintegerMax snippets per URL (1-100)context_threshold_modestringstrict, balanced, lenient, or disabledsafesearchstringoff, moderate, or strict. Unset means no filtering (local recall stays strict)enable_localbooleanForce local/POI recallgogglesstringGoggle URL or inline definition for custom re-rankingenable_source_metadatabooleanAdd site_name, favicon, thumbnail, description to sourcesspellcheckbooleanSpellcheck the query before searching (default true)More from Brave Search
- Image SearchGET/images/search$0.006 per callFixed
- Local POI DescriptionsGET/local/descriptions$0.006 per callFixed
- Local POI DetailsGET/local/pois$0.006 per callFixed
- Place SearchGET/local/place_search$0.006 per callFixed
- LLM Context (POST)POST/llm/context$0.006 per callFixed
- News SearchGET/news/search$0.006 per callFixed
- Web SearchGET/web/search$0.006 per callFixed
- Video SearchGET/videos/search$0.006 per callFixed