Key Ratios
curl --request GET \
--url https://api.chicago.global/v1/key-ratios \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chicago.global/v1/key-ratios"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chicago.global/v1/key-ratios', 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.chicago.global/v1/key-ratios",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.chicago.global/v1/key-ratios"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chicago.global/v1/key-ratios")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chicago.global/v1/key-ratios")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Financial Statements
Key Ratios
Get key financial ratios for a given symbol
GET
/
v1
/
key-ratios
Key Ratios
curl --request GET \
--url https://api.chicago.global/v1/key-ratios \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chicago.global/v1/key-ratios"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chicago.global/v1/key-ratios', 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.chicago.global/v1/key-ratios",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.chicago.global/v1/key-ratios"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chicago.global/v1/key-ratios")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chicago.global/v1/key-ratios")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Retrieve key financial ratios for a given stock symbol. Returns profitability, liquidity, leverage, and efficiency ratios sourced from LSEG Datastream.
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | Yes | — | Stock symbol (e.g., AAPL.O, 0700.HK). Ticker shorthand like AAPL is also accepted and will be resolved automatically. |
limit | integer | No | 4 | Number of periods to return |
freq | integer | No | 1 | 1 for Annual, 2 for Quarterly |
Response
Returns an array of period objects with key financial ratios:[
{
"ric": "AAPL.O",
"rkdcode": 319,
"perenddt": "2025-09-27",
"stmtdt": "2025-09-27",
"sourcedt": "2025-10-31",
"year": 2025,
"gross_margin": 46.91,
"ebitda_margin": 34.78,
"operating_margin": 31.97,
"pretax_margin": 31.89,
"effective_tax_rate": 15.98,
"net_margin": 26.8,
"return_on_equity": 170.68,
"return_on_assets": 31.18,
"return_on_invested_capital": 58.36,
"fcf_yield": 2.61,
"dividend_yield": 0.41,
"pe": 34.22,
"price_book_value": 51.42,
"price_cash_flow": 34.01,
"price_sales": 9.11,
"enterprise_value_revenue": 9.22,
"enterprise_value_ebit": 28.83,
"quick_ratio": 0.86,
"current_ratio": 0.89,
"ebitda_interest_expense": null,
"times_interest_earned": null,
"total_debt_ebitda": 0.69,
"assets_equity": 4.87,
"debt_equity": 1.35,
"lt_debt_to_total_capital": 0.4551,
"total_debt_enterprise_value": 0.026,
"net_debt_to_ebitda": 0.31,
"cash_cycle_days": -42.9
}
]
Margin and return ratios are expressed as percentages. Valuation multiples (P/E, P/B, etc.) are expressed as ratios. Fields with
null values are not applicable for the given company.Key Fields
| Field | Description |
|---|---|
| Profitability | |
gross_margin | Gross profit as % of revenue |
ebitda_margin | EBITDA as % of revenue |
operating_margin | Operating income as % of revenue |
net_margin | Net income as % of revenue |
return_on_equity | Net income as % of shareholders’ equity |
return_on_assets | Net income as % of total assets |
return_on_invested_capital | ROIC |
| Valuation | |
pe | Price-to-earnings ratio |
price_book_value | Price-to-book ratio |
price_sales | Price-to-sales ratio |
enterprise_value_ebit | EV/EBIT |
fcf_yield | Free cash flow yield (%) |
dividend_yield | Dividend yield (%) |
| Liquidity & Leverage | |
current_ratio | Current assets / current liabilities |
quick_ratio | Quick assets / current liabilities |
debt_equity | Total debt / shareholders’ equity |
net_debt_to_ebitda | Net debt / EBITDA |
Example
curl "https://api.chicago.global/v1/key-ratios?symbol=AAPL.O&limit=4&freq=1" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch(
'https://api.chicago.global/v1/key-ratios?symbol=AAPL.O&limit=4&freq=1',
{ headers: { 'Authorization': `Bearer ${API_KEY}` } }
);
const periods = await response.json();
console.log(`ROE: ${periods[0].return_on_equity}%`);
console.log(`Net Margin: ${periods[0].net_profit_margin}%`);
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Number of periods to fetch
Required range:
1 <= x <= 20Frequency: 1 for Annual, 2 for Quarterly
Required range:
1 <= x <= 2Stock symbol(s). Single or comma-separated
Examples:
"AAPL"
"AAPL,MSFT,GOOG"
Response
Successful Response
Last modified on April 1, 2026
⌘I