s6y

For developers

A program can do here what a reader does: find a company, list its filings and a filing's documents, read any document as text, and check a quotation against it for a link that opens the filing at those words. The addresses below answer in JSON or Markdown, free, with no key and no account, and a web page on any site may call them. This page describes each one with an example you can open; openapi.json describes the same for tools, in OpenAPI 3.1.

Built on them is s6y, an open-source command, Python library and MCP server for AI assistants. Beside them are feeds and calendars, and edgar-sgml, the description of a filing's SGML header that this site was built on.

The API

Each answer gives the address of the next, so a program needs only a company's name to begin with:

AddressWhat it answers
/findCompanies and other filers by name, ticker symbol or SEC number
/c/{company}/filings.jsonA company's filings, newest first
/c/{company}/{filing}/documents.jsonThe documents of a filing
/c/{company}/{filing}/{document}.mdA document of a filing as text (Markdown)
/quoteWhether a document has a quoted passage, and the link to it

How they answer

Companies and other filers by name, ticker symbol or SEC number

GET /find

The best matches first: an exact ticker or SEC number, then listed companies, then other filers. filings is where each one's filings are listed.

ParameterWhereWhat it isExample
qquery, requiredA name, a ticker symbol or an SEC number (CIK).cvs health

For example (open it to see the answer):

curl 'https://s6y.io/find?q=cvs%20health'

The answer is JSON, with these members:

MemberTypeWhat it is
querystringWhat was asked for.
companiesarray of objectsThe best matches first, up to ten.
companies[].namestringAs the site writes it.
companies[].tickersarray of stringsIts ticker symbols, if it is listed.
companies[].cikintegerSEC's number.
companies[].pathstringIts page.
companies[].filingsstringWhere its filings are listed as data.

Or it is one of these:

A company's filings, newest first

GET /c/{company}/filings.json

What the company has filed, each with what it reports where that is known and where its documents are listed. From the company's record as last read from SEC, which may be some hours old.

ParameterWhereWhat it isExample
companypath, requiredA ticker symbol, or the company's SEC number (CIK).cvs
formqueryOnly filings on this form, as forms writes it.10-K
limitqueryHow many, up to 100. 20 if not given.5

For example (open it to see the answer):

curl 'https://s6y.io/c/cvs/filings.json?form=10-K&limit=5'

The answer is JSON, with these members:

MemberTypeWhat it is
companystringAs the site writes it.
cikintegerSEC's number.
tickersarray of stringsIts ticker symbols, if it is listed.
pathstringThe company's page.
formsarray of stringsEvery form the company has a filing on.
filingsarray of objectsNewest first.
filings[].formstringAs SEC names it.
filings[].filedstring (date) or nullThe date of filing.
filings[].saysstring or nullWhat the filing reports, where known: an 8-K's items, an insider's trade, a holder's stake.
filings[].accessionstringSEC's accession number.
filings[].pathstringIts page.
filings[].documentsstringWhere its documents are listed as data.
moreintegerFilings that matched and were left out by limit.

Or it is one of these:

The documents of a filing

GET /c/{company}/{filing}/documents.json

The filing's documents worth reading, the main one marked: the form itself and its exhibits, without images and data files. text is the document as Markdown, null for a document served as SEC has it (a PDF).

ParameterWhereWhat it isExample
companypath, requiredA ticker symbol, or the company's SEC number (CIK).cvs
filingpath, requiredThe form and the date filed, as the list of filings gives it, or the accession number.10-K-20260210

For example (open it to see the answer):

curl 'https://s6y.io/c/cvs/10-K-20260210/documents.json'

The answer is JSON, with these members:

MemberTypeWhat it is
companystringAs the site writes it.
formstringAs SEC names it.
filedstring (date) or nullThe date of filing.
accessionstringSEC's accession number.
pathstringThe filing's page.
documentsarray of objectsAs the filing's page lists them.
documents[].namestringThe file.
documents[].typestringAs the filing calls it: 10-K, EX-99.1.
documents[].whatstringIn words.
documents[].mainbooleanWhether it is the filing's main document.
documents[].pathstringIts page, which a quote link opens.
documents[].textstring or nullIts text version, or null if it has none.

Or it is one of these:

A document of a filing as text (Markdown)

GET /c/{company}/{filing}/{document}.md

The filer's text with nothing taken out: ## is added before an item's heading, ### before a line set in bold, and | between the cells of a table's row. A document of up to 5,000 words is answered whole. A longer one is answered with an outline of its parts and, for an annual report, its items; ask for those with part and item.

ParameterWhereWhat it isExample
companypath, requiredA ticker symbol, or the company's SEC number (CIK).cvs
filingpath, requiredThe form and the date filed, as the company's page gives it, or the accession number.10-K-20260210
documentpath, requiredThe document's file name, from the filing's page.cvs-20251231.htm
partqueryA part of a long document, numbered from 1, or all for the whole. With item, a part of that item.3
itemqueryAn item of an annual report, from its heading: in a 10-K, 1 the business, 1A risk factors, 7 management's discussion, 8 the financial statements. The outline lists those it has.7

For example (open it to see the answer):

curl 'https://s6y.io/c/cvs/10-K-20260210/cvs-20251231.htm.md?item=7'

The answer is the text, as Markdown (text/markdown).

Or it is one of these:

Whether a document has a quoted passage, and the link to it

GET /quote

Looks for each quote in the document, word for word. White space doesn't count, plain quotation marks and hyphens match typeset ones, and a row copied from a table of the text version may keep its bars. Nothing else is forgiven. Give the person the link of the answer: it opens the document at the passages found, highlighted.

ParameterWhereWhat it isExample
pathquery, requiredThe document's address on this site, or its whole URL./c/cvs/10-K-20260210/cvs-20251231.htm
qquery, required, may be repeatedA passage, in the document's own words. Repeat q for several.Total revenues increased $29.3 billion, or 7.8%, in 2025 compared to 2024.
nquery, may be repeatedA note of the caller's own, shown beside the quote that comes just before it in the address (q=...&n=...&q=...), apart from the filing's text.

For example (open it to see the answer):

curl 'https://s6y.io/quote?path=/c/cvs/10-K-20260210/cvs-20251231.htm&q=Total%20revenues%20increased%20%2429.3%20billion%2C%20or%207.8%25%2C%20in%202025%20compared%20to%202024.'

The answer is JSON, with these members, each always there unless marked:

MemberTypeWhat it is
documentstring (URL)The page of the document, for people.
foundbooleanTrue only if the document has every quote.
linkstring (URL) or nullOpens the document at the quotes found, highlighted, with their notes. Null if none was found.
quotesarray of objectsOne for each q, in the order given.
quotes[].quotestringAs it was asked.
quotes[].foundbooleanWhether the document has it.
quotes[].occurrencesinteger, not always thereHow many times the document has the words. Above 1, the link goes to the first: quote more.
textstring (URL)The document's text version.

Or it is one of these:

The link that the check answers with is one of three forms of a link to a passage, which a program can also make itself. Each goes on the address of a document's page (the page, not its .md):

FormWhat it does
#q= and the wordsThe page finds the passage's exact words, highlights them and puts the lasting form in the address. #q=first&q=second for several, and &n= after a passage for a note beside it. Where the words are not in the document, the page says so.
#a=The lasting form: where the passage begins in the document's text with white space left out, its length and a checksum, so that it still opens the passage if the page's markup changes.
?a=The same three numbers before the #, for sharing: a site that shows a preview of a pasted link is told the passage, and shows its words and a picture of it highlighted.

The form is specified in docs/links.md and is not particular to filings. The s6y repository implements it in Python and as a browser module with no dependencies.

Feeds and calendars

AddressWhat it is
/c/{company}/feed.atomA company's filings, as an Atom feed. ?category= for one tab of the company's page, as ?category=ownership.
/filings/feed.atomEach day's filings of note.
/filings/{subject}/feed.atomOne subject of them, as insiders' purchases.
/ipos/feed.atomThe companies going public.
/c/{company}/calendar.icsA company's report deadlines and shareholder meetings, as an iCalendar file. About says where each date comes from.

A feed or a calendar is made from what the site has stored, so asking for one never makes the site ask SEC. Feeds are kept for half an hour.

s6y: a command, a library and an MCP server

An open-source package (MIT) that calls the addresses above, so that a terminal, a Python program or an AI assistant can find a filing, read it and quote it with a checked link. It needs Python 3.10 or later.

pip install "git+https://github.com/dmaust/s6y"
# with the MCP server:
pip install "s6y[mcp] @ git+https://github.com/dmaust/s6y"

The command:

s6y find "cvs health"
s6y read cvs 10-K --item 7
s6y quote cvs 10-K "Total revenues increased"

As an MCP server, it gives an assistant a tool for each address and tells it to quote a filing's exact words, check them, and give you the link. For Claude Code:

claude mcp add s6y -- s6y mcp

From Python:

from s6y import Client

s6y = Client()
company = s6y.find("cvs health")[0]
filing = s6y.filings(company["path"], form="10-K", limit=1)["filings"][0]
main = s6y.main_document(filing["path"])
check = s6y.quote(main["path"], ["Total revenues increased"])

s6y on GitHub has the rest: every command and option, the MCP server's tools, and the library.

edgar-sgml: a filing's header

Every filing in EDGAR begins with a header in SGML that says who filed, on what form, when, and which documents the filing holds. SEC publishes the grammar for it only printed in a PDF, and as printed no parser reads it. edgar-sgml is one that a standard SGML parser accepts and that describes the headers SEC sends: it accepts 14,875 of 14,876 real headers from six days between 1996 and 2026. With it are a reader for the documents in SEC's daily archives and a table of every tag a header can have, with how often real filings have it.

edgar-sgml on GitHub, and SEC's data for where the headers are and what else EDGAR publishes.

For AI assistants

What the site tells an assistant is said in the open, in llms.txt and as two Agent Skills, with a list of the skills and the description of the API for tools that look for them. The home page and llms.txt name those three, and this page, in their Link header. About says what they are for.

What to know