Skip to main content

cardinal-py

Official Python SDK for the Cardinal universal entity data API.

Install

pip install cardinal-py

Use

from cardinal_py import Cardinal

cardinal = Cardinal(api_key="cardinal_live_...")

# Search
hits = cardinal.search(country="no", status="in_bankruptcy", limit=10)
for entity in hits.results:
    print(entity.legal_name, entity.cardinal_id)

# Lookup by registry id
[entity] = cardinal.lookup(country="no", registry_id="932102285")
print(entity.status, entity.risk_score)

# AI risk summary
summary = cardinal.risk_summary(entity.cardinal_id)
print(summary.risk_score, summary.ai_summary)

# Natural-language query
answer = cardinal.query("German construction companies in insolvency since March 2026")
print(answer.summary)
for r in answer.results:
    print(r["legal_name"])

Async

from cardinal_py import AsyncCardinal

async with AsyncCardinal(api_key=...) as c:
    hits = await c.search(q="ABACUS")

Metadata

Release files for cardinalapi 0.1.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 cardinalapi 0.1.0
File Size Uploaded Provenance Actions
cardinalapi-0.1.0.tar.gz 4.4 kB Without provenance Details for cardinalapi-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cardinalapi 0.1.0
File Interpreter ABI Platform Actions
cardinalapi-0.1.0-py3-none-any.whl Python 3 none any Details for cardinalapi-0.1.0-py3-none-any.whl

Total release size: 9.3 kB

Release files / cardinalapi-0.1.0.tar.gz

Download URL cardinalapi-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b21029a11342afd805c36c760dea822f67ca19825e2f8ef1a2b3d76ae23abfb3
BLAKE2b-256 checksum
How to use checksums
35b94e39a391d471cf667dc0d3fd34fcb228fe765d3da33b51e67ce3e1efd4c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / cardinalapi-0.1.0-py3-none-any.whl

Download URL cardinalapi-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08b287190492eb4a88d8fefbd7a2f6fbea8e61c1c5853c6e2dc47eabee0184b2
BLAKE2b-256 checksum
How to use checksums
f3523f5d451a5921d2c62c65775a03aca22505ec3a152b5f2d0c151b4928d9f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for cardinalapi 0.1.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.1.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