Search brands by name
curl --request GET \
--url https://api.logo.dev/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.logo.dev/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.logo.dev/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.logo.dev/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.logo.dev/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.logo.dev/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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"name": "Sweetgreen",
"domain": "sweetgreen.com",
"logo_url": "https://img.logo.dev/sweetgreen.com?token=LOGO_DEV_PUBLISHABLE_KEY"
},
{
"name": "Sweet Greens Healthy Restaurant",
"domain": "sweetgreens.ae",
"logo_url": "https://img.logo.dev/sweetgreens.ae?token=LOGO_DEV_PUBLISHABLE_KEY"
}
]Search brands by name (v1)
deprecated
Deprecated. Use GET /v2/search, which adds typeahead ranking, a limit, and the v2 response envelope.
GET
https://api.logo.dev
/
search
Search brands by name
curl --request GET \
--url https://api.logo.dev/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.logo.dev/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.logo.dev/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.logo.dev/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.logo.dev/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.logo.dev/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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"name": "Sweetgreen",
"domain": "sweetgreen.com",
"logo_url": "https://img.logo.dev/sweetgreen.com?token=LOGO_DEV_PUBLISHABLE_KEY"
},
{
"name": "Sweet Greens Healthy Restaurant",
"domain": "sweetgreens.ae",
"logo_url": "https://img.logo.dev/sweetgreens.ae?token=LOGO_DEV_PUBLISHABLE_KEY"
}
]GET /search keeps working. Like the v2 route, it spends API credits on every request and has a per-minute limit. Search brands replaces it. The v2 route takes method (match or typeahead) instead of strategy, adds limit, and wraps results in data and metadata.Authorizations
Your secret key (sk_), as Bearer sk_.... Call the Logo.dev API only from your server.
Query Parameters
Brand name query.
Example:
"sweetgreen"
Matching strategy. suggest favors popular prefix matches (best for autocomplete); match favors exact/near-exact name matches.
Available options:
suggest, match Filter by whether the brand is flagged as potentially inappropriate.
Was this page helpful?