Blog / Developer guides
Developer guides

How to Search SEC Filings by Company Name With an API

The SEC's own JSON endpoints only take a CIK. Here is how company name search actually works on EDGAR, and how to query SEC filings by company name with one API call.

By the SecFeed teamNovember 30, 20267 min read
Key takeaways

A company name is the most natural way to start a search, but it is also the least precise identifier in SEC EDGAR's own data model. None of the SEC's official JSON endpoints, including the one keyed by ticker, take a name as input; they all run on the CIK, the filer number the SEC assigns once and never reuses. A name search has to resolve to something more stable before the SEC's own machine-readable data can answer it.

This guide covers how company name matching actually works across EDGAR's free tools today, and how to search filings by company name in one request against an API built to handle the name directly.

Why company names are a messier search key than a CIK

A CIK never changes for a filer, even across a rename or a corporate restructuring, which is exactly why the SEC built its machine-readable endpoints around it instead of a name that can change. Company names, by contrast, are just one field filed on top of that stable identifier, and they are not unique: more than one filer has used a name like "Capital Management LLC," and a single filer can carry several name variants on record if it renamed itself over the years.

That means any tool that lets someone type a company name and get filings back is doing a resolution step first, whether it shows that step or not: turning an ambiguous string into one or more exact filer identifiers.

Official, free ways to search by company name

Two SEC tools cover most of what a developer needs without a paid API:

ToolHow it matchesFormat
EDGAR company search (browse-edgar, action=getcompany)Prefix match on the start of the company nameHTML page, not JSON
company_tickers.json bulk fileExact or custom matching you write yourself, client sideA single static JSON file of every ticker, CIK and name
EDGAR full text searchMatches company names typed into the search box, plus the text of filings since 2001JSON, but built for document search, not a company directory

company_tickers.json is the most useful of the three for code: it is a flat JSON array of every CIK that has a ticker, with its CIK and the company name as currently filed, refreshed periodically, and small enough to cache in memory and search however you want. It only covers tickered companies, though, so funds, private issuers and companies that delisted have no entry.

If you only need to resolve one name to a CIK before calling the SEC's own submissions or XBRL endpoints, pulling company_tickers.json once and matching locally is usually simpler than scraping the browse-edgar HTML page.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/filings?query=companyName:"apple. Free key, no card needed.

Get a free API key →

Searching filings by company name with an API

SecFeed's filing search treats companyName as one field in a Lucene-style query over the full filing index, so you can combine it with a form type, a date range or a ticker in the same call. A plain GET request:

curl "https://secfeedapi.com/v1/filings?query=companyName:apple AND formType:\"10-K\"&size=2" \
  -H "Authorization: Bearer YOUR_API_KEY"

returns matching filings with the company name as it was filed, the CIK and the links back to the original documents on EDGAR:

{
  "total": { "value": 30, "relation": "eq" },
  "filings": [
    {
      "accessionNo": "0000320193-25-000079",
      "cik": "320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "formType": "10-K",
      "filedAt": "2025-10-31",
      "linkToTxt": "https://www.sec.gov/Archives/edgar/data/320193/0000320193-25-000079.txt",
      "linkToFilingDetails": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm"
    }
  ]
}

The same query syntax covers ticker, CIK, form type, filing date ranges and a handful of other fields, documented at SecFeed's filing search API, so a company name filter is one clause among several rather than a separate tool.

In Python, with the official SDK:

from secfeed import Client

sf = Client("YOUR_API_KEY")
filings = sf.filings(query='companyName:tesla AND formType:"8-K"', size=10)
for f in filings:
    print(f["filedAt"], f["companyName"], f["accessionNo"])

Matching names that changed over time

companyName is a substring match, not an exact match against one current name. It checks against every name a CIK has ever filed under, so searching for a company's old name still returns the filings it made before a rename, right alongside filings made under its current name if the search term also appears there. A CIK or ticker lookup does not need this at all, since the identifier itself never changes when a company renames; the name search exists specifically because EDGAR's own browse tool and bulk ticker file both key off whatever name is current today.

This matters most for research that spans a rename: a company that changed its legal name years ago still has its earlier filings on EDGAR under the old name, and a name search is the only one of the three free options above that reliably surfaces both without you first tracking down every name the filer has used.

Frequently asked questions

Can I search SEC filings by company name for free?

Yes. EDGAR's own browse-edgar page matches names by prefix at no cost, and the company_tickers.json bulk file lets you build your own name search against every tickered company. Neither returns JSON filing results the way a filing search API does; they only get you to a CIK.

Does a company name search also find filings made under an old name?

With a substring match like SecFeed's companyName field, yes: it checks every name a filer has ever used on a filing, so searching an old company name still returns the filings made under it, alongside anything filed under the current name that happens to match too.

Why can't I just search by ticker instead of company name?

You often can, and it is faster. But tickers do not exist for every filer: funds, Form D issuers, private companies and insiders who file Form 3, 4 or 5 all have a CIK but no ticker, so a name search is the only option for them. See how to search SEC Form 4 filings for a case where the filer usually has no ticker of its own.

Full text search matches the text inside filings, going back to 2001, and happens to also match company names typed in its search box. A company name filter on a filing search API matches only the company name field itself, across the full filing index since 1993, which is a narrower and faster question to answer.

How do I get every filing from a company across a rename?

Search by company name for both the old and new name, or, if you already know the CIK, query by CIK instead, since the CIK stays the same across a rename and a name search is unnecessary once you have it.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/filings?query=companyName:"apple. Free key, no card needed.

Get a free API key →

For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.