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.3

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.3
File Size Uploaded Provenance
edgarparser_sdk-0.1.3.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 22.0 kB

Release files / edgarparser_sdk-0.1.3.tar.gz

Download URL edgarparser_sdk-0.1.3.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0b40efe458617c3a8b2cfaccc14fd66eb4ade37cf1ff946495df4a22b338f197
BLAKE2b-256 checksum
How to use checksums
8557dd3eb4ba42c335ac756a4a63a780f7c22c889f3cd34f48ae569482a0e7a8
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.3-py3-none-any.whl

Download URL edgarparser_sdk-0.1.3-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e796db8adcbd6cde352d493b9ee1159d2bbe17e4e0ae485e0d32f33dbc83d70a
BLAKE2b-256 checksum
How to use checksums
64366e2df7f9d53241363f8cfcc5f2b2dcd4deb277c855faac678cb740456773
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.3

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