Free Daily Diff API — Track What Changed Today
A change-log for the entire market. The Daily Diff endpoint returns everything that moved since the last trading day: price changes, volume anomalies, upcoming ex-dividend dates, earnings dates, and corporate actions. Build a morning briefing bot, alerting system, or automated journal in minutes.
Endpoint
GET https://securitiesdb.com/api/v1/daily-diff
What Is a Daily Diff Feed?
Traditional market data APIs force you to poll thousands of endpoints to detect changes. The Daily Diff inverts this: we compute the delta for every tracked security and deliver it in a single request. Think of it as git diff for the stock market.
Use cases: Discord morning-briefing bots, Slack alerts, automated trading journals, portfolio monitoring dashboards, and regression tests for quant models.
Response Fields
| Field | Type | Description |
|---|---|---|
| as_of | string | Date the diff covers |
| total_securities | integer | Total securities tracked |
| changes.price_moves | array | Top absolute price movers |
| changes.volume_spikes | array | Tickers with unusual volume |
| changes.corporate_actions | array | Dividends, splits, spin-offs |
Python Example — Morning Briefing Bot
import requests
diff = requests.get("https://securitiesdb.com/api/v1/daily-diff").json()["data"]
print(f"Market Diff — {diff['as_of']}")
print(f"Tracking {diff['total_securities']} securities\n")
# Top movers
moves = diff["changes"]["price_moves"][:10]
print("Top Price Moves:")
for m in moves:
arrow = "🔺" if m["change_pct"] > 0 else "🔻"
print(f" {arrow} {m['ticker']:6s} {m['change_pct']:+.1f}% ({m['close']:.2f})")
# Volume anomalies
spikes = diff["changes"]["volume_spikes"][:5]
if spikes:
print("\nVolume Spikes:")
for s in spikes:
print(f" ⚡ {s['ticker']:6s} {s['volume_ratio']:.1f}x avg volume")
# Upcoming ex-dividend
actions = [a for a in diff["changes"]["corporate_actions"] if a["type"] == "dividend"]
if actions:
print(f"\nUpcoming Dividends: {len(actions)} ex-dates")