{"id":20354858,"url":"https://github.com/datasets/edgar","last_synced_at":"2026-01-27T01:32:06.702Z","repository":{"id":14660224,"uuid":"17378659","full_name":"datasets/edgar","owner":"datasets","description":"Securities and Exchange Commission (SEC) EDGAR database which contains regulatory filings from publicly-traded US corporations.","archived":false,"fork":false,"pushed_at":"2024-10-25T14:25:56.000Z","size":27,"stargazers_count":330,"open_issues_count":3,"forks_count":68,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-03-04T17:34:47.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://datahub.io/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datasets.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-03-03T20:17:23.000Z","updated_at":"2024-12-30T22:21:41.000Z","dependencies_parsed_at":"2025-01-15T00:41:56.300Z","dependency_job_id":"b21bdca3-00c4-4066-8dd1-bd929123fc63","html_url":"https://github.com/datasets/edgar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datasets/edgar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fedgar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fedgar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fedgar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fedgar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/edgar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fedgar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28795468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"ssl_error","status_checked_at":"2026-01-27T01:07:06.974Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:09:57.760Z","updated_at":"2026-01-27T01:32:06.687Z","avatar_url":"https://github.com/datasets.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/edgar\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg\u0026label\u0026scale=1.25\" alt=\"badge\" /\u003e\u003c/a\u003e\n\nSecurities and Exchange Commission (SEC) EDGAR database. EDGAR contains\nregulatory filings from publicly-traded US corporations including their annual\nand quarterly reports:\n\n[edgar]: http://www.sec.gov/edgar.shtml\n\n\u003e All companies, foreign and domestic, are required to file registration\n\u003e statements, periodic reports, and other forms electronically through EDGAR.\n\u003e Anyone can access and download this information for free. [from the [SEC\n\u003e website][edgar]]\n\n## Human Interface\n\nSee \u003chttp://www.sec.gov/edgar/searchedgar/companysearch.html\u003e\n\n\u003cimg src=\"http://webshot.okfnlabs.org/api/generate?url=http%3A%2F%2Fwww.sec.gov%2Fedgar%2Fsearchedgar%2Fcompanysearch.html\" /\u003e\n\n## Bulk Data\n\n~~EDGAR provides bulk access via FTP: \u003cftp://ftp.sec.gov/\u003e - [official\ndocumentation][ftp-doc]. We summarize here the main points.~~\n\nEach company in EDGAR gets an identifier known as the CIK which is a 10 digit\nnumber. You can find the CIK by searching EDGAR using a name of stock market\nticker.\n\nFor example, [searching for IBM by ticker][ibm-search] shows us that\nthe the CIK is `0000051143`.\n\nNote that leading zeroes are often omitted ~~(e.g. in the ftp access)~~ so this\nwould become `51143`.\n\n[ibm-search]: http://www.sec.gov/cgi-bin/browse-edgar?CIK=ibm\u0026action=getcompany\n\n\u003cimg src=\"http://webshot.okfnlabs.org/api/generate?url=http%3A%2F%2Fwww.sec.gov%2Fcgi-bin%2Fbrowse-edgar%3FCIK%3Dibm%26action%3Dgetcompany\u0026width=1024\u0026height=768\" /\u003e\n\nNext each submission receives an 'Accession Number' (acc-no). For example,\nIBM's quarterly financial filing (form 10-Q) in October 2013 had accession\nnumber: `0000051143-13-000007`.\n\n### HTTPS File Paths\n\nGiven a company with CIK (company ID) XXX (omitting leading zeroes) and\ndocument accession number YYY (acc-no on search results) the path would be:\n\nFile paths are of the form:\n\n    /edgar/data/XXX/YYY.txt\n\nFor example, for the IBM data above it would be:\n\n~~\u003cftp://ftp.sec.gov/edgar/data/51143/0000051143-13-000007.txt\u003e~~\n\u003chttps://www.sec.gov/Archives/edgar/data/51143/0000051143-13-000007.txt\u003e\n\nEDGAR has retired HTTP services. Instead use the HTTPS equivalent.\n\n\u003chttps://www.sec.gov/Archives/edgar/data/51143/0000051143-13-000007.txt\u003e\n\nNote, if you are looking for a nice HTML version you can find it at in the\nArchives section with a similar URL (just add -index.html):\n\n\u003chttp://www.sec.gov/Archives/edgar/data/51143/000005114313000007/0000051143-13-000007-index.htm\u003e\n\n### Indices\n\nIf you want to get a list of all filings you'll want to grab an Index. As the help page explains:\n\n\u003e The EDGAR indices are a helpful resource for HTTPS retrieval, listing the\n\u003e following information for each filing: Company Name, Form Type, CIK, Date\n\u003e Filed, and File Name (including folder path).\n\u003e \n\u003e Four types of indexes are available:\n\u003e \n\u003e * company — sorted by company name\n\u003e * form — sorted by form type\n\u003e * master — sorted by CIK number\n\u003e * XBRL — list of submissions containing XBRL financial files, sorted by CIK\n\u003e   number; these include Voluntary Filer Program submissions\n\nURLs are like:\n\n~~\u003cftp://ftp.sec.gov/edgar/full-index/2008/QTR4/master.gz\u003e~~\n\u003chttps://www.sec.gov/Archives/edgar/full-index/2008/QTR4/master.gz\u003e\n\nThat is, they have the following general form:\n\n    ~~ftp://ftp.sec.gov/edgar/full-index/{YYYY}/QTR{1-4}/{index-name}.[gz|zip]~~\n    https://www.sec.gov/Archives/edgar/full-index/{YYYY}/QTR{1-4}/{index-name}.[gz|zip]\n\nSo for XBRL in the 3rd quarter of 2010 we'd do:\n\n~~\u003cftp://ftp.sec.gov/edgar/full-index/2010/QTR3/xbrl.gz\u003e~~\n\u003chttps://www.sec.gov/Archives/edgar/full-index/2010/QTR3/xbrl.gz\u003e\n\n~~[ftp-doc]: https://www.sec.gov/edgar/searchedgar/ftpusers.htm~~\n\n### CIK lists and lookup\n\nThere's a full list of all companies along with their CIK code here: \u003chttp://www.sec.gov/edgar/NYU/cik.coleft.c\u003e\n\nIf you want to look up a CIK or company by its ticker you can do the following query against the normal search system:\n\n\u003chttp://www.sec.gov/cgi-bin/browse-edgar?CIK=ibm\u0026Find=Search\u0026owner=exclude\u0026action=getcompany\u0026output=atom\u003e\n\nThen parse the atom to grab the CIK. (If you prefer HTML output just omit output=atom).\n\nThere is also a full-text company name to CIK lookup here:\n\n\u003chttp://www.sec.gov/edgar/searchedgar/cik.htmL\u003e\n\n(Note this does a POST to a 'text' API at \u003chttp://www.sec.gov/cgi-bin/cik.pl.c\u003e)\n\n## Parsing XBRL Data\n\nSee `scripts` and README file there.\n\n## References\n\n* CorpWatch have an excellent API and DB dump covering a lot of EDGAR info - see the [CorpWatch DataHub Entry][corpwatch]\n\n[corpwatch]: http://datahub.io/dataset/corpwatch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fedgar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fedgar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fedgar/lists"}