Fails-to-Deliver Data API: SEC FTD data by symbol, CUSIP and date
Every row of the SEC's fails-to-deliver files since 2009 as JSON: settlement date, symbol, CUSIP, failed shares, price and value, with the source file on each row.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/fails-to-deliver?symbol=GME&startDate=2021-01-01&endDate=2021-02-15&size=5"
import os, requests
r = requests.get(
"https://secfeedapi.com/v1/fails-to-deliver",
params={'symbol': 'GME', 'startDate': '2021-01-01', 'endDate': '2021-02-15', 'size': '5'},
headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
)
print(r.json()){
"total": 5,
"hasMore": true,
"from": 0,
"size": 5,
"fails": [
{
"settlementDate": "2021-02-12",
"symbol": "GME",
"cusip": "36467W109",
"description": "GAMESTOP CORP (HLDG CO) CL A",
"quantity": 15102,
"price": 51.1,
"value": 771712.2,
"sourceFile": "cnsfails202102a.zip",
"sourceUrl": "https://www.sec.gov/files/data/fails-deliver-data/cnsfails202102a.zip"
},
{
"settlementDate": "2021-02-11",
"symbol": "GME",
"cusip": "36467W109",
"description": "GAMESTOP CORP (HLDG CO) CL A",
"quantity": 1534,
"price": 51.2,
"value": 78540.8,
"sourceFile": "cnsfails202102a.zip",
"sourceUrl": "https://www.sec.gov/files/data/fails-deliver-data/cnsfails202102a.zip"
}
],
"coverage": {
"firstSettlementDate": "2009-07-01",
"lastSettlementDate": "2026-10-30"
},
"source": "U.S. Securities and Exchange Commission, Fails-to-Deliver Data (NSCC CNS fails, published semi-monthly).",
"note": "Quantity is the aggregate net balance of shares that failed to be delivered on that settlement date, as reported by NSCC to the SEC; it is not the daily amount of new fails. Price is the prior day's closing price the SEC lists. Fails can have many causes and do not by themselves..."
}Overview
Twice a month the SEC publishes the securities that had fails to deliver at the National Securities Clearing Corporation: one zip file per half month, each a pipe delimited text file. This API loads all of them back to 2009 and lets you ask for one symbol or CUSIP across every date, or the largest fails in a window of up to a month.
The quantity is the total open balance of shares that failed to deliver on that settlement date, not the new fails of that day. Fails have many causes, so a large number is a question to look into, not a finding on its own.
What you get
Built for developers who would rather not parse EDGAR.
Every SEC file since mid 2009, refreshed when the SEC posts a new half month.
All settlement dates for one security, newest first, or sorted by quantity or dollar value.
Without a symbol, the biggest fails across the market for up to 31 days.
Each row names the SEC file it came from, with its URL.
Endpoints
Authenticate with Authorization: Bearer YOUR_KEY. Responses are JSON.
SEC fails-to-deliver data since 2009: settlement date, symbol, CUSIP, shares failed (open balance), prior day price and value, with the SEC source file on each row. One symbol or CUSIP across all dates, or the largest fails in a window of up to 31 days.
Parameters: symbol | cusip, startDate, endDate (YYYY-MM-DD; both required and at most 31 days apart without symbol or cusip), minQuantity, sort (date, quantity, value), order, from, size (max 500)
Response fields
The main fields in every result. The raw filing data is always one level down.
| Field | Meaning |
|---|---|
fails[].settlementDate | Settlement date the balance refers to. |
fails[].symbol, cusip, description | The security as the SEC lists it on that row. |
fails[].quantity | Shares failed to deliver (open balance) on that date. |
fails[].price, value | Prior day closing price from the SEC file, and quantity times price. |
fails[].sourceFile, sourceUrl | The SEC file the row came from. |
Use cases
- Studying settlement failures around squeezes, splits and corporate actions
- Adding a fails signal to a trading or risk model
- Checking a security's fails history for research or litigation
Guides
FAQ
Where does the data come from?
The SEC's Fails-to-Deliver Data page (NSCC CNS fails), published twice a month.
How current is it?
The SEC posts each half month about two weeks after it ends; the API picks new files up within a day.
Does a large fail mean naked short selling?
No. Fails come from many causes, including operational delays. The data shows the balance, not the reason.
Can I download every CUSIP?
No. Rows are returned per symbol, per CUSIP or for a short date window, with a row cap.
Try the Fails-to-Deliver Data API (SEC FTD) free
Free key, no card, no sales call.