Piloterr

Brave Search

GET
/v2/brave/search

Access the Brave search engine results directly through our efficient Piloterr service for reliable data scraping.

Credit cost: 1 credit per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

The search query to execute on Brave Search. Supports all standard Brave search operators.

Examples:

  • anthropic: standard keyword search
  • site:github.com scraper: restrict results to a specific domain
  • intitle:"anthropic": match the page title
  • inurl:blog python: match part of the URL

Example:

anthropic
page?number

Page number of results to retrieve. Used for pagination.

  • 1: First page (default)
  • 2: Second page
  • 3: Third page, etc.
Default"1"
gl?string

Country code, for example us, fr, gb, de.

Default"us"
hl?string

Language code, for example en, fr, de.

Default"en"

Response Body

Successful response

application/json
  1. response
organic_results?array<>
search_parameters?
Example Request
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"  }}