Brave Search
GET
Access the Brave search engine results directly through our efficient Piloterr service for reliable data scraping.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringThe search query to execute on Brave Search. Supports all standard Brave search operators.
Examples:
anthropic: standard keyword searchsite:github.com scraper: restrict results to a specific domainintitle:"anthropic": match the page titleinurl:blog python: match part of the URL
Example:
anthropicpage?numberPage number of results to retrieve. Used for pagination.
1: First page (default)2: Second page3: Third page, etc.
Default
"1"gl?stringCountry code, for example us, fr, gb, de.
Default
"us"hl?stringLanguage code, for example en, fr, de.
Default
"en"Successful response
application/json- response
organic_results?array<>search_parameters?curl -X GET 'https://api.piloterr.com/v2/brave/search?query=string'Example Response
{ "organic_results": [ { "link": "https://www.anthropic.com/", "title": "Anthropic", "domain": "www.anthropic.com", "snippet": "Anthropic is an AI safety company. Claude is its assistant.", "position": 1, "displayed_link": "anthropic.com", "snippet_matched": [ "anthropic" ] }, { "link": "https://docs.anthropic.com/", "title": "Anthropic documentation", "domain": "docs.anthropic.com", "snippet": "Documentation for the Claude API and the Anthropic platform.", "position": 2, "displayed_link": "docs.anthropic.com", "snippet_matched": [] } ], "search_parameters": { "q": "anthropic", "gl": "us", "hl": "en", "page": 1, "engine": "brave" }}