Skip to main content

invinite-data-api

Typed Python client for the Invinite Data API at api.data.invinite.com — standardized and as-reported financials, filings, earnings calls, ownership, insider trades and market data. It is generated from the API's own OpenAPI document, so its request and response models match the reference.

The client is built on urllib3 + pydantic, needs Python 3.9+, and imports as invinite_data_api.

Install

pip install invinite-data-api

Authentication

Create a Configuration with your invd_ Data API key (or an Invinite Data OAuth access token) as the access token. The client sends it as an Authorization: Bearer <token> header on every request.

import os
import invinite_data_api

config = invinite_data_api.Configuration(access_token=os.environ["INVINITE_DATA_API_KEY"])

Quickstart

import os
import invinite_data_api
from invinite_data_api import CompanyApi

config = invinite_data_api.Configuration(access_token=os.environ["INVINITE_DATA_API_KEY"])

with invinite_data_api.ApiClient(config) as client:
    api = CompanyApi(client)
    result = api.company_search(query="nvidia", limit=5)
    for company in result.companies:
        print(company.ticker, company.name, company.cik)

Every API class is named after an OpenAPI tag (CompanyApi, EarningsCallsApi, SECFilingsApi, …) and every method after the operation's operationId in snake_case. Arguments keep the wire's snake_case names; a name that is a Python keyword gets a var_ prefix (var_from for from, var_date for date). Date parameters take a datetime.date, never a string.

Reading credits

Each call reports what it cost in the X-Credits-Charged and X-Credits-Included-Remaining response headers. Every method has a …_with_http_info twin that returns the headers beside the parsed value. response.headers is a plain dict keyed as the server sent the names (lower-case over the API's proxy), so look them up case-insensitively:

response = api.company_search_with_http_info(query="nvidia")
headers = {name.lower(): value for name, value in response.headers.items()}
print(headers["x-credits-charged"])
print(headers["x-credits-included-remaining"])
result = response.data

Error handling

On a non-2xx response the client raises ApiException (with per-status subclasses). On 429, wait for the Retry-After header before retrying.

from invinite_data_api.exceptions import ApiException

try:
    api.company_search(query="nvidia")
except ApiException as error:
    retry_after = error.headers.get("Retry-After") if error.headers else None
    print(error.status, error.body, retry_after)

Not in this client

  • The WebSocket stream at /v1/ws (live transcripts and filings) — WebSocket docs.
  • Webhook signature verification — webhook docs. Managing webhook subscriptions IS in the client (EarningsCallsApi).

Regeneration

This client is a generated artifact; if a type looks wrong, the fix belongs in the API's route schema, and regenerating re-derives every model. Releases are published on data-sdk-v* tags.

License

MIT

Metadata

Release files for invinite-data-api 0.9.0

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

Source distribution (sdist)

Source distribution for invinite-data-api 0.9.0
File Size Uploaded Provenance Actions
invinite_data_api-0.9.0.tar.gz 369.8 kB Without provenance Details for invinite_data_api-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invinite-data-api 0.9.0
File Interpreter ABI Platform Actions
invinite_data_api-0.9.0-py3-none-any.whl Python 3 none any Details for invinite_data_api-0.9.0-py3-none-any.whl

Total release size: 1.7 MB

Release files / invinite_data_api-0.9.0.tar.gz

Download URL invinite_data_api-0.9.0.tar.gz
Size 369.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b04dbafdc8f88a86bba4bb386a72ec6e05cab8e3e8b29477bed7472267d99e0c
BLAKE2b-256 checksum
How to use checksums
470291a3e0b2016ce823511f91c5a7132ce703153fbbd3dc2250ef984d2af30a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / invinite_data_api-0.9.0-py3-none-any.whl

Download URL invinite_data_api-0.9.0-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1ab11a9ce19c077ec437dc365ee49a87f48c584b918baa51950991d338a754e5
BLAKE2b-256 checksum
How to use checksums
ecd982fbf665641e6193ddad08dba744c343c782199b790308b7452229993145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for invinite-data-api 0.9.0

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.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

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