spoken-alpha · Python SDK
Structured earnings-call data for AI agents.
Full API reference: https://api.spokenalpha.com/v1/docs
Note: The PyPI package is
spoken-alpha(hyphen). The npm scope uses an underscore (@spoken_alpha/sdk) — seesdks/README.mdfor the reason.
Install
pip install spoken-alpha
Quick start
from spoken_alpha import Client
with Client(api_key="sa-...") as client:
ir = client.companies.get_ir_page("AAPL")
print(ir.ir_page.confidence)
for call in client.companies.list_earnings_calls("AAPL").iterate_all():
print(call.call_date, call.fiscal_quarter)
summary = client.calls.get_summary("call_AAPL_2026Q2_earnings")
print(summary.summary)
The API key can also be set via the SPOKEN_ALPHA_API_KEY environment variable — Client() picks it up automatically.
Async
from spoken_alpha import AsyncClient
async with AsyncClient() as client:
results = await client.language_patterns.search("supply chain normalization")
for r in results.results:
print(r.ticker, r.snippet)
Error handling
from spoken_alpha import Client, SpokenAlphaNotFoundError, SpokenAlphaRateLimitError
with Client() as client:
try:
ir = client.companies.get_ir_page("ZZZZ")
except SpokenAlphaNotFoundError:
print("ticker not found")
except SpokenAlphaRateLimitError as e:
print(f"rate limited; resets at {e.reset_at}")
All exceptions inherit from SpokenAlphaAPIError. Subclasses:
| Class | HTTP |
|---|---|
SpokenAlphaAuthError |
401 |
SpokenAlphaForbiddenError |
403 |
SpokenAlphaNotFoundError |
404 |
SpokenAlphaValidationError |
422 |
SpokenAlphaRateLimitError |
429 |
SpokenAlphaScaffoldedError |
503 (planned endpoint) |
SpokenAlphaServerError |
5xx |
SpokenAlphaTimeoutError |
timeout |
SpokenAlphaNetworkError |
network |
Configuration
Client(
api_key="sa-...", # default: SPOKEN_ALPHA_API_KEY env var
base_url="https://...", # default: https://api.spokenalpha.com/v1
timeout=30.0, # seconds, default 30
max_retries=2, # auto-retry on 5xx, default 2
)
License
MIT
Metadata
Release files for spoken-alpha 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spoken_alpha-0.1.0.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spoken_alpha-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.2 kB
Release files / spoken_alpha-0.1.0.tar.gz
| Download URL | spoken_alpha-0.1.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba7b3df39ecbeaa90baf642bceb19431b5bf085469ce825e08fb7017d56f9c6b
|
|
BLAKE2b-256 checksum How to use checksums |
82de7c4b9f12b027ca62c55260f30d2acd43d0a67c50f08acc6ebf44efccd783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / spoken_alpha-0.1.0-py3-none-any.whl
| Download URL | spoken_alpha-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57fdb3b393300615844de2bfe7f659d25d52bb1e4aaf19e31750fab6cde4a9f9
|
|
BLAKE2b-256 checksum How to use checksums |
e309d4963cf4fb9326f36e027ecc0459afccfdc37e06954a8e59dac2a4f5d9c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|