Search entities by name
curl --request GET \
--url https://app.tryspecter.com/api/v1/entities/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/entities/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://app.tryspecter.com/api/v1/entities/search', 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://app.tryspecter.com/api/v1/entities/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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/entities/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))
}HttpResponse<String> response = Unirest.get("https://app.tryspecter.com/api/v1/entities/search")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/entities/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_body{
"companies": [
{
"id": "5e3bc2b700c8f4c966ad2bbd",
"name": "Stripe",
"hq": {
"city": "South San Francisco",
"state": "California",
"country": "United States",
"region": "North America",
"continent": "North America",
"regions": [
"San Francisco Bay Area"
]
},
"match_confidence": 1,
"domain": "stripe.com",
"tagline": "Stripe provides financial infrastructure for businesses to accept payments and grow revenue.",
"founded_year": 2010
}
],
"people": [
{
"id": "per_5e3a8f19040ca7b0c6f03082",
"match_confidence": 0.82,
"full_name": "Jane Doe",
"headline": "Co-founder & CEO at Rippling",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"profile_picture_url": "https://media.licdn.com/dms/image/jane-doe.jpg",
"current_company_name": "Rippling"
}
],
"investors": [
{
"id": "5e3bc2b700c8f4c966ad2bbd",
"name": "Sequoia Capital",
"match_confidence": 0.9,
"domain": "sequoiacap.com",
"hq_location": "Menlo Park, California, United States",
"founded_year": 1972,
"type": "Venture Capital"
}
]
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "You do not have permission to access this resource."
}{
"errorCode": "<string>",
"message": "<string>"
}Search
Search entities by name
Fuzzy-match one name across companies, people, and investors in a single call, with matches grouped by entity type. This is the unified replacement for the per-type name searches.
This endpoint is free — no credits are charged.
GET
/
entities
/
search
Search entities by name
curl --request GET \
--url https://app.tryspecter.com/api/v1/entities/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/entities/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://app.tryspecter.com/api/v1/entities/search', 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://app.tryspecter.com/api/v1/entities/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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/entities/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))
}HttpResponse<String> response = Unirest.get("https://app.tryspecter.com/api/v1/entities/search")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/entities/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_body{
"companies": [
{
"id": "5e3bc2b700c8f4c966ad2bbd",
"name": "Stripe",
"hq": {
"city": "South San Francisco",
"state": "California",
"country": "United States",
"region": "North America",
"continent": "North America",
"regions": [
"San Francisco Bay Area"
]
},
"match_confidence": 1,
"domain": "stripe.com",
"tagline": "Stripe provides financial infrastructure for businesses to accept payments and grow revenue.",
"founded_year": 2010
}
],
"people": [
{
"id": "per_5e3a8f19040ca7b0c6f03082",
"match_confidence": 0.82,
"full_name": "Jane Doe",
"headline": "Co-founder & CEO at Rippling",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"profile_picture_url": "https://media.licdn.com/dms/image/jane-doe.jpg",
"current_company_name": "Rippling"
}
],
"investors": [
{
"id": "5e3bc2b700c8f4c966ad2bbd",
"name": "Sequoia Capital",
"match_confidence": 0.9,
"domain": "sequoiacap.com",
"hq_location": "Menlo Park, California, United States",
"founded_year": 1972,
"type": "Venture Capital"
}
]
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "You do not have permission to access this resource."
}{
"errorCode": "<string>",
"message": "<string>"
}Authorizations
Query Parameters
Name to fuzzy-search across companies, people, and investors.
Minimum string length:
3Entity types to search. Omit to search all three.
Available options:
companies, people, investors Maximum matches to return per entity type.
Required range:
1 <= x <= 50Was this page helpful?
⌘I