Free Dividend & Split History API
Get the complete dividend payment history and stock split timeline for any US public company. Includes annual dividend totals, consecutive annual increase streak count, and ex-dividend dates.
Endpoint
GET https://securitiesdb.com/api/v1/stocks/{ticker}/dividendsResponse Fields
| Field | Description |
|---|---|
| summary.annual_totals | Object with year → total dividend amount |
| summary.consecutive_annual_increases | Number of consecutive years dividends have increased |
| dividends[] | Array of individual dividend payments with ex_date, amount, type |
| splits[] | Array of stock splits with date and ratio |
Python Example — Dividend Aristocrat Scanner
import requests
# Scan for stocks with 20+ years of consecutive dividend increases
blue_chips = ["JNJ", "PG", "KO", "PEP", "MMM", "ABBV", "T", "XOM", "CVX"]
aristocrats = []
for ticker in blue_chips:
r = requests.get(f"https://securitiesdb.com/api/v1/stocks/{ticker}/dividends")
if r.status_code != 200:
continue
data = r.json()["data"]
streak = data["summary"]["consecutive_annual_increases"]
if streak >= 20:
annual = data["summary"]["annual_totals"]
latest_year = max(annual.keys())
aristocrats.append({
"ticker": ticker,
"streak": streak,
"latest_annual": annual[latest_year],
})
aristocrats.sort(key=lambda x: -x["streak"])
print("Dividend Aristocrats (20+ year streaks):")
for a in aristocrats:
print(f" {a['ticker']}: {a['streak']} consecutive years, "
f"latest annual: ${a['latest_annual']:.2f}")