Brave Search
Access the Brave search engine results directly through our efficient Piloterr service for reliable data scraping.
Credit cost: 1 credit per call
ApiKeyAuthx-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.
"1"gl?stringCountry code, for example us, fr, gb, de.
"us"hl?stringLanguage code, for example en, fr, de.
"en"fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
organic_results?array<>search_parameters?curl -X GET 'https://api.piloterr.com/v2/brave/search?query=string'{ "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" }}