Web search that returns page text ready for an LLM prompt
Web search that returns page text ready for an LLM prompt. Picks the passages most relevant to q from the top results and groups them by source URL. Use it to ground an answer in current web content without fetching pages. Size the context with maximum_number_of_tokens and maximum_number_of_urls.
Answeringour last check, 2026-09-30
1 of 1checks answered this week
431 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://search.agent.s.brave.app/res/v1/llm/context
| Category | Search and research |
|---|---|
| Provider host | search.agent.s.brave.app |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-30 | valid payment request | 402 | $0.005 | 431 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"maximum_number_of_tokens": 2048,
"q": "brave browser"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"count": {
"default": 20,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"country": {
"description": "Country code such as US, or ALL",
"type": "string"
},
"freshness": {
"description": "pd, pw, pm, py, or a range like 2026-01-01to2026-06-30",
"type": "string"
},
"maximum_number_of_tokens": {
"default": 8192,
"maximum": 32768,
"minimum": 1024,
"type": "integer"
},
"maximum_number_of_urls": {
"default": 20,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"q": {
"description": "Search query",
"maxLength": 600,
"type": "string"
},
"search_lang": {
"description": "Language code such as en",
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"grounding": {
"properties": {
"generic": {
"items": {
"properties": {
"snippets": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"sources": {
"properties": {
"https://brave.com/": {
"properties": {
"hostname": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}