POST /enrich
curl --request POST \
--url https://api.getbeta.io/api/v1/enrich \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>",
"tenure": {},
"include": [
{}
]
}
'import requests
url = "https://api.getbeta.io/api/v1/enrich"
payload = {
"company": "<string>",
"tenure": {},
"include": [{}]
}
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>', tenure: {}, include: [{}]})
};
fetch('https://api.getbeta.io/api/v1/enrich', 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/enrich",
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>',
'tenure' => [
],
'include' => [
[
]
]
]),
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/enrich"
payload := strings.NewReader("{\n \"company\": \"<string>\",\n \"tenure\": {},\n \"include\": [\n {}\n ]\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/enrich")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\",\n \"tenure\": {},\n \"include\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/enrich")
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 \"tenure\": {},\n \"include\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"verified": true,
"confidence": 123,
"entity": {},
"scale": {},
"context": {},
"headlineInsight": {},
"events": [
{}
],
"people": [
{}
],
"intelligence": {},
"intelligence_history": {},
"meta": {}
}Endpoints
POST /enrich
Firmographics + headline insight + SWOT + competitors + people + events.
POST
/
api
/
v1
/
enrich
POST /enrich
curl --request POST \
--url https://api.getbeta.io/api/v1/enrich \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>",
"tenure": {},
"include": [
{}
]
}
'import requests
url = "https://api.getbeta.io/api/v1/enrich"
payload = {
"company": "<string>",
"tenure": {},
"include": [{}]
}
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>', tenure: {}, include: [{}]})
};
fetch('https://api.getbeta.io/api/v1/enrich', 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/enrich",
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>',
'tenure' => [
],
'include' => [
[
]
]
]),
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/enrich"
payload := strings.NewReader("{\n \"company\": \"<string>\",\n \"tenure\": {},\n \"include\": [\n {}\n ]\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/enrich")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\",\n \"tenure\": {},\n \"include\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/enrich")
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 \"tenure\": {},\n \"include\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"verified": true,
"confidence": 123,
"entity": {},
"scale": {},
"context": {},
"headlineInsight": {},
"events": [
{}
],
"people": [
{}
],
"intelligence": {},
"intelligence_history": {},
"meta": {}
}Use case
After resolving an entity with/validate, call /enrich for the full BETA picture: firmographics, market cap, headline insight, optionally SWOT + competitors + priorities (include: ['intelligence']), events during a tenure window (include: ['events'] with tenure), key people inline (include: ['people']), or historical intelligence snapshots (include: ['intelligence_history']).
Request
string
required
Company name or canonical entity key. 2–200 characters.
object
When present, scopes
events to a window: { "start": "YYYY-MM", "end": "YYYY-MM" }.array
Subset of
["events", "people", "intelligence", "intelligence_history"].Response
number
Entity-match confidence (0–1).
object
Canonical entity. Extends
/validate’s entity with exchange, headquarters, founded, employees, description.object
Where available:
marketCap (formatted, e.g., "$1.2T"), revenueRange (e.g., "$10B+").string | null
Display summary — synthesized 2–4 paragraph briefing on the company. News-corroborated, source-cited inline as
[N] footnote markers.string | null
Short (~1 sentence) insight surfaced from the latest synthesis run.
array
Material events (SEC 8-K filings) — populated when
include: ['events'] and tenure is provided.object | null
SWOT, competitors, priorities, changelog, confidence — populated when
include: ['intelligence'].object | null
Temporal snapshots (up to 30) — populated when
include: ['intelligence_history'].object
enrichedAt (ISO datetime), sources (array of structured datasets used), resolution (per Citation Contract), costEstimate (USD).Code samples
curl -X POST https://api.getbeta.io/api/v1/enrich \
-H "Authorization: Bearer $BETA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company": "Stripe", "include": ["events"]}'
const res = await fetch('https://api.getbeta.io/api/v1/enrich', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.BETA_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
company: 'Stripe',
include: ['events']
})
});
const data = await res.json();
import os, requests
res = requests.post(
'https://api.getbeta.io/api/v1/enrich',
headers={'Authorization': f'Bearer {os.environ["BETA_API_KEY"]}'},
json={'company': 'Stripe', 'include': ['events']}
)
data = res.json()
Live response
{
"verified": true,
"confidence": 1,
"entity": {
"key": "stripe",
"name": "Stripe Inc.",
"type": "private_company",
"ticker": null,
"industry": "financial_services",
"publicUrl": "https://getbeta.io/company/stripe"
},
"scale": {},
"context": "Stripe published its 2025 annual letter and announced a tender offer to provide liquidity to current and former employees [11]. The company completed its acquisition of Metronome, expanding its platform capabilities [6]. Stripe powered Higgsfield's global expansion and marketplace launch, demonstrating continued adoption across commerce platforms [5]...",
"events": [],
"people": [],
"meta": {
"enrichedAt": "2026-05-20T03:49:30.379Z",
"sources": ["entity_resolution", "entity_summaries"],
"resolution": { "source": "curated", "confidence": 1 },
"costEstimate": 0.008
}
}
Private companies (like Stripe) often have no SEC events —
events: [] is expected, not an error. Public companies return populated arrays when include: ['events'] is set.Errors
| Status | Body | When |
|---|---|---|
400 | {"error": "Ambiguous company name", "code": "NEEDS_DISAMBIGUATION", "alternatives": [...]} | Multiple entities matched |
404 | {"verified": false, "error": "Company not found", "code": "NOT_FOUND"} | No entity resolved |
| Other | See /validate for the standard set |
Citation pointer
See Citation Contract for howmeta.sources[], intelligence.competitors[*].source, and the [N] footnote markers in context are populated.