Python SDK for the hosted EdgarParser SEC filings API
Project description
edgarparser-sdk
Python SDK for the hosted EdgarParser API.
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 first v1 hosted-API endpoint methods.
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()
Use base_url 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_financialsget_metricget_metric_serieslist_metricssearch_metricsget_statementget_filingsget_filing_documentsearch_filing_textwarm_metric_cachewarm_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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edgarparser_sdk-0.1.1.tar.gz.
File metadata
- Download URL: edgarparser_sdk-0.1.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9a0e6a5e2b15a0336738d00dd71ba7827ce780a49ced695065c23ae8ef1e49
|
|
| MD5 |
14622e832b8c51a83c89ddf4372f4ef8
|
|
| BLAKE2b-256 |
0253bf1c3c8133ecdd7b4504f3be7a46621ff078e977d6994645950a76d7d62a
|
File details
Details for the file edgarparser_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: edgarparser_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d654cf5e86aa1d7708a9eda78ae6a4acb6f1395974c976326ece845b7dbb3e1b
|
|
| MD5 |
94cec3fb508cd9897b9c709631962060
|
|
| BLAKE2b-256 |
ea50c7755e557c11e8e2b731e4072b4bb35aa26ece31a6278b1b31ce2f515b0e
|