curl --request POST \
--url https://api.bigdata.com/v1/key-metrics-ttm/query \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"identifier": {
"type": "rp_entity_id",
"value": "4A6F00"
}
}
'import requests
url = "https://api.bigdata.com/v1/key-metrics-ttm/query"
payload = { "identifier": {
"type": "rp_entity_id",
"value": "4A6F00"
} }
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({identifier: {type: 'rp_entity_id', value: '4A6F00'}})
};
fetch('https://api.bigdata.com/v1/key-metrics-ttm/query', 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.bigdata.com/v1/key-metrics-ttm/query",
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([
'identifier' => [
'type' => 'rp_entity_id',
'value' => '4A6F00'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bigdata.com/v1/key-metrics-ttm/query"
payload := strings.NewReader("{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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.bigdata.com/v1/key-metrics-ttm/query")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bigdata.com/v1/key-metrics-ttm/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"rp_entity_id": "4A6F00",
"target_identifier_id": "GOOGL",
"market_cap": 2907172311540,
"enterprise_value_ttm": 2907172311540,
"ev_to_sales_ttm": 7.883,
"ev_to_operating_cash_flow_ttm": 21.897,
"ev_to_free_cash_flow_ttm": 43.876,
"ev_to_ebitda_ttm": 18.56,
"net_debt_to_ebitda_ttm": 0.13,
"current_ratio_ttm": 1.903,
"income_quality_ttm": 1.156,
"graham_number_ttm": 80.139,
"graham_net_net_ttm": -0.222,
"tax_burden_ttm": 0.827,
"interest_burden_ttm": 0.997,
"working_capital_ttm": 78906000000,
"invested_capital_ttm": 328727000000,
"return_on_assets_ttm": 0.23,
"operating_return_on_assets_ttm": 0.248,
"return_on_tangible_assets_ttm": 0.246,
"return_on_equity_ttm": 0.343,
"return_on_invested_capital_ttm": 0.239,
"return_on_capital_employed_ttm": 0.292,
"earnings_yield_ttm": 0.039,
"free_cash_flow_yield_ttm": 0.022,
"capex_to_operating_cash_flow_ttm": 0.5,
"capex_to_depreciation_ttm": 3.789,
"capex_to_revenue_ttm": 0.18,
"sales_general_and_admin_to_revenue_ttm": 0.045,
"research_and_development_to_revenue_ttm": 0.142,
"stock_based_compensation_to_revenue_ttm": 0.046,
"intangibles_to_total_assets_ttm": 0.064,
"average_receivables_ttm": 53024000000,
"average_payables_ttm": 8422000000,
"average_inventory_ttm": 0,
"days_of_sales_outstanding_ttm": 54.099,
"days_of_payables_outstanding_ttm": 19.978,
"days_of_inventory_outstanding_ttm": 0,
"operating_cycle_ttm": 54.099,
"cash_conversion_cycle_ttm": 34.119784543416905,
"free_cash_flow_to_equity_ttm": 46096000000,
"free_cash_flow_to_firm_ttm": 58092641321.391,
"tangible_asset_value_ttm": 330581000000,
"net_current_asset_value_ttm": 27079000000
}
],
"errors": [
{
"message": "<string>"
}
],
"metadata": {
"request_id": "<string>",
"timestamp": "<string>"
},
"sources": [
{
"id": "CA9FA3",
"name": "Corporate Fundamentals"
}
],
"usage": {}
}Key Metrics TTM
The Key Metrics TTM API provides seamless access to a comprehensive set of trailing twelve-month (TTM) performance indicators. It delivers insights into a company’s profitability, capital efficiency, and liquidity, enabling in-depth evaluation of financial health and operational performance over the past year.
curl --request POST \
--url https://api.bigdata.com/v1/key-metrics-ttm/query \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"identifier": {
"type": "rp_entity_id",
"value": "4A6F00"
}
}
'import requests
url = "https://api.bigdata.com/v1/key-metrics-ttm/query"
payload = { "identifier": {
"type": "rp_entity_id",
"value": "4A6F00"
} }
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({identifier: {type: 'rp_entity_id', value: '4A6F00'}})
};
fetch('https://api.bigdata.com/v1/key-metrics-ttm/query', 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.bigdata.com/v1/key-metrics-ttm/query",
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([
'identifier' => [
'type' => 'rp_entity_id',
'value' => '4A6F00'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bigdata.com/v1/key-metrics-ttm/query"
payload := strings.NewReader("{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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.bigdata.com/v1/key-metrics-ttm/query")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bigdata.com/v1/key-metrics-ttm/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"identifier\": {\n \"type\": \"rp_entity_id\",\n \"value\": \"4A6F00\"\n }\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"rp_entity_id": "4A6F00",
"target_identifier_id": "GOOGL",
"market_cap": 2907172311540,
"enterprise_value_ttm": 2907172311540,
"ev_to_sales_ttm": 7.883,
"ev_to_operating_cash_flow_ttm": 21.897,
"ev_to_free_cash_flow_ttm": 43.876,
"ev_to_ebitda_ttm": 18.56,
"net_debt_to_ebitda_ttm": 0.13,
"current_ratio_ttm": 1.903,
"income_quality_ttm": 1.156,
"graham_number_ttm": 80.139,
"graham_net_net_ttm": -0.222,
"tax_burden_ttm": 0.827,
"interest_burden_ttm": 0.997,
"working_capital_ttm": 78906000000,
"invested_capital_ttm": 328727000000,
"return_on_assets_ttm": 0.23,
"operating_return_on_assets_ttm": 0.248,
"return_on_tangible_assets_ttm": 0.246,
"return_on_equity_ttm": 0.343,
"return_on_invested_capital_ttm": 0.239,
"return_on_capital_employed_ttm": 0.292,
"earnings_yield_ttm": 0.039,
"free_cash_flow_yield_ttm": 0.022,
"capex_to_operating_cash_flow_ttm": 0.5,
"capex_to_depreciation_ttm": 3.789,
"capex_to_revenue_ttm": 0.18,
"sales_general_and_admin_to_revenue_ttm": 0.045,
"research_and_development_to_revenue_ttm": 0.142,
"stock_based_compensation_to_revenue_ttm": 0.046,
"intangibles_to_total_assets_ttm": 0.064,
"average_receivables_ttm": 53024000000,
"average_payables_ttm": 8422000000,
"average_inventory_ttm": 0,
"days_of_sales_outstanding_ttm": 54.099,
"days_of_payables_outstanding_ttm": 19.978,
"days_of_inventory_outstanding_ttm": 0,
"operating_cycle_ttm": 54.099,
"cash_conversion_cycle_ttm": 34.119784543416905,
"free_cash_flow_to_equity_ttm": 46096000000,
"free_cash_flow_to_firm_ttm": 58092641321.391,
"tangible_asset_value_ttm": 330581000000,
"net_current_asset_value_ttm": 27079000000
}
],
"errors": [
{
"message": "<string>"
}
],
"metadata": {
"request_id": "<string>",
"timestamp": "<string>"
},
"sources": [
{
"id": "CA9FA3",
"name": "Corporate Fundamentals"
}
],
"usage": {}
}Authorizations
Body
An object containing the identifier value(s) and their type for the Key Metrics TTM tool.
Show child attributes
Show child attributes
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The content catalog sources the response was built from, one entry per source. Empty when no catalog source contributed.
Show child attributes
Show child attributes
Tokens the request consumed, per content tier. Present only for API keys billed in tokens.
Show child attributes
Show child attributes
Was this page helpful?