Home / Guides / Identifiers & company lists
Identifiers & company lists

Delisted stocks and ticker history from SEC filings

Find delisted stocks, the exact Form 25 that removed them and every ticker a company has used, with the SecFeed delistings and ticker history APIs. Avoid survivorship bias in backtests.

A backtest that only uses companies listed today ignores every company that was removed along the way: bankruptcies, buyouts, exchange removals. That is survivorship bias. Two endpoints help you rebuild the missing names from SEC filings:

  • /v1/delistings lists Form 25 and 25-NSE filings, the notices that remove a security from an exchange.
  • /v1/ticker-history shows every ticker a company has used and every company that used a ticker.

Setup

import os
import requests

BASE = "https://secfeedapi.com"
HEADERS = {"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"}

def get(path, **params):
    r = requests.get(f"{BASE}{path}", params=params, headers=HEADERS, timeout=60)
    r.raise_for_status()
    return r.json()

Why a security was removed

Each Form 25 cites the provision of Rule 12d2-2 it relies on, and the API turns that into plain words in reason. The exchange removal of SVB Financial Group in 2023 looks like this:

for d in get("/v1/delistings", ticker="SIVB", size=1)["delistings"]:
    print(d["filed"], d["companyName"], "|", d["securityClass"], "|", d["reason"])
2023-05-02 SVB FINANCIAL GROUP | Common stock and preferred stock | removal initiated by the exchange (12d2-2(b))

An older filing from the same company shows a different reason, a trust preferred class that was redeemed (class matured, redeemed or retired). Filter on reason before you treat a row as a failure: many Form 25s are just a retired bond or warrant class.

All delistings in a window

r = get("/v1/delistings", startDate="2023-03-01", endDate="2023-03-31", size=100)
print(len(r["delistings"]), r["hasMore"])
100 True

Page with from until hasMore is false. Every row carries the accession number and a sourceUrl to the SEC document, so you can check any row against the original.

Tickers over time

for rec in get("/v1/ticker-history", ticker="FB")["companies"][0]["records"]:
    print(rec["ticker"], rec["exchange"], rec["firstSeen"], rec["lastSeen"], rec["source"])
FB NASDAQ 2020-01-30 2022-02-03 xbrl_dei

Ask for META and you get the later record (2023-02-02 onward) for the same CIK, 1326801. Join on the CIK, not the ticker, and the two eras line up.

Coverage, stated plainly

  • Delistings come from Form 25 filings in XML, 2007 onward. Earlier paper and text filings are not included.
  • Ticker history comes from the cover page of 10-K filings since mid 2019 plus daily snapshots of the SEC's ticker file. It is not a complete record before 2019.
  • ticker on a delisting is filled only when the company has exactly one ticker on record, and tickerMatch says how.

For the full parameter list see the Delisted Stocks API and Ticker History API pages.

More identifiers & company lists guides

Run this guide with your own key

Free key, no card needed. Every example on this page works on the free plan.

Get free API key →