Trailing twelve month financials
curl --request GET \
--url https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm"
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/companies/{symbol}/financials/ttm', 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/companies/{symbol}/financials/ttm",
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/companies/{symbol}/financials/ttm"
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/companies/{symbol}/financials/ttm")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm")
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,
"data": {
"data": [
{
"as_of": "Q4 2025",
"quarters_included": [
"Q4 2025",
"Q3 2025",
"Q2 2025",
"Q1 2025"
],
"currency": "NGN",
"income_statement_ttm": {
"revenue": 1207773081000,
"net_income": 104966001000,
"eps_basic": 132.42,
"eps_diluted": 132.42
},
"cash_flow_ttm": {
"net_cash_operating": 362778896000,
"free_cash_flow": 265796451000,
"dividends_paid": -1491065000
},
"balance_sheet": {
"total_assets": 680000000000,
"shareholders_equity": 1420000000000
},
"ratios_ttm": {
"gross_margin": 0.3609,
"return_on_equity": 0.0739
}
}
],
"count": 1
},
"meta": {
"plan": "business",
"calls_used": 1208,
"calls_remaining": 498792,
"reset_at": "2026-05-15T23:57:00.000Z"
}
}Company Endpoints
Trailing Twelve Month Financials
Rolling TTM financials, rolled forward from the latest full year and year-to-date filings.
GET
/
companies
/
{symbol}
/
financials
/
ttm
Trailing twelve month financials
curl --request GET \
--url https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm"
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/companies/{symbol}/financials/ttm', 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/companies/{symbol}/financials/ttm",
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/companies/{symbol}/financials/ttm"
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/companies/{symbol}/financials/ttm")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/companies/{symbol}/financials/ttm")
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,
"data": {
"data": [
{
"as_of": "Q4 2025",
"quarters_included": [
"Q4 2025",
"Q3 2025",
"Q2 2025",
"Q1 2025"
],
"currency": "NGN",
"income_statement_ttm": {
"revenue": 1207773081000,
"net_income": 104966001000,
"eps_basic": 132.42,
"eps_diluted": 132.42
},
"cash_flow_ttm": {
"net_cash_operating": 362778896000,
"free_cash_flow": 265796451000,
"dividends_paid": -1491065000
},
"balance_sheet": {
"total_assets": 680000000000,
"shareholders_equity": 1420000000000
},
"ratios_ttm": {
"gross_margin": 0.3609,
"return_on_equity": 0.0739
}
}
],
"count": 1
},
"meta": {
"plan": "business",
"calls_used": 1208,
"calls_remaining": 498792,
"reset_at": "2026-05-15T23:57:00.000Z"
}
}This endpoint returns trailing-twelve-month (TTM) financials. It’s shaped a little differently from the other financials endpoints: by default it returns a single rolling snapshot, not a list of filed reporting periods.
NGX companies publish cumulative interim results (Q1, H1 and 9M) and an audited full year, not four standalone quarters. TTM therefore uses the standard year-to-date roll-forward. When the latest filed period is a full year, TTM is that year. Otherwise TTM = previous full year + current year to date - the same year-to-date period a year earlier. For example, at H1 2026, TTM = FY 2025 + H1 2026 - H1 2025. Each snapshot lists the periods it combined in
To chart a rolling TTM revenue trend over the last two years of quarter-ends:
This endpoint requires a Business plan or higher.
components and the method in method.
The income statement and cash flow sections cover the twelve months to period_end. The balance sheet section is not summed: it’s the balance sheet at period_end, since assets and liabilities don’t add across periods the way revenue or cash flow does. Ratios are computed from the TTM flow figures against that balance sheet.
Figures are in the company’s reporting currency, given in currency. AIRTELAFRI, SEPLAT and ETI report in US dollars. For naira valuation figures, use ttm_eps and pe_ratio on the company profile, which are converted to NGN at the current rate.
Pass limit to get earlier TTM windows as well, most recent first.
Companies without a full year and the matching prior-year period on file return a 404 that explains what’s missing, rather than a figure built from incomplete periods.
For example, to fetch the latest TTM snapshot for Nestlé Nigeria:
curl "https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm" \
-H "Authorization: Bearer ngm_live_YOUR_KEY"
const res = await fetch('https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm', {
headers: { Authorization: 'Bearer ngm_live_YOUR_KEY' },
});
const { data } = await res.json();
const latest = data.data[0];
// latest.income_statement_ttm.revenue — trailing 12 month revenue
// latest.quarters_included — which 4 quarters were summed
import requests
res = requests.get(
'https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm',
headers={'Authorization': 'Bearer ngm_live_YOUR_KEY'},
)
data = res.json()['data']
curl "https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm?limit=8" \
-H "Authorization: Bearer ngm_live_YOUR_KEY"
const url = new URL('https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm');
url.searchParams.set('limit', '8');
const res = await fetch(url, {
headers: { Authorization: 'Bearer ngm_live_YOUR_KEY' },
});
const { data } = await res.json();
// data.data — 8 rolling TTM snapshots, most recent first
import requests
res = requests.get(
'https://api.ngnmarket.com/v1/companies/NESTLE/financials/ttm',
params={'limit': 8},
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.