Get company competitors
curl --request POST \
--url https://app.tryspecter.com/api/v1/companies/{companyId}/competitors \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"limit": 10
}'import requests
url = "https://app.tryspecter.com/api/v1/companies/{companyId}/competitors"
payload = { "limit": 10 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 10})
};
fetch('https://app.tryspecter.com/api/v1/companies/{companyId}/competitors', 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/companies/{companyId}/competitors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/companies/{companyId}/competitors"
payload := strings.NewReader("{\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.tryspecter.com/api/v1/companies/{companyId}/competitors")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/companies/{companyId}/competitors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"competitors": [
{
"name": "Adyen",
"domain": "adyen.com",
"focus": "Unified global payment and fraud platform.",
"company_id": "5e3a8f19040ca7b0c6f031f8",
"competitiveness_score": 0.95,
"dimensions": [
"<string>"
]
}
],
"dimensions": [
{
"code": "omnichannel_payments",
"label": "Omnichannel Payments",
"description": "Unified in-store and online payment acceptance."
}
],
"summary_headline": "A crowded payments market led by full-stack platforms.",
"summary_body": "<string>",
"last_updated": "2026-06-01T00:00:00Z"
}{
"errorCode": "COMPANY_MERGED",
"message": "Company merged",
"superseded_by": "5e3bc2b700c8f4c966ad2bbd"
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "OUT_OF_CREDITS",
"message": "There are no more credits available to complete the request"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "NOT_FOUND",
"message": "Not Found"
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}Companies
Get company competitors
Returns the competitive landscape for a company, a ranked list of competitors, the dimensions the market splits on, and a short summary of the competitive landscape.
Costs 1 credit per request, returning up to 30 results. A company with no competitors isn’t charged.
What you need
A Specter companyId in the path. If you only have a domain, website, or name, get
the ID first with Find company ID
(batch, free), or find it by name with Search entities by
name.
Behaviour
- Cache-first: a company that’s already been analysed returns instantly; one that’s never been analysed computes the full landscape on demand and is slower.
- Results older than 30 days are recomputed automatically, so the landscape is never
more than 30 days stale.
last_updatedreports when it was last computed. - At most 30 competitors are returned;
limit(1-30) only narrows that set; it can’t raise the ceiling above 30. - The request body is optional; omit it to use the default
limitof 30. - Returns
404if the company doesn’t exist.
What you do next
- Enrich the landscape. Follow each competitor’s
company_idto Get company by ID for its full profile. - Track the set. Add the competitors to a company list with Create company list to monitor them over time.
POST
/
companies
/
{companyId}
/
competitors
Get company competitors
curl --request POST \
--url https://app.tryspecter.com/api/v1/companies/{companyId}/competitors \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"limit": 10
}'import requests
url = "https://app.tryspecter.com/api/v1/companies/{companyId}/competitors"
payload = { "limit": 10 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 10})
};
fetch('https://app.tryspecter.com/api/v1/companies/{companyId}/competitors', 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/companies/{companyId}/competitors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.tryspecter.com/api/v1/companies/{companyId}/competitors"
payload := strings.NewReader("{\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.tryspecter.com/api/v1/companies/{companyId}/competitors")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/companies/{companyId}/competitors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"competitors": [
{
"name": "Adyen",
"domain": "adyen.com",
"focus": "Unified global payment and fraud platform.",
"company_id": "5e3a8f19040ca7b0c6f031f8",
"competitiveness_score": 0.95,
"dimensions": [
"<string>"
]
}
],
"dimensions": [
{
"code": "omnichannel_payments",
"label": "Omnichannel Payments",
"description": "Unified in-store and online payment acceptance."
}
],
"summary_headline": "A crowded payments market led by full-stack platforms.",
"summary_body": "<string>",
"last_updated": "2026-06-01T00:00:00Z"
}{
"errorCode": "COMPANY_MERGED",
"message": "Company merged",
"superseded_by": "5e3bc2b700c8f4c966ad2bbd"
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "OUT_OF_CREDITS",
"message": "There are no more credits available to complete the request"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "NOT_FOUND",
"message": "Not Found"
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}Body
application/json
Response
The company's competitive landscape, ranked competitors, the dimensions the market splits on, and a summary of the competitive landscape.
Was this page helpful?