POST /timeline
curl --request POST \
--url https://api.getbeta.io/api/v1/timeline \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>",
"start": "<string>",
"end": "<string>",
"types": [
{}
]
}
'import requests
url = "https://api.getbeta.io/api/v1/timeline"
payload = {
"company": "<string>",
"start": "<string>",
"end": "<string>",
"types": [{}]
}
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>', start: '<string>', end: '<string>', types: [{}]})
};
fetch('https://api.getbeta.io/api/v1/timeline', 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/timeline",
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>',
'start' => '<string>',
'end' => '<string>',
'types' => [
[
]
]
]),
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/timeline"
payload := strings.NewReader("{\n \"company\": \"<string>\",\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\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/timeline")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\",\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/timeline")
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 \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"entity": {},
"period": {},
"summary": "<string>",
"events": [
{
"event.date": "<string>",
"event.type": "<string>",
"event.headline": {},
"event.description": {},
"event.item": {}
}
],
"metrics": {},
"resolution": {}
}Endpoints
POST /timeline
Material events for a date range.
POST
/
api
/
v1
/
timeline
POST /timeline
curl --request POST \
--url https://api.getbeta.io/api/v1/timeline \
--header 'Content-Type: application/json' \
--data '
{
"company": "<string>",
"start": "<string>",
"end": "<string>",
"types": [
{}
]
}
'import requests
url = "https://api.getbeta.io/api/v1/timeline"
payload = {
"company": "<string>",
"start": "<string>",
"end": "<string>",
"types": [{}]
}
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>', start: '<string>', end: '<string>', types: [{}]})
};
fetch('https://api.getbeta.io/api/v1/timeline', 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/timeline",
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>',
'start' => '<string>',
'end' => '<string>',
'types' => [
[
]
]
]),
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/timeline"
payload := strings.NewReader("{\n \"company\": \"<string>\",\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\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/timeline")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"<string>\",\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getbeta.io/api/v1/timeline")
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 \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"types\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"entity": {},
"period": {},
"summary": "<string>",
"events": [
{
"event.date": "<string>",
"event.type": "<string>",
"event.headline": {},
"event.description": {},
"event.item": {}
}
],
"metrics": {},
"resolution": {}
}Use case
Get material events (SEC 8-K filings — leadership changes, M&A, financial events) for a company over a specific date range. Useful for due-diligence pulls, “what happened during this person’s tenure”-style queries, and event-driven monitoring.Request
string
required
Company name or entity key. 2–200 characters.
string
required
Period start,
YYYY-MM format.string
Period end,
YYYY-MM format. Defaults to today.array
Filter by event type (e.g.,
["8-K Item 1.01", "8-K Item 2.02"]). Empty array returns all types.Response
object
key + name of the resolved entity.object
start + end (echoed from request, with end filled if defaulted).string
Human-readable summary, e.g.,
"2 notable events during this period".array
Up to 20 events, ordered by
filing_date DESC. Each event:Show event fields
Show event fields
object
Placeholder for future quantitative metrics over the period.
object
Provenance — see Citation Contract.
Code samples
curl -X POST https://api.getbeta.io/api/v1/timeline \
-H "Authorization: Bearer $BETA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company": "Microsoft", "start": "2026-01", "end": "2026-05"}'
const res = await fetch('https://api.getbeta.io/api/v1/timeline', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.BETA_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
company: 'Microsoft',
start: '2026-01',
end: '2026-05'
})
});
import os, requests
res = requests.post(
'https://api.getbeta.io/api/v1/timeline',
headers={'Authorization': f'Bearer {os.environ["BETA_API_KEY"]}'},
json={'company': 'Microsoft', 'start': '2026-01', 'end': '2026-05'}
)
Live response
{
"entity": {
"key": "microsoft",
"name": "Microsoft Corporation"
},
"period": { "start": "2026-01", "end": "2026-05" },
"summary": "2 notable events during this period",
"events": [
{
"date": "2026-04-29",
"type": "Operating Results",
"headline": null,
"description": null,
"item": "2.02"
},
{
"date": "2026-01-28",
"type": "Operating Results",
"headline": null,
"description": null,
"item": "2.02"
}
],
"metrics": {},
"resolution": { "source": "curated", "confidence": 1 }
}
Item 2.02 (“Results of Operations”) filings often have null
headline and description — these are routine quarterly earnings releases. For deeper inspection, follow up with the SEC filing URL or a dedicated financials data source.Errors
| Status | Body | When |
|---|---|---|
400 | {"error": "Start date required (YYYY-MM format)"} | Missing start |
404 | {"error": "Company not found", "code": "NOT_FOUND"} | No entity resolved |
| Other | See /validate for the standard set |