Company ratios
curl --request GET \
--url https://api.turos.app/v1/companies/ratios \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/companies/ratios"
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://api.turos.app/v1/companies/ratios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "<string>",
"companyName": "<string>",
"period": "annual",
"provenance": {
"source": "<string>",
"accessionNumber": "<string>",
"filingUrl": "<string>",
"retrievedAt": "<string>",
"parserVersion": "<string>",
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"acceptedAt": "<string>"
},
"object": "company_ratios",
"data": [
{
"period_of_report_date": "<string>",
"fiscal_period": "<string>",
"fiscal_year": 123,
"filing_date": "<string>",
"grossProfitMargin": 123,
"operatingProfitMargin": 123,
"netProfitMargin": 123,
"ebitdaMargin": 123,
"returnOnEquity": 123,
"returnOnAssets": 123,
"returnOnCapitalEmployed": 123,
"priceEarningsRatio": 123,
"priceToBookRatio": 123,
"enterpriseValueMultiple": 123,
"dividendYield": 123,
"dividendPayoutRatio": 123,
"debtEquityRatio": 123,
"currentRatio": 123,
"dividendPerShare": 123,
"dividendPerShareCagr": 123
}
],
"freshness": {
"status": "fresh",
"asOf": "<string>",
"sourcePublishedAt": "<string>",
"lagMs": 4503599627370495,
"synthetic": true
},
"materialization": {
"parserVersion": "<string>",
"materializationVersion": "<string>"
},
"requestId": "<string>",
"traceparent": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Companies
Company ratios
Use this route to compare a company’s calculated ratios across reported periods or a bounded ticker batch. tickers can return a partial degraded state when an individual issuer fails, so inspect each item before ranking. Ratio inputs combine SEC-derived statement values with available market context; retain the reported period, units, provenance, and freshness fields, and do not treat a missing ratio as zero or as a trading signal. See statements reference and freshness and source evidence.
GET
/
v1
/
companies
/
ratios
Company ratios
curl --request GET \
--url https://api.turos.app/v1/companies/ratios \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/companies/ratios"
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://api.turos.app/v1/companies/ratios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "<string>",
"companyName": "<string>",
"period": "annual",
"provenance": {
"source": "<string>",
"accessionNumber": "<string>",
"filingUrl": "<string>",
"retrievedAt": "<string>",
"parserVersion": "<string>",
"sourceLabel": "<string>",
"sourceAgency": "<string>",
"canonicality": "<string>",
"fallbackPolicy": "<string>",
"acceptedAt": "<string>"
},
"object": "company_ratios",
"data": [
{
"period_of_report_date": "<string>",
"fiscal_period": "<string>",
"fiscal_year": 123,
"filing_date": "<string>",
"grossProfitMargin": 123,
"operatingProfitMargin": 123,
"netProfitMargin": 123,
"ebitdaMargin": 123,
"returnOnEquity": 123,
"returnOnAssets": 123,
"returnOnCapitalEmployed": 123,
"priceEarningsRatio": 123,
"priceToBookRatio": 123,
"enterpriseValueMultiple": 123,
"dividendYield": 123,
"dividendPayoutRatio": 123,
"debtEquityRatio": 123,
"currentRatio": 123,
"dividendPerShare": 123,
"dividendPerShareCagr": 123
}
],
"freshness": {
"status": "fresh",
"asOf": "<string>",
"sourcePublishedAt": "<string>",
"lagMs": 4503599627370495,
"synthetic": true
},
"materialization": {
"parserVersion": "<string>",
"materializationVersion": "<string>"
},
"requestId": "<string>",
"traceparent": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Query Parameters
Response
Successful response
- Option 1
- Option 2