SEC EDGAR earnings API
An earnings data API that shows its work
I read each company's quarterly results release on SEC EDGAR (Form 8-K Item 2.02, or Form 6-K for a foreign filer) and publish its revenue, net income and diluted EPS as JSON. Every figure comes with the sentence from the release that states it and a link to the filing on SEC.gov. Each one is cross-checked before it is published, and a figure I cannot confirm is withheld: left blank, never sent as zero. History is kept as first reported.
Educational information only, not investment advice.
How the published data checks out
- 17,126
- results filings read, from 4,231 companies, filed Oct 1, 2025 to Nov 27, 2026
- 79.0%
- of the 51,378 possible figures published (40,567); the other 10,811 were withheld, not guessed
- 87.4%
- of published figures the 10-Q check can cover were confirmed by the company's later 10-Q
- 0
- published figures that the 10-Q contradicts: a differing figure is withheld before publication
- 2.2 h
- median from SEC acceptance to publication (69 filings since Nov 21, 2026; 90% within 3.6 h)
Counted from the published data at the last site build, Nov 27, 2026. Method and the full tables: accuracy and coverage; raw numbers: /data/accuracy.json.
What it returns
- results: every published result filed on a day (default: the latest filing day). Each row has the form, filing date, SEC acceptance time, accession number and source_url, then for revenue, net income and diluted EPS: the figure as written (revenue_text), the number, its currency, the release's own line label, the sentence that states it (revenue_proof), the year-ago figure, and two flags: revenue_matches_10q and revenue_year_ago_matches_sec.
- company: one company's recent releases in that form, plus up to 20 quarters of revenue, net income and diluted EPS from its SEC XBRL data, as first reported, each with its accession number.
- outlook: outlook figures from a release next to the same figure in the company's previous release, with low and high values and the company's wording from both.
- Also: the AI spenders capex board, the outlook scorecard, 13F holders, buybacks and dilution, 10-K risk-factor changes, 8-K officer and debt events, and on Pro, an updates feed and the full archive. Every endpoint is in the developer docs and the OpenAPI 3.1 spec.
No stock prices, analyst estimates or forecasts, and no language model in the numbers.
The same question two ways
What was NVIDIA's latest quarterly revenue, and where does the company say so?
With raw EDGAR (companyfacts JSON)
The SEC's free XBRL API, one concept, one company. It works, and this is the part you write and maintain yourself.
from datetime import date
import requests
H = {"User-Agent": "Your Name [email protected]"} # the SEC asks for a contact
url = "https://data.sec.gov/api/xbrl/companyfacts/CIK0001045810.json"
gaap = requests.get(url, headers=H).json()["facts"]["us-gaap"]
# 1. Pick a revenue tag. Companies use different ones, and switch over time.
tags = ["Revenues",
"RevenueFromContractWithCustomerExcludingAssessedTax",
"SalesRevenueNet"]
rows = next(gaap[t]["units"]["USD"] for t in tags if t in gaap)
# 2. Keep three-month periods. The fourth quarter is usually not filed as a
# quarter: derive it as the 10-K full year minus the first nine months.
def days(r):
return (date.fromisoformat(r["end"]) - date.fromisoformat(r["start"])).days
quarters = [r for r in rows if "start" in r and 80 <= days(r) <= 100]
# 3. The same quarter comes back in later filings, sometimes restated.
# Keep the earliest "filed" per period to get it as first reported.
first = {}
for r in sorted(quarters, key=lambda r: r["filed"]):
first.setdefault((r["start"], r["end"]), r)
# 4. Still missing: these facts arrive with the 10-Q or 10-K, usually days
# or weeks after the results release, and nothing here gives you the
# sentence the company wrote. Then repeat for net income and EPS.With one call to this API
curl -H "x-api-key: YOUR_KEY" \ "https://yieldterminalpro.com/api/apps/6a44fce3122251d9ebac82ed/functions/data-api?endpoint=company&ticker=NVDA"
Live response, loaded just now from the no-key sample endpoint, which returns the same fields as the keyed call. Trimmed for display: 1 of 5 releases and the last 2 of 20 history quarters.
{
"endpoint": "company",
"ticker": "NVDA",
"company": "NVIDIA CORP",
"cik": 1045810,
"latest_filed": "2026-11-17",
"results": [
{
"form": "8-K",
"filed": "2026-11-17",
"quarter_ended": "labeled 2027 in the release",
"source_url": "https://www.sec.gov/Archives/edgar/data/1045810/000104581026000088/q3fy27pr.htm",
"accession": "0001045810-26-000088",
"revenue_text": "$115.84 billion (+103% vs $57.01 billion a year earlier)",
"revenue_value": 115844000000,
"revenue_currency": "USD",
"revenue_label": "Revenue",
"revenue_proof": [
"Document NVIDIA Announces Financial Results for Third Quarter Fiscal 2027 •Revenue of $115.8 billion, up 103% from a year ago •Data Center"
],
"revenue_matches_10q": false,
"revenue_year_ago_matches_sec": true,
"eps_text": "$2.70 (vs $1.30 a year earlier)",
"eps_value": 2.7,
"eps_currency": "USD",
"eps_label": "Diluted earnings per share",
"eps_proof": [
"margins were 74.8% and 74.9%, respectively. GAAP and non-GAAP earnings per diluted share were $2.70 and $2.68, respectively. “Our momentum is real."
],
"eps_matches_10q": false
}
],
"quarterly_history": [
{
"period_end": "2026-04-26",
"fiscal_year": 2027,
"fiscal_period": "Q1",
"revenue": {
"v": 81615000000,
"u": "USD",
"a": "0001045810-26-000052"
},
"net_income": {
"v": 58321000000,
"u": "USD",
"a": "0001045810-26-000052"
},
"eps": {
"v": 2.39,
"u": "USD/shares",
"a": "0001045810-26-000052"
}
},
{
"period_end": "2026-07-26",
"fiscal_year": 2027,
"fiscal_period": "Q2",
"revenue": {
"v": 96221000000,
"u": "USD",
"a": "0001045810-26-000075"
},
"net_income": {
"v": 59688000000,
"u": "USD",
"a": "0001045810-26-000075"
},
"eps": {
"v": 2.46,
"u": "USD/shares",
"a": "0001045810-26-000075"
}
}
]
}- Revenue: $115.84 billion (+103% vs $57.01 billion a year earlier)
- Net income: withheld in this release (left out of the JSON, not zero)
- Diluted EPS: $2.70 (vs $1.30 a year earlier)
Client libraries and other ways in
pip install yieldterminal
Python, standard library only. yieldterminal.sample("NVDA") works without a key. PyPI
npm install yieldterminal
JavaScript (ESM, no dependencies, TypeScript types). npm
Apify Actor
Free; writes results to an Apify dataset with your own key. Open on Apify
MCP connector and Google Sheets
Ask Claude or another MCP client through the connector, or pull figures into a spreadsheet with the Google Sheets functions.
Plans
Free key
$0
100 calls a day. Personal, non-commercial use, with attribution. Recent filing days, plus full history for ten sandbox tickers.
Developer
$29 a month
1,000 calls a day. Every published filing day, plus extra SEC fields. Commercial display of the filing-derived data in your own app or site, with a visible "Data: YieldTerminal Pro" credit (plain text, or a link that may be nofollow or sponsored).
Pro
$99 a month
20,000 calls a day, the updates feed and the full archive. Commercial display of the filing-derived data, no credit required.
Commercial display covers the data read from filings, not the price-derived levels endpoint. Yearly billing, the exact coverage of each plan and checkout are on the developer page.
Questions
Is there a free SEC earnings API?
Yes, two kinds. The SEC's own EDGAR APIs at data.sec.gov are free and need no key, but they return XBRL facts from 10-Q and 10-K filings rather than the results release, and they leave the tag choice, the fourth-quarter arithmetic and restatements to you. My API has a free key with 100 calls a day for personal, non-commercial use, and the sample endpoints on /earnings-api/try need no key at all.
How fast are results published?
The data updates twice each weekday, at 09:40 and 18:15 New York time, so it is not a real-time feed. For the 69 filings filed since Nov 21, 2026, the median time from SEC acceptance to publication was 2.2 hours, and 90% were published within 3.6 hours. That is a small, recent sample; /accuracy shows the current figure.
Does it include guidance?
Yes, as outlook changes. When a results release gives an outlook figure (such as revenue, adjusted EBITDA, capital expenditures, tax rate, operating margin, comparable sales, ARR or RPO) and the company's previous release gave the same figure for the same period and basis, the outlook endpoint returns both, with low and high values and the company's wording from each release. Many outlooks are left out, including EPS guidance and most table-only figures, so a missing row does not mean the outlook was unchanged. There are no analyst estimates.
Is the history point-in-time?
The company endpoint returns up to 20 quarters of revenue, net income and diluted EPS from the company's SEC XBRL data as first reported, each value with the accession number of the filing it came from, so a backtest does not see a later restatement. A fourth quarter derived as the full year less the first three quarters is marked d=1. Each row from the results endpoint also carries the filing date, the SEC acceptance time and the time I published it.
Can I use it commercially?
Not on the free key, which is for personal, non-commercial use. Both paid plans include commercial display of the filing-derived data (results, history, outlook figures and quotes, filing links and the other filing-based endpoints) in your own app or site: the Developer plan ($29 a month) with a visible "Data: YieldTerminal Pro" credit, as plain text or as a link to yieldterminalpro.com (a link may carry rel="nofollow" or rel="sponsored"; a followed link is not required), the Pro plan ($99 a month) with no credit required. The levels endpoint is not included, because its values are computed from third-party market prices; on every plan it is for personal and internal use only. Reselling or passing on the raw dataset is not part of any plan; write to [email protected] about a separate licence.
What happens when a number can't be verified?
It is withheld. A figure is published only when the number in the release's financial table is also stated in the release's text, or, for a U.S. filer, matches what the company reported to the SEC for that quarter and for the year-ago quarter. A withheld figure's number fields are left out of the JSON and its text field is null or absent: it is never sent as zero. If the company's 10-Q later contradicts a published figure within the 45-day re-check window, the figure is taken down.
Start here
- Sandbox: run the sample endpoints in your browser and copy the request as curl, Python or JavaScript.
- Developer docs and keys: every endpoint, field tables and checkout.
- Results pages: the same figures as web pages, each with its sentence and filing link.
- Free CSV: one row per published filing, with the 10-Q and year-ago flags.
- Managed feeds and custom data: a scheduled earnings feed for your watchlist, point-in-time backfills or guidance-change extraction, delivered for you.
- Point-in-time earnings dataset: the whole history as CSV and Parquet for back-tests, one time from $149 with 12 months of refreshes.
- Comparing options: alongside or instead of Financial Modeling Prep, and yfinance and earnings data for commercial apps.
- n8n workflow template: new results for your watchlist posted to Slack or Google Sheets, with the release sentence and filing link.
- Questions or a figure you think is wrong: [email protected].