curl --request GET \
--url https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue"
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/companies/{companyId}/latest-revenue', 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}/latest-revenue",
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/companies/{companyId}/latest-revenue"
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/companies/{companyId}/latest-revenue")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue")
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{
"id": "5e3bbfb900c8f4c966a2d566",
"company_name": "Ocean Power Technologies",
"domain": "oceanpowertechnologies.com",
"est_revenue_usd": 2000000,
"est_revenue_low_usd": 1400000,
"est_revenue_high_usd": 2800000,
"latest_revenue_reported_usd": 1696000,
"latest_revenue_reported_date": "2025-12-16",
"revenue_type": "Revenue",
"est_revenue_growth_1m_pct": 0,
"est_revenue_growth_3m_pct": 17.65,
"est_revenue_growth_6m_pct": 17.65,
"est_revenue_growth_1y_pct": 17.65,
"est_revenue_growth_2y_pct": 17.65
}{
"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"
}Get company latest revenue
Returns the latest revenue figures and estimated revenue growth for a single company.
Costs 1 credit per matched result.
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
- Growth fields are percentages (
4.05= +4.05%) and can be negative. revenue_typeis the metric the reported figure represents (e.g.Revenue,ARR).- A matched company with no revenue data on file returns
200with every revenue field set tonull. - Returns
404if no company matchescompanyId.
What you do next
- See the full history. Pull every revenue signal, not just the latest, with Get company revenue signals.
- Get valuation too. Pull the latest valuation with Get company latest valuation.
curl --request GET \
--url https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue"
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/companies/{companyId}/latest-revenue', 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}/latest-revenue",
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/companies/{companyId}/latest-revenue"
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/companies/{companyId}/latest-revenue")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/companies/{companyId}/latest-revenue")
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{
"id": "5e3bbfb900c8f4c966a2d566",
"company_name": "Ocean Power Technologies",
"domain": "oceanpowertechnologies.com",
"est_revenue_usd": 2000000,
"est_revenue_low_usd": 1400000,
"est_revenue_high_usd": 2800000,
"latest_revenue_reported_usd": 1696000,
"latest_revenue_reported_date": "2025-12-16",
"revenue_type": "Revenue",
"est_revenue_growth_1m_pct": 0,
"est_revenue_growth_3m_pct": 17.65,
"est_revenue_growth_6m_pct": 17.65,
"est_revenue_growth_1y_pct": 17.65,
"est_revenue_growth_2y_pct": 17.65
}{
"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"
}Response
The revenue figures for the matched company.
Latest revenue figures and estimated revenue growth for a single company.
The revenue fields are null when the company is matched but has no revenue
data on file. Growth figures are percentages (4.05 = +4.05%) and can be negative.
Lower bound of the estimated revenue range, in USD. The true revenue is expected to fall between est_revenue_low_usd and est_revenue_high_usd 75% of the time. Refers to the same month as est_revenue_usd, and is null when that month has no estimate or no interval.
1400000
Was this page helpful?