Financial ratios
curl --request GET \
--url https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/ratios \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/ratios")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/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{
"success": true,
"meta": {
"plan": "starter",
"calls_used": 4821,
"calls_remaining": 95179,
"reset_at": "2026-06-15T23:57:00.000Z",
"market": "US",
"currency": "USD",
"request_id": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"newest": "2023-11-07T05:31:56Z"
},
"data": {
"symbol": "AAPL",
"name": "Apple Inc",
"cik": 320193,
"data": [
{
"fiscal_year": 2026,
"fiscal_period": "FY",
"timeframe": "annual",
"period_coverage": "standalone",
"period_label": "FY 2026",
"period_start": "2023-12-25",
"period_end": "2023-12-25",
"currency": "USD",
"form": "10-K",
"filing_date": "2023-12-25",
"accession_number": "0000320193-26-000026",
"source_url": "<string>",
"is_derived": true,
"gross_margin": 123,
"operating_margin": 123,
"net_profit_margin": 123,
"return_on_equity": 123,
"return_on_assets": 123,
"return_on_invested_capital": 123,
"current_ratio": 123,
"debt_to_equity": 123,
"dividends_per_share": 123,
"payout_ratio": 123,
"interest_coverage": 123,
"free_cash_flow_margin": 123,
"book_value_per_share": 123,
"free_cash_flow_per_share": 123,
"revenue_per_share": 123
}
],
"count": 123
}
}Financial Statements
US Financial Ratios
Margins, returns, liquidity, leverage and per-share figures for a US company.
GET
/
us
/
tickers
/
{symbol}
/
financials
/
ratios
Financial ratios
curl --request GET \
--url https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/ratios \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/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.ngnmarket.com/v1/us/tickers/{symbol}/financials/ratios")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/us/tickers/{symbol}/financials/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{
"success": true,
"meta": {
"plan": "starter",
"calls_used": 4821,
"calls_remaining": 95179,
"reset_at": "2026-06-15T23:57:00.000Z",
"market": "US",
"currency": "USD",
"request_id": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"newest": "2023-11-07T05:31:56Z"
},
"data": {
"symbol": "AAPL",
"name": "Apple Inc",
"cik": 320193,
"data": [
{
"fiscal_year": 2026,
"fiscal_period": "FY",
"timeframe": "annual",
"period_coverage": "standalone",
"period_label": "FY 2026",
"period_start": "2023-12-25",
"period_end": "2023-12-25",
"currency": "USD",
"form": "10-K",
"filing_date": "2023-12-25",
"accession_number": "0000320193-26-000026",
"source_url": "<string>",
"is_derived": true,
"gross_margin": 123,
"operating_margin": 123,
"net_profit_margin": 123,
"return_on_equity": 123,
"return_on_assets": 123,
"return_on_invested_capital": 123,
"current_ratio": 123,
"debt_to_equity": 123,
"dividends_per_share": 123,
"payout_ratio": 123,
"interest_coverage": 123,
"free_cash_flow_margin": 123,
"book_value_per_share": 123,
"free_cash_flow_per_share": 123,
"revenue_per_share": 123
}
],
"count": 123
}
}Returns ratios for each period: gross, operating and net margins, return on equity, assets and invested capital, current ratio,
debt to equity, interest coverage, payout ratio and per-share figures. Ratios are decimal fractions, so
0.25 is 25%. Per-share
figures are in the period’s currency.
Each period links to the SEC filing it comes from. See US financial data for how periods, currencies and trailing twelve months work.
Starter receives the current fiscal year. Pro receives the latest three fiscal years, annual only. Business and Enterprise receive
the full history, annual and quarterly, and period=ttm.
For example:
curl "https://api.ngnmarket.com/v1/us/tickers/NVDA/financials/ratios" \
-H "Authorization: Bearer ngm_live_YOUR_KEY"
const url = new URL('https://api.ngnmarket.com/v1/us/tickers/NVDA/financials/ratios');
const res = await fetch(url, {
headers: { Authorization: 'Bearer ngm_live_YOUR_KEY' },
});
const { data } = await res.json();
import requests
res = requests.get(
'https://api.ngnmarket.com/v1/us/tickers/NVDA/financials/ratios',
headers={'Authorization': 'Bearer ngm_live_YOUR_KEY'},
)
data = res.json()['data']
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Query Parameters
Annual (fiscal years) or quarterly periods. Defaults to annual. ttm returns the trailing twelve months to the latest filing (Business plan); with limit, rolling windows stepping back one filed period at a time (default 1, max 40). The other filters do not apply to ttm.
Available options:
annual, quarterly, ttm