Blog / Developer guides
Developer guides

SEC Company Search by Symbol API: Querying EDGAR by Ticker

The SEC's own EDGAR API has no endpoint that takes a ticker symbol. Here is the free workaround, and how to search by symbol with one API call.

By the SecFeed teamNovember 18, 20266 min read
Key takeaways

Searching SEC EDGAR "by symbol" sounds like it should be one API call: send a ticker, get back a company. In practice, the SEC's own JSON API has no endpoint that takes a ticker at all. Every official endpoint is keyed by CIK, the SEC's Central Index Key, and resolving a ticker to a CIK is a separate step most guides skip over. This post covers that gap, the free way around it, and how to search by symbol in a single call instead.

The job: look up a company's filings by its stock symbol

The task is simple to state: given a ticker like AAPL or TSLA, get the company's SEC filing history, profile, or recent filings, without already knowing its CIK. That is a reasonable thing to want, since tickers are what most people and most other financial data sources use to identify a company, while CIK is specific to EDGAR.

Why the SEC's own API cannot do this directly

The SEC's submissions endpoint, data.sec.gov/submissions/CIK##########.json, and its XBRL endpoints are all addressed by a ten digit, zero padded CIK in the URL path itself, not a query parameter. There is no data.sec.gov endpoint that accepts ?ticker=AAPL and returns a profile or filing list. For the broader set of gaps in the SEC's own API, see the SEC EDGAR API guide; the ticker gap is a specific case of the identifier mapping problem that guide covers at a higher level.

The free workaround is a single static file the SEC publishes and periodically refreshes: company_tickers.json, served from www.sec.gov/files/company_tickers.json. It is not a search endpoint you query with a symbol; it is a bulk JSON object covering every ticker the SEC currently maps, where each entry carries a cik_str, a ticker and a title (company name). To search by symbol against the official source, you download that whole file, build your own lookup from ticker to CIK, and keep a refreshed copy around, because the file is replaced wholesale rather than updated incrementally.

company_tickers.json only reflects the SEC's own current ticker-to-CIK mapping. A company that changed tickers, delisted, or trades only on non-US exchanges may be missing, outdated, or listed under a former symbol.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/entities?ticker=AAPL. Free key, no card needed.

Get a free API key →

Three ways to get from a symbol to EDGAR data

What you wantThe SEC's own wayA single SecFeed call
Ticker to CIKDownload company_tickers.json and build your own lookupGET /v1/mapping/ticker?ticker=
Company profile by symbolResolve the CIK first, then call the submissions endpointGET /v1/entities?ticker=
Filings by symbolResolve the CIK first, then paginate the submissions endpointGET /v1/filings?query=ticker:...

Resolving a ticker the SecFeed way

A filings API that accepts a ticker parameter directly is doing the same resolution for you on every call, instead of requiring you to fetch and cache the bulk file yourself. SecFeed exposes this as a dedicated mapping endpoint and as a filter on the general entity lookup:

curl "https://secfeedapi.com/v1/mapping/ticker?ticker=AAPL" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "ticker": "AAPL",
  "cik": "0000320193",
  "name": "Apple Inc.",
  "exchange": "Nasdaq"
}

Searching a company profile by symbol in one call

Once you have the ticker resolved, or if you just want the profile directly, /v1/entities accepts either a ticker or a cik:

curl "https://secfeedapi.com/v1/entities?ticker=AAPL" \
  -H "Authorization: Bearer YOUR_API_KEY"
from secfeed import Client

sf = Client("YOUR_API_KEY")
entity = sf.get("/v1/entities", params={"ticker": "AAPL"})
print(entity["name"], entity["sic"], entity["stateOfIncorporation"])

That returns SIC code, addresses, state, fiscal year end and former names for the company behind the symbol, the same fields the SEC's own submissions endpoint carries, without you having to look up the CIK first.

Searching filings by symbol, not just the company profile

Most "company search by symbol" needs are really "filings by symbol." SecFeed's main filings search accepts ticker: as a query term directly, so you never leave symbol-space to get filing results:

curl "https://secfeedapi.com/v1/filings?query=ticker:AAPL AND formType:\"10-K\"&size=5" \
  -H "Authorization: Bearer YOUR_API_KEY"
filings = sf.filings('ticker:TSLA AND formType:"8-K"')
for f in filings:
    print(f["formType"], f["filedAt"], f["accessionNo"])

Internally, that query still resolves ticker:AAPL to a CIK the same way company_tickers.json would, it is just not something you have to manage yourself. For a company's reported financial statements by symbol, rather than the filing list, see the XBRL API, which takes the same ticker or cik pattern.

Limits: what a ticker cannot guarantee

A few honest caveats apply whether you use the SEC's bulk file or an API that wraps it:

If you need every filing a company has made since 1993, downloading SEC filings in Python covers pulling the full index directly, with the same ticker-to-CIK step at the start. The Python quickstart tutorial and the export to CSV tutorial both start from a ticker the same way the examples above do.

Frequently asked questions

Can I search SEC EDGAR directly by stock ticker?

Not through the SEC's own JSON API. Every official data.sec.gov endpoint is keyed by CIK. The only free way to resolve a ticker to a CIK is the static company_tickers.json bulk file, or a third party API that performs that lookup for you.

What is company_tickers.json?

It is a bulk JSON file the SEC publishes at www.sec.gov/files/company_tickers.json, listing every ticker it currently maps along with each company's CIK and name. It is replaced as a whole file, not updated incrementally, and it is not a search endpoint.

Does one ticker always map to exactly one CIK?

Usually, but not always in the other direction: a single CIK can have more than one ticker if the company has multiple listed share classes. A ticker itself should map to one CIK, but tickers can be reused or go stale after a rename, merger or delisting.

How current is a ticker-to-CIK mapping?

The SEC's own bulk file is refreshed periodically, not in real time, so a very recent ticker change, listing or delisting may lag by some period. Treat any ticker-to-CIK mapping, including SecFeed's, as current as of its last refresh, not as a live feed.

What do I get back when I search by symbol with an API like SecFeed's?

/v1/entities?ticker= returns the company profile (CIK, SIC, address, state, fiscal year end, former names), while /v1/filings?query=ticker: searches that company's actual filing history. Both accept the ticker directly, so you do not need to resolve the CIK yourself first.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/entities?ticker=AAPL. 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.