Brave Search
Brave Search: Search
Search from Brave Search. Costs 1 credit per successful call.
GET
https://api.perceptlayer.com
/
v1
/
brave
/
search
Search
curl --request GET \
--url https://api.perceptlayer.com/v1/brave/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.perceptlayer.com/v1/brave/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.perceptlayer.com/v1/brave/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.perceptlayer.com/v1/brave/search';
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.perceptlayer.com/v1/brave/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.perceptlayer.com/v1/brave/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.perceptlayer.com/v1/brave/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.get("https://api.perceptlayer.com/v1/brave/search")
.header("X-API-Key", "<api-key>")
.asString();{
"endpoint": "brave.search",
"params": {
"query": "best web scraping api"
},
"response": {
"search_information": {
"query_displayed": "best web scraping api"
},
"organic_results": [
{
"position": 1,
"title": "ScrapingBee – The Best Web Scraping API",
"link": "https://www.scrapingbee.com/",
"redirect_link": "https://www.scrapingbee.com/",
"displayed_link": "www.scrapingbee.com",
"snippet": "ScrapingBee is the best web scraping API that handles proxies and headless browsers for you — so you can focus on extracting the data you need.",
"source": "www.scrapingbee.com"
},
{
"position": 2,
"title": "5 Best Web Scraping APIs in 2026 (Fast, Scalable & Easy to Use)",
"link": "https://www.scrapingdog.com/blog/best-web-scraping-apis/",
"redirect_link": "https://www.scrapingdog.com/blog/best-web-scraping-apis/",
"displayed_link": "www.scrapingdog.com",
"snippet": "2 weeks ago - Other APIs: ScraperAPI slower (22–40s), ZenRows failed two sites, ScrapingAnt & ScrapingBee slower. Conclusion: Scrapingdog leads in speed, reliability, and cost. Extras: Python benchmark script included; clear docs and 24/7 s…",
"source": "www.scrapingdog.com"
},
{
"position": 3,
"title": "17 Best Web Scraping Tools Tested & Ranked For 2026 | ScrapingBee",
"link": "https://www.scrapingbee.com/blog/web-scraping-tools/",
"redirect_link": "https://www.scrapingbee.com/blog/web-scraping-tools/",
"displayed_link": "www.scrapingbee.com",
"snippet": "1 day ago - Overall, it's a dependable solution that I trust for long-term, production-level web scraping projects.\" ... AI scraping endpoint where you describe the data you want in plain English and let the system do the selector work · St…",
"source": "www.scrapingbee.com"
}
],
"related_searches": [
{
"query": "data scraping tools chrome extension",
"link": "https://search.brave.com/search?q=data%20scraping%20tools%20chrome%20extension&source=relatedQueries"
},
{
"query": "scraping tool for painting",
"link": "https://search.brave.com/search?q=scraping%20tool%20for%20painting&source=relatedQueries"
},
{
"query": "web scraping api free",
"link": "https://search.brave.com/search?q=web%20scraping%20api%20free&source=relatedQueries"
}
],
"related_questions": [
{
"question": "What is the best web scraping API in 2026?",
"answer": "Bright Data is the best web scraping API in 2026. It posted the highest average success rate, 98.87%, of the 16 scraping APIs in Scrape.do's 2026 benchmark. It also achieved 100% success on Indeed, GitHub, Zillow, and Google individually.",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
},
{
"question": "Is Bright Data the best web scraping API?",
"answer": "Based on published benchmark data, yes. Bright Data's average success rate is the highest recorded in Scrape.do's 16-API test, and its network (Invalid ID IPs), pre-built scraper coverage (437+ sites), compliance posture (GDPR, CCPA, ISO 27…",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
},
{
"question": "How do web scraping APIs work?",
"answer": "You send a request to the API endpoint with a target URL. The API routes the request through a managed proxy network, handles any CAPTCHA challenges, renders JavaScript if needed, validates the response, and returns the page content, typica…",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
}
],
"results_count": 20,
"engine_used": "brave",
"source": "brave",
"service_used": "brave"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}1 credit per successful call; failed calls are free. See the Brave Search API overview for every Brave Search endpoint.
Authorizations
Query Parameters
Maximum string length:
500Available options:
english, deutsch, french, spanish, italian, portuguese, dutch, russian, chinese, japanese, arabic, all, en, de, fr, es, it, pt, nl, ru, zh, ja, ar Was this page helpful?
⌘I
Search
curl --request GET \
--url https://api.perceptlayer.com/v1/brave/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.perceptlayer.com/v1/brave/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.perceptlayer.com/v1/brave/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.perceptlayer.com/v1/brave/search';
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.perceptlayer.com/v1/brave/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.perceptlayer.com/v1/brave/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.perceptlayer.com/v1/brave/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.get("https://api.perceptlayer.com/v1/brave/search")
.header("X-API-Key", "<api-key>")
.asString();{
"endpoint": "brave.search",
"params": {
"query": "best web scraping api"
},
"response": {
"search_information": {
"query_displayed": "best web scraping api"
},
"organic_results": [
{
"position": 1,
"title": "ScrapingBee – The Best Web Scraping API",
"link": "https://www.scrapingbee.com/",
"redirect_link": "https://www.scrapingbee.com/",
"displayed_link": "www.scrapingbee.com",
"snippet": "ScrapingBee is the best web scraping API that handles proxies and headless browsers for you — so you can focus on extracting the data you need.",
"source": "www.scrapingbee.com"
},
{
"position": 2,
"title": "5 Best Web Scraping APIs in 2026 (Fast, Scalable & Easy to Use)",
"link": "https://www.scrapingdog.com/blog/best-web-scraping-apis/",
"redirect_link": "https://www.scrapingdog.com/blog/best-web-scraping-apis/",
"displayed_link": "www.scrapingdog.com",
"snippet": "2 weeks ago - Other APIs: ScraperAPI slower (22–40s), ZenRows failed two sites, ScrapingAnt & ScrapingBee slower. Conclusion: Scrapingdog leads in speed, reliability, and cost. Extras: Python benchmark script included; clear docs and 24/7 s…",
"source": "www.scrapingdog.com"
},
{
"position": 3,
"title": "17 Best Web Scraping Tools Tested & Ranked For 2026 | ScrapingBee",
"link": "https://www.scrapingbee.com/blog/web-scraping-tools/",
"redirect_link": "https://www.scrapingbee.com/blog/web-scraping-tools/",
"displayed_link": "www.scrapingbee.com",
"snippet": "1 day ago - Overall, it's a dependable solution that I trust for long-term, production-level web scraping projects.\" ... AI scraping endpoint where you describe the data you want in plain English and let the system do the selector work · St…",
"source": "www.scrapingbee.com"
}
],
"related_searches": [
{
"query": "data scraping tools chrome extension",
"link": "https://search.brave.com/search?q=data%20scraping%20tools%20chrome%20extension&source=relatedQueries"
},
{
"query": "scraping tool for painting",
"link": "https://search.brave.com/search?q=scraping%20tool%20for%20painting&source=relatedQueries"
},
{
"query": "web scraping api free",
"link": "https://search.brave.com/search?q=web%20scraping%20api%20free&source=relatedQueries"
}
],
"related_questions": [
{
"question": "What is the best web scraping API in 2026?",
"answer": "Bright Data is the best web scraping API in 2026. It posted the highest average success rate, 98.87%, of the 16 scraping APIs in Scrape.do's 2026 benchmark. It also achieved 100% success on Indeed, GitHub, Zillow, and Google individually.",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
},
{
"question": "Is Bright Data the best web scraping API?",
"answer": "Based on published benchmark data, yes. Bright Data's average success rate is the highest recorded in Scrape.do's 16-API test, and its network (Invalid ID IPs), pre-built scraper coverage (437+ sites), compliance posture (GDPR, CCPA, ISO 27…",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
},
{
"question": "How do web scraping APIs work?",
"answer": "You send a request to the API endpoint with a target URL. The API routes the request through a managed proxy network, handles any CAPTCHA challenges, renders JavaScript if needed, validates the response, and returns the page content, typica…",
"link": "https://brightdata.com/blog/web-data/best-web-scraping-apis",
"title": "The 9 Best Web Scraping APIs & Tools in 2026"
}
],
"results_count": 20,
"engine_used": "brave",
"source": "brave",
"service_used": "brave"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}