curl --request GET \
--url https://astreus.ai/api/v1/companies/{id}/fact-source \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/companies/{id}/fact-source"
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://astreus.ai/api/v1/companies/{id}/fact-source', 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://astreus.ai/api/v1/companies/{id}/fact-source",
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://astreus.ai/api/v1/companies/{id}/fact-source"
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://astreus.ai/api/v1/companies/{id}/fact-source")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/companies/{id}/fact-source")
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{
"provenance": "filed",
"std_value": 130497000000,
"source_tags": [
"us-gaap:Revenues"
],
"filing": {
"accession_number": "0001045810-25-000023",
"filing_type": "10-K",
"filing_date": "2025-02-26",
"fiscal_year": 2025,
"fiscal_quarter": null,
"period_end_date": "2025-01-26"
},
"facts": [
{
"tag_name": "us-gaap:Revenues",
"context_id": "c-1",
"label_as_reported": "Revenue",
"raw_value": 130497000000,
"selected_value": 130497000000,
"value_is_derived": false,
"unit": "USD",
"decimals": -6,
"value_type": "duration",
"start_date": "2024-01-29",
"end_date": "2025-01-26",
"instant_date": null,
"revisions": [
{
"accession_number": "0001045810-25-000023",
"filing_type": "10-K",
"filing_date": "2025-02-26",
"fiscal_year": 2025,
"fiscal_quarter": null,
"context_id": "c-1",
"raw_value": 130497000000
},
{
"accession_number": "0001045810-26-000010",
"filing_type": "10-K",
"filing_date": "2026-02-25",
"fiscal_year": 2026,
"fiscal_quarter": null,
"context_id": "c-4",
"raw_value": 130497000000
}
]
}
]
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}Fact provenance
Provenance for one cell: the fact(s) (or the printed cell and page for PDF-sourced issuers), the filing accession or document reference, and the arithmetic behind derived values.
curl --request GET \
--url https://astreus.ai/api/v1/companies/{id}/fact-source \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/companies/{id}/fact-source"
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://astreus.ai/api/v1/companies/{id}/fact-source', 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://astreus.ai/api/v1/companies/{id}/fact-source",
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://astreus.ai/api/v1/companies/{id}/fact-source"
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://astreus.ai/api/v1/companies/{id}/fact-source")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/companies/{id}/fact-source")
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{
"provenance": "filed",
"std_value": 130497000000,
"source_tags": [
"us-gaap:Revenues"
],
"filing": {
"accession_number": "0001045810-25-000023",
"filing_type": "10-K",
"filing_date": "2025-02-26",
"fiscal_year": 2025,
"fiscal_quarter": null,
"period_end_date": "2025-01-26"
},
"facts": [
{
"tag_name": "us-gaap:Revenues",
"context_id": "c-1",
"label_as_reported": "Revenue",
"raw_value": 130497000000,
"selected_value": 130497000000,
"value_is_derived": false,
"unit": "USD",
"decimals": -6,
"value_type": "duration",
"start_date": "2024-01-29",
"end_date": "2025-01-26",
"instant_date": null,
"revisions": [
{
"accession_number": "0001045810-25-000023",
"filing_type": "10-K",
"filing_date": "2025-02-26",
"fiscal_year": 2025,
"fiscal_quarter": null,
"context_id": "c-1",
"raw_value": 130497000000
},
{
"accession_number": "0001045810-26-000010",
"filing_type": "10-K",
"filing_date": "2026-02-25",
"fiscal_year": 2026,
"fiscal_quarter": null,
"context_id": "c-4",
"raw_value": 130497000000
}
]
}
]
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}{
"error": "<string>",
"code": "unauthenticated"
}Authorizations
Astreus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....
Path Parameters
Ticker symbol (e.g. NVDA), numeric SEC CIK (zero-padding optional), or the platform key of a non-SEC issuer (e.g. XSAU000001 — the cik field of the company payload). A bare ticker always resolves to the SEC registrant.
Query Parameters
Which statement the row belongs to.
income_statement, balance_sheet, cash_flow_statement, segments_kpis, supply_chain The row key exactly as /financials returned it: std: (std:revenue), a raw XBRL tag (us-gaap:Revenues), a segment row seg::::::, a KPI row kpi::<kpi_key>, or a supply-chain metric rel::<edge_key>::::<quant_id> (provenance.fact_source_key on /supply-chain).
The column's period end date, YYYY-MM-DD (from period_meta).
Must match the /financials call being cited.
annual, semiannual, quarterly Must match the reporting_basis of the /financials call being cited.
individual, as_reported Accounting basis the cited cell was shown under (see financials basis); default = primary.
Response
OK
The response is of type object.