Skip to main content

Python client for the TENK/calls API — SEC-grounded fundamentals, the TENK Score, filing & 8-K event feeds, and AI research calls.

Project description

tenkcalls (Python)

Python client for the TENK/calls API — SEC-grounded fundamentals, the TENK Score (0–100 quality composite), SEC filing & 8-K event feeds, and AI research calls, for any US-listed ticker.

pip install tenkcalls              # add [pandas] for DataFrame output

Quickstart

from tenkcalls import Client

c = Client()  # reads TENK_API_KEY (or pass api_key="tk_live_…")

# TENK Score
s = c.score("AAPL")
print(s.score.composite, s.score.grade, s.score.factorGrades)

# Normalized SEC fundamentals
f = c.fundamentals("AAPL")
print(f.fundamentals["metrics"]["revenue"])

# Filings / 8-K events / search — straight to a DataFrame
df = c.search("apple", as_dataframe=True)
filings = c.filings("AAPL", limit=10, as_dataframe=True)
events = c.events("AAPL", as_dataframe=True)

# AI research call (Pro plan)
call = c.call("AAPL")
print(call["call"]["rating"], call["call"]["priceTarget"])

# Live quote — bring-your-own EODHD key (market data isn't redistributed)
q = c.quote("AAPL", data_key="your-eodhd-token")

Config

  • api_key — or env TENK_API_KEY.
  • base_url — or env TENK_BASE_URL (point at your deployment).
  • timeout, max_retries — retries honor 429 + Retry-After with backoff.

Notes

  • List endpoints (search, filings, events) accept as_dataframe=True (needs the pandas extra).
  • Errors: AuthError (401), UpgradeRequiredError (402), NotFoundError (404), RateLimitError (429), ApiError (other).
  • quote() is bring-your-own-key: market data is third-party licensed and not redistributed.

Docs: /developers · interactive reference: /developers/reference · spec: /openapi.json. MIT.


EDGAR® is a trademark of the U.S. SEC. TENK/calls is not affiliated with or approved by the SEC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tenkcalls-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tenkcalls-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file tenkcalls-0.1.0.tar.gz.

File metadata

  • Download URL: tenkcalls-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for tenkcalls-0.1.0.tar.gz
Algorithm Hash digest
SHA256 327d07759a4f363bd7aaa40430b9888e7cac3bf150faf875da33c5ced040df28
MD5 349b642e3b1b13b040d247d4edbea3c8
BLAKE2b-256 5868bf75eda9576ab5917f7ace08f1bb27e320c668d34717a180a2d8271e959f

See more details on using hashes here.

File details

Details for the file tenkcalls-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tenkcalls-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for tenkcalls-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd9a2374a4163f695aae6645c7aa1a610c47e0feb36e6e66b09d2f74d8ecdbef
MD5 0ea0f2dae41a05a79322cccf58d98131
BLAKE2b-256 7c9cd8dff93d3b4533e25f080d64b5ea7fd463a37f6e3ca926c6490d06de5d5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page