{"slug":"search-agent-s-brave-app-res-v1-llm-context-c980a7","title":"Web search that returns page text ready for an LLM prompt","host":"search.agent.s.brave.app","method":"GET","resource":"https://search.agent.s.brave.app/res/v1/llm/context","category":"search","description":"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.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":431,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"maximum_number_of_tokens":2048,"q":"brave browser"},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-09-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":431,"error":null}],"description_full":"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.","last_updated":"2026-09-30T16:10:33.956Z","schemes":["exact"]}