Dividend history
curl --request GET \
--url https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends"
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}/dividends', 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}/dividends",
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}/dividends"
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}/dividends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends")
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": "<string>",
"name": "<string>",
"data": [
{
"ex_dividend_date": "2023-12-25",
"record_date": "2023-12-25",
"pay_date": "2023-12-25",
"declaration_date": "2023-12-25",
"cash_amount": 0.27,
"currency": "USD",
"dividend_type": "cash",
"frequency": 4
}
],
"count": 123,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
}
}Ticker Endpoints
US Dividend History
Every dividend for a US stock, ADR or ETF, with ex-dividend, record and pay dates.
GET
/
us
/
tickers
/
{symbol}
/
dividends
Dividend history
curl --request GET \
--url https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends"
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}/dividends', 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}/dividends",
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}/dividends"
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}/dividends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/us/tickers/{symbol}/dividends")
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": "<string>",
"name": "<string>",
"data": [
{
"ex_dividend_date": "2023-12-25",
"record_date": "2023-12-25",
"pay_date": "2023-12-25",
"declaration_date": "2023-12-25",
"cash_amount": 0.27,
"currency": "USD",
"dividend_type": "cash",
"frequency": 4
}
],
"count": 123,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
}
}Returns every dividend for a US stock, ADR or ETF, newest first: ex-dividend, record, pay and declaration dates, the cash amount per
share, the type (
cash, stock or special) and how many payments a year the company makes (frequency: 12, 4, 2 or 1, and 0
when irregular).
History depth follows your plan, as on the NGX dividends endpoint: Starter receives the last five years and Pro and above the full
history. A from earlier than your plan allows is moved forward to the earliest date you can access.
curl "https://api.ngnmarket.com/v1/us/tickers/KO/dividends?from=2024-01-01" \
-H "Authorization: Bearer ngm_live_YOUR_KEY"
const url = new URL('https://api.ngnmarket.com/v1/us/tickers/KO/dividends');
url.searchParams.set('from', '2024-01-01');
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/KO/dividends',
params={'from': '2024-01-01'},
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.