POST /validate
curl --request POST \
--url https://api.getbeta.io/api/v1/validate \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>"
}
'import requests
url = "https://api.getbeta.io/api/v1/validate"
payload = { "company": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({company: '<string>'})
};
fetch('https://api.getbeta.io/api/v1/validate', 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.getbeta.io/api/v1/validate",
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([
'company' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.getbeta.io/api/v1/validate"
payload := strings.NewReader("{\n \"company\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.getbeta.io/api/v1/validate")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"verified": true,
"confidence": 123,
"entity": {
"entity.key": "<string>",
"entity.name": "<string>",
"entity.type": "<string>",
"entity.ticker": {},
"entity.sector": {},
"entity.industry": {},
"entity.publicUrl": {}
},
"resolution": {
"resolution.source": "<string>",
"resolution.confidence": 123
},
"message": {}
}Endpoints
POST /validate
Resolve a company string to a canonical entity.
POST
/
api
/
v1
/
validate
POST /validate
curl --request POST \
--url https://api.getbeta.io/api/v1/validate \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>"
}
'import requests
url = "https://api.getbeta.io/api/v1/validate"
payload = { "company": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({company: '<string>'})
};
fetch('https://api.getbeta.io/api/v1/validate', 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.getbeta.io/api/v1/validate",
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([
'company' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.getbeta.io/api/v1/validate"
payload := strings.NewReader("{\n \"company\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.getbeta.io/api/v1/validate")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"verified": true,
"confidence": 123,
"entity": {
"entity.key": "<string>",
"entity.name": "<string>",
"entity.type": "<string>",
"entity.ticker": {},
"entity.sector": {},
"entity.industry": {},
"entity.publicUrl": {}
},
"resolution": {
"resolution.source": "<string>",
"resolution.confidence": 123
},
"message": {}
}Use case
Resolve a company name from a customer email, chat message, or CRM record into a canonical BETA entity before calling other endpoints./validate is a fast cache lookup — call it first to avoid wasted lookups on unknown or low-confidence inputs.
Request
string
required
Company name to validate. Must be 2–200 characters.
Response
boolean
true if BETA resolved the input. Always check resolution.confidence alongside this — verified: true with low confidence means a fuzzy/fallback match, not a confident one.number
Confidence score (0–1) for the entity match.
object
Canonical entity record.
null when verified: false.Show entity fields
Show entity fields
string
Canonical entity key, e.g.,
anthropic.string
Display name.
string
public_company · private_company · subsidiary · industry · sec_ticker_fallback · discovered_entitystring | null
Stock ticker (public companies only).
string | null
Industry sector.
string | null
Specific industry.
string | null
SEO-indexed public page at
getbeta.io/company/{slug}.object
Provenance metadata — see Citation Contract.
string | null
Present when
verified: false — explanation, e.g., "Company not found in database".Code samples
curl -X POST https://api.getbeta.io/api/v1/validate \
-H "Authorization: Bearer $BETA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company": "Anthropic"}'
const res = await fetch('https://api.getbeta.io/api/v1/validate', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.BETA_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ company: 'Anthropic' })
});
const data = await res.json();
import os, requests
res = requests.post(
'https://api.getbeta.io/api/v1/validate',
headers={'Authorization': f'Bearer {os.environ["BETA_API_KEY"]}'},
json={'company': 'Anthropic'}
)
data = res.json()
Live response
{
"verified": true,
"confidence": 1,
"entity": {
"key": "anthropic",
"name": "Anthropic",
"type": "private_company",
"ticker": null,
"sector": null,
"industry": "technology",
"publicUrl": "https://getbeta.io/company/anthropic"
},
"resolution": {
"source": "curated",
"confidence": 1
}
}
Errors
| Status | Body | When |
|---|---|---|
400 | {"error": "Company name required"} | Missing company field |
400 | {"error": "Company name must be 2-200 characters"} | Length out of range |
401 | {"error": "API key required"} | Missing Authorization header |
401 | {"error": "Invalid API key"} | Key not found or revoked |
429 | {"error": "Daily rate limit exceeded"} | Per-tier limit hit (see Pricing) |
Citation pointer
See Citation Contract for howresolution.source and resolution.confidence are populated — and why verified: true with resolution.source: "sec_fallback" is not the same trust signal as resolution.source: "curated".