Search brands
curl --request GET \
--url 'https://api.brandfetch.io/v2/search/{name}?c={clientId}'import requests
url = "https://api.brandfetch.io/v2/search/{name}?c={clientId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.brandfetch.io/v2/search/{name}?c={clientId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.brandfetch.io/v2/search/{name}?c={clientId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.brandfetch.io/v2/search/{name}?c={clientId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.brandfetch.io/v2/search/{name}?c={clientId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brandfetch.io/v2/search/{name}?c={clientId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"icon": "<string>",
"name": "<string>",
"domain": "<string>",
"claimed": true,
"brandId": "<string>"
}
]Brand Search API
Search for brands by name, login to get a clientId
GET
/
v2
/
search
/
{name}
?c=
{clientId}
Search brands
curl --request GET \
--url 'https://api.brandfetch.io/v2/search/{name}?c={clientId}'import requests
url = "https://api.brandfetch.io/v2/search/{name}?c={clientId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.brandfetch.io/v2/search/{name}?c={clientId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.brandfetch.io/v2/search/{name}?c={clientId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.brandfetch.io/v2/search/{name}?c={clientId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.brandfetch.io/v2/search/{name}?c={clientId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brandfetch.io/v2/search/{name}?c={clientId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"icon": "<string>",
"name": "<string>",
"domain": "<string>",
"claimed": true,
"brandId": "<string>"
}
]Read our guidelines before
using the Brand Search API.
Path Parameters
The name of the company you are searching for.
Query Parameters
A clientId is a unique identifier assigned to your application that allows it to authenticate and interact with our service. Get your client ID here
Was this page helpful?