SEC EDGAR already publishes company facts as JSON, but the raw files are awkward to use. companyfacts for a large filer is several megabytes. Tags have fallbacks (RevenueFromContractWithCustomerExcludingAssessedTax vs Revenues). Comparative figures in the latest 10-K share the filing's fy. And you still have to resolve a ticker to a CIK.
SEC EDGAR Financials is a thin, read-only API on top of the official data.sec.gov submissions and per-metric companyconcept endpoints. It returns a company profile, a clean statement row per period (revenue, net income, cash flow, free cash flow, assets, liabilities, equity, EPS, shares), and a recent-filings list with EDGAR URLs.
This product uses the API.market slug sec-edgar-financials.
Base URL and auth
https://prod.api.market/api/v1/veriline/sec-edgar-financials
Send x-api-market-key: YOUR_API_KEY on every request, including /health. Use the prod.api.market host (https://api.market/api/v1/... returns HTTP 421). The identifier in every path is a US ticker (AAPL, BRK-B or BRK.B) or a CIK (320193 or 0000320193). The Basic trial allows 1 request per second; space consecutive calls accordingly.
The envelope is the same as the other Veriline APIs: { success, data, error, meta }.
The sample payloads below were captured through the live API.market gateway against official SEC EDGAR data. Figures move when a new filing is ingested. They are not audited by Veriline API and are not investment advice.
Company profile
GET /v1/company/{ticker_or_cik}
curl -X GET 'https://prod.api.market/api/v1/veriline/sec-edgar-financials/v1/company/AAPL' \
-H 'x-api-market-key: YOUR_API_KEY'
{
"success": true,
"data": {
"name": "Apple Inc.",
"cik": "0000320193",
"tickers": ["AAPL"],
"exchange": "Nasdaq",
"sic": "3571",
"sic_description": "Electronic Computers",
"fiscal_year_end": "09-25",
"entity_type": "operating",
"category": "Large accelerated filer",
"ein": "942404110",
"state_of_incorporation": "CA",
"phone": "(408) 996-1010",
"source": "SEC EDGAR submissions (data.sec.gov)"
}
}
Unknown tickers return HTTP 404 (not_found). A malformed identifier returns HTTP 400 (invalid_identifier).
Financials
GET /v1/financials/{ticker_or_cik}
| Parameter | Default | Notes |
|---|---|---|
period |
annual |
annual (also fy, year, 10-k) returns 10-K FY periods. quarterly (also 10-q) returns 10-Q Q1–Q3. Q4 is not invented by subtracting three quarters from the annual total. |
limit |
4 annual / 8 quarterly | 1–20. |
curl -G 'https://prod.api.market/api/v1/veriline/sec-edgar-financials/v1/financials/AAPL' \
--data-urlencode 'period=annual' \
--data-urlencode 'limit=4' \
-H 'x-api-market-key: YOUR_API_KEY'
Each statement row has the period bounds and one object per metric (value, unit, tag, start, end). Free cash flow is derived when both operating cash flow and capex exist in the same period and unit: operating_cash_flow - |capital_expenditures|, with derived: true. source_tags tells you which us-gaap tag won for each metric.
A useful gotcha: key rows by start and end (or frame), not by fy alone. Comparative columns from the latest 10-K are often tagged with that filing's fy and filed date, even when end is a prior fiscal year. Apple's FY 2026 10-K, for example, restates earlier years under fy: 2026 and filed: "2026-11-03". The period end dates are the reliable index:
| Period end | Revenue | Net income | Free cash flow | Diluted EPS |
|---|---|---|---|---|
| 2026-09-26 | $478.8B | $132.2B | $136.1B | $8.98 |
| 2025-09-27 | $416.2B | $112.0B | $98.8B | $7.46 |
| 2024-09-28 | $391.0B | $93.7B | $108.8B | $6.08 |
| 2023-09-30 | $383.3B | $97.0B | $99.6B | $6.13 |
Trimmed row for the latest annual period:
{
"fy": 2026,
"fp": "FY",
"form": "10-K",
"filed": "2026-11-03",
"start": "2025-09-28",
"end": "2026-09-26",
"frame": "CY2026",
"revenue": {
"value": 478834000000,
"unit": "USD",
"tag": "RevenueFromContractWithCustomerExcludingAssessedTax",
"start": "2025-09-28",
"end": "2026-09-26"
},
"net_income": {
"value": 132175000000,
"unit": "USD",
"tag": "NetIncomeLoss"
},
"free_cash_flow": {
"value": 136056000000,
"unit": "USD",
"tag": "derived",
"derived": true,
"formula": "operating_cash_flow - |capital_expenditures|"
},
"eps_diluted": {
"value": 8.98,
"unit": "USD/shares",
"tag": "EarningsPerShareDiluted"
}
}
The top-level payload also includes company (same shape as /v1/company), period, limit, currency (USD), source_tags, source (SEC EDGAR XBRL companyconcept (data.sec.gov)), and the disclaimer quoted above.
Recent filings
GET /v1/filings/{ticker_or_cik}
| Parameter | Default | Notes |
|---|---|---|
form |
10-K,10-Q,8-K |
Comma-separated SEC form types. Amendments (10-K/A) are included only if you ask for them. |
limit |
20 | 1–50. |
curl -G 'https://prod.api.market/api/v1/veriline/sec-edgar-financials/v1/filings/AAPL' \
--data-urlencode 'form=10-K,10-Q' \
--data-urlencode 'limit=5' \
-H 'x-api-market-key: YOUR_API_KEY'
{
"success": true,
"data": {
"company": {
"name": "Apple Inc.",
"cik": "0000320193",
"tickers": ["AAPL"]
},
"form": ["10-K", "10-Q"],
"limit": 5,
"count": 5,
"results": [
{
"form": "10-K",
"filed": "2026-11-03",
"report_date": null,
"accession_number": "0000320193-26-000026",
"primary_document": null,
"description": "Annual report [Section 13 and 15(d), not S-K Item 405]",
"size": null,
"is_xbrl": true,
"filing_url": null,
"index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm"
}
],
"source": "SEC EDGAR submissions (data.sec.gov)"
}
}
index_url points at the official EDGAR filing index, so you can open a 10-K without scraping. On large filers such as Apple, the list is assembled from the company Atom feed, so filing_url, primary_document, report_date, and size are null. Those fields are populated when the fallback submissions file is small enough to parse in full.
Python and JavaScript
import os
import time
import requests
API_KEY = os.environ["API_MARKET_KEY"]
BASE = "https://prod.api.market/api/v1/veriline/sec-edgar-financials"
def get(path, **params):
res = requests.get(
f"{BASE}{path}",
params=params or None,
headers={"x-api-market-key": API_KEY},
timeout=20,
)
body = res.json()
if not body.get("success"):
raise RuntimeError(f"{res.status_code} {body.get('error')}")
return body["data"]
profile = get("/v1/company/AAPL")
time.sleep(1) # Basic trial cap is 1 request/second
annual = get("/v1/financials/AAPL", period="annual", limit=4)
for row in annual["statements"]:
rev = (row["revenue"] or {}).get("value")
print(row["end"], rev)
const base = "https://prod.api.market/api/v1/veriline/sec-edgar-financials";
const res = await fetch(`${base}/v1/financials/AAPL?period=annual&limit=4`, {
headers: { "x-api-market-key": process.env.API_MARKET_KEY },
});
const body = await res.json();
if (!body.success) throw new Error(body.error?.message);
Missing metrics and tag fallbacks
Not every filer reports every concept. A metric object is null when none of the fallback tags produced a fact for that period. Do not coerce that to zero. The parent payload's source_tags records which us-gaap tag was used for each metric — for Apple, revenue typically comes from RevenueFromContractWithCustomerExcludingAssessedTax, net income from NetIncomeLoss, and free cash flow is derived rather than read from a single tag.
If you are charting several companies, align rows on end (and fp) and leave gaps where a metric is null. The envelope currently sets top-level currency to USD; still read unit on each metric (USD, USD/shares, or shares) before you add figures together.
Unknown tickers and bad identifiers are described above. An invalid period query returns HTTP 400 (invalid_parameter). An invalid form list on /v1/filings is also invalid_parameter.
MCP
The official Veriline MCP server is @verilineapi/mcp (registry name io.github.verilineapi/veriline-mcp). Version 1.0.0 ships six read-only tools for the APIs that are already live on API.market: audit_email_deliverability, validate_vat, lookup_lei, validate_iban, get_npi and search_npi.
SEC tools are not in v1.0.0. They will land in a follow-up package version. Until then, call the HTTP paths above. API.market also exposes a per-product MCP endpoint at the documented pattern https://api.market/api/mcp/veriline/sec-edgar-financials, using the same x-api-market-key header.
To use the existing package with the live products:
{
"mcpServers": {
"veriline": {
"command": "npx",
"args": ["-y", "@verilineapi/mcp"],
"env": { "VERILINE_API_KEY": "your-api-market-key" }
}
}
}
VERILINE_API_BASE defaults to https://prod.api.market/api/v1/veriline, and the buyer header defaults to x-api-market-key.
Practical notes
- Data is sourced from official SEC EDGAR APIs. A declared User-Agent is sent as required, and concept responses are cached to keep request volume down.
-
period=quarterlystops at Q3. Useperiod=annualfor full-year 10-K figures. - Store and product: Veriline API · SEC EDGAR Financials. A Postman collection is in the public Veriline API workspace.
Questions: verilineapi@proton.me.
Top comments (0)