{"id":13586013,"url":"https://github.com/sec-edgar/sec-edgar","last_synced_at":"2026-04-09T00:02:09.185Z","repository":{"id":12163164,"uuid":"14759456","full_name":"sec-edgar/sec-edgar","owner":"sec-edgar","description":" Download all companies  periodic reports, filings and forms from EDGAR database.","archived":false,"fork":false,"pushed_at":"2025-12-09T12:31:38.000Z","size":14178,"stargazers_count":1328,"open_issues_count":21,"forks_count":326,"subscribers_count":40,"default_branch":"master","last_synced_at":"2026-01-02T12:33:17.469Z","etag":null,"topics":["cik","edgar","edgar-crawler","edgar-database","finance","financials","python","sec"],"latest_commit_sha":null,"homepage":"https://sec-edgar.github.io/sec-edgar/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sec-edgar.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2013-11-27T21:27:22.000Z","updated_at":"2026-01-01T16:28:08.000Z","dependencies_parsed_at":"2023-01-13T16:48:37.924Z","dependency_job_id":"d0e8e78d-9118-4b1a-9ea7-ddd3c4ac3859","html_url":"https://github.com/sec-edgar/sec-edgar","commit_stats":{"total_commits":633,"total_committers":24,"mean_commits":26.375,"dds":"0.20853080568720384","last_synced_commit":"d87fde92aa84e46ccdf9d50a9b2e214218a671c4"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/sec-edgar/sec-edgar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sec-edgar%2Fsec-edgar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sec-edgar%2Fsec-edgar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sec-edgar%2Fsec-edgar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sec-edgar%2Fsec-edgar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sec-edgar","download_url":"https://codeload.github.com/sec-edgar/sec-edgar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sec-edgar%2Fsec-edgar/sbom","scorecard":{"id":808989,"data":{"date":"2025-08-11","repo":{"name":"github.com/sec-edgar/sec-edgar","commit":"0ab0b623a6bbb0f8b5a0b090d138215c31563bc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/pypi.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sec-edgar/sec-edgar/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:19","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:20","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:21","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:25","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:29","Warn: pipCommand not pinned by hash: ci/install_dependencies.sh:30","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: GHSA-55x5-fj6c-h6m8","Warn: Project is vulnerable to: PYSEC-2014-9 / GHSA-57qw-cc2g-pv5p","Warn: Project is vulnerable to: PYSEC-2021-19 / GHSA-jq4v-f5q6-mjqq","Warn: Project is vulnerable to: GHSA-pgww-xf46-h92r","Warn: Project is vulnerable to: PYSEC-2022-230 / GHSA-wrxv-2j5q-m38w","Warn: Project is vulnerable to: PYSEC-2018-12 / GHSA-xp26-p53h-6h2p","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2017-74","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2023-207 / GHSA-gwvm-45gx-3cf8","Warn: Project is vulnerable to: PYSEC-2019-133 / GHSA-mh33-7rrq-662w","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2018-32 / GHSA-www2-v7xj-xrc6","Warn: Project is vulnerable to: PYSEC-2021-108"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":2,"reason":"SAST tool is not run on all commits -- score normalized to 2","details":["Warn: 7 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T12:35:48.381Z","repository_id":12163164,"created_at":"2025-08-23T12:35:48.382Z","updated_at":"2025-08-23T12:35:48.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cik","edgar","edgar-crawler","edgar-database","finance","financials","python","sec"],"created_at":"2024-08-01T15:05:16.475Z","updated_at":"2026-04-09T00:02:09.168Z","avatar_url":"https://github.com/sec-edgar.png","language":"Python","funding_links":[],"categories":["Python","Libraries \u0026 Tools"],"sub_categories":["Python"],"readme":"sec-edgar\n=========\n\n|Tests Status| |Docs Status|\n\nGetting filings of various companies at once is really a pain, but\nSEC-Edgar does that for you. You can download all of a company’s\nperiodic reports, filings and forms from the EDGAR database with a\nsingle command.\n\nInstallation\n------------\n\nYou can install the package using pip:\n\n.. code:: bash\n\n   $ pip install secedgar\n\nOR\n\nYou can clone the project:\n\n.. code:: bash\n\n   $ git clone https://github.com/sec-edgar/sec-edgar.git\n   $ cd sec-edgar\n   $ python setup.py install\n\nRunning\n-------\n\nIf you are using Jupyter Notebook, you'll need to install and configure nest-asyncio:\n\n.. code-block:: bash\n\n   pip install nest-asyncio\n\nThen add the following code at the start of your notebook:\n\n.. code-block:: python\n\n   import nest_asyncio\n   nest_asyncio.apply()\n\nCompany Filings\n~~~~~~~~~~~~~~~\n\nSingle Company\n^^^^^^^^^^^^^^\n\n.. code:: python\n\n    from secedgar import filings, FilingType\n\n    # 10Q filings for Apple (ticker \"aapl\")\n    my_filings = filings(cik_lookup=\"aapl\",\n                         filing_type=FilingType.FILING_10Q,\n                         user_agent=\"Your name (your.name@example.com)\")\n    my_filings.save('/path/to/dir')\n\n\nMultiple Companies\n^^^^^^^^^^^^^^^^^^\n\n.. code:: python\n\n    from secedgar import filings, FilingType\n\n    # 10Q filings for Apple and Facebook (tickers \"aapl\" and \"fb\")\n    my_filings = filings(cik_lookup=[\"aapl\", \"fb\"],\n                         filing_type=FilingType.FILING_10Q,\n                         user_agent=\"Your name (your.name@example.com)\")\n    my_filings.save('/path/to/dir')\n\n\nDaily Filings\n~~~~~~~~~~~~~\n\n\n.. code:: python\n\n    from secedgar import filings\n    from datetime import date\n\n    daily_filings = filings(start_date=date(2021, 6, 30),\n                            user_agent=\"Your name (your.name@example.com)\")\n    daily_urls = daily_filings.get_urls()\n\n\n\nSupported Methods\n-----------------\n\nCurrently this crawler supports many different filing types. To see the full list, please refer to the docs. If you don't see a filing type you would like\nto be supported, please create an issue on GitHub.\n\nDocumentation\n--------------\nTo learn more about the APIs and latest changes in the project, read the `official documentation \u003chttps://sec-edgar.github.io/sec-edgar\u003e`_.\n\n\n.. |Tests Status| image:: https://github.com/sec-edgar/sec-edgar/actions/workflows/test.yml/badge.svg\n   :target: https://github.com/sec-edgar/sec-edgar/actions/workflows/test.yml\n.. |Docs Status| image:: https://github.com/sec-edgar/sec-edgar/actions/workflows/docs.yml/badge.svg\n   :target: https://github.com/sec-edgar/sec-edgar/actions/workflows/docs.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsec-edgar%2Fsec-edgar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsec-edgar%2Fsec-edgar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsec-edgar%2Fsec-edgar/lists"}