Skip to main content

edgarparser-sdk

Python SDK for the hosted EdgarParser API.

Status: Living reference
Current authority: packages/edgarparser/src/edgarparser/ (client.py, __init__.py, _manifest.py) and packages/edgarparser/pyproject.toml
Last verified: 2026-07-29

pip install edgarparser-sdk
from edgarparser import EdgarClient

client = EdgarClient(api_key="...")
print(client)

Status

edgarparser-sdk is published on PyPI as the first-party Python client for the hosted EdgarParser API. The package exports EdgarClient, typed SDK errors, and the v1 hosted-API endpoint methods listed below.

Package Boundary

Install edgarparser-sdk and import edgarparser when you want the hosted EdgarParser API from Python.

Use edgar-parser when you want the local parsing library.

Use edgar-mcp when you want AI-agent tools over the hosted API.

The SDK is intentionally a thin HTTP client. It should not parse filings locally, rank metric matches, resolve tag equivalence, or mutate server caches as a hidden side effect.

Configuration

EdgarClient accepts an explicit API key:

from edgarparser import EdgarClient

client = EdgarClient(api_key="edgar_...")

It can also read EDGAR_API_KEY:

from edgarparser import EdgarClient

client = EdgarClient()

Default base_url is https://www.edgarparser.com. Override it for staging or local API testing:

client = EdgarClient(api_key="edgar_...", base_url="http://127.0.0.1:8000")

V1 Methods

The current local SDK surface includes:

  • get_financials
  • get_metric
  • get_metric_series
  • list_metrics
  • search_metrics
  • get_statement
  • get_filings
  • get_filing_document
  • search_filing_text
  • warm_metric_cache
  • warm_metric_cache_status

Examples

From packages/edgarparser/ or the synced package repo, run examples with EDGAR_API_KEY set:

EDGAR_API_KEY=... python examples/financials.py
EDGAR_API_KEY=... python examples/metric_series.py
EDGAR_API_KEY=... python examples/filing_search.py

Development

From the repo root:

python -m pip install -e packages/edgarparser
python -m pytest packages/edgarparser/tests -q

Metadata

Release files for edgarparser-sdk 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgarparser-sdk 0.1.2
File Size Uploaded Provenance
edgarparser_sdk-0.1.2.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for edgarparser-sdk 0.1.2
File Interpreter ABI Platform
edgarparser_sdk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / edgarparser_sdk-0.1.2.tar.gz

Download URL edgarparser_sdk-0.1.2.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c96baff23fbed47ab1301aaf84ec74372fee01ad775cae1c9eb65fa98cf7f2f2
BLAKE2b-256 checksum
How to use checksums
491dac7a43ab1b348eed2db30a0515918b011b97e19b7e2112ac367e9aed8b50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / edgarparser_sdk-0.1.2-py3-none-any.whl

Download URL edgarparser_sdk-0.1.2-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b73f2a365514784a2c833edd613cfd4a24b22dc17cd8299cafd0d1469601562f
BLAKE2b-256 checksum
How to use checksums
76b57ec18c4caf83c94c6cfd82eaed278dc6e0b118a470d0ed177ef0562d6e09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for edgarparser-sdk 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page