When a seller does not deliver shares by the settlement date, the shortfall is a fail to deliver. The SEC publishes the outstanding fails for every US stock twice a month, as large text files. AuraStream turns them into a time series per stock, through the same API as its market and filings data.
What you get
- One row per settlement date on which the stock had fails outstanding at the NSCC, aggregated over all clearing members.
- Fields:
fails(total fails-to-deliver balance in shares),price(previous day’s closing price), and the security’ssymbol,cusipanddescription. - Any US stock or ETF, requested by symbol (
GME) or 9-character CUSIP.
Example: fails-to-deliver in GameStop
import requests
import pandas as pd
URL = "https://api.aurastream.unbiased-alpha.com/timeseries"
HEADERS = {"x-api-key": "YOUR_AURASTREAM_API_KEY"}
data = requests.post(URL, headers=HEADERS, json={
"tickerlist": ["GME"],
"start": "2024-01-01",
"end": "2025-01-01",
"interval": "1d",
"source": "edgar",
"dataset": "ftd",
"credentials": {"user_agent": "Your Company contact@yourcompany.com"},
}).json()
ftd = pd.DataFrame.from_dict(data["GME"], orient="index")
ftd["value_usd"] = ftd["fails"].astype(float) * ftd["price"].astype(float)
print(ftd.sort_values("value_usd").tail(10))
The SEC asks every automated request to identify the sender with a name and contact email. That is the user_agent above: no registration or SEC key is needed.
Timing
The SEC publishes the data twice a month, for the first and second half of each month, about two weeks after each period ends. Rows are stamped at the settlement date, so recent dates appear late, and a backtest should only use a row once its half-month file was out.
From Claude or ChatGPT
With the AuraStream MCP server you can ask “Show the largest fails-to-deliver in GameStop in 2024” and the assistant fetches the data itself. Add https://aurastream.unbiased-alpha.com/mcp to your client with your API key, or install it with pip install aurastream-mcp.
From OpenBB
With the open-source openbb-aurastream extension (pip install openbb-aurastream), the same data is one line in the OpenBB Platform: obb.aurastream.fails_to_deliver("GME")
Pricing
The free plan includes 500 calls a month without a credit card. SEC data is free to reuse.
Get a free API key EDGAR source documentation
Questions
Is fails-to-deliver the same as short interest?
No. Short interest counts shares sold short and not yet bought back. Fails-to-deliver counts shares that were due at settlement and not delivered, whatever the reason, so the two can move quite differently.
What else comes from the SEC?
The same edgar source serves insider trades, 13F holdings, 5% stakes, fund holdings and 8-K events. See the SEC EDGAR data page.
Is this real-time data?
No. It follows the SEC’s twice-monthly publication.