Skip to main content

Official Python SDK for the Cardinal universal entity data API. Companies, officers, beneficial owners, court rulings, licenses, and sanctions across the EU.

Project description

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")

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

cardinalapi-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

cardinalapi-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cardinalapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b21029a11342afd805c36c760dea822f67ca19825e2f8ef1a2b3d76ae23abfb3
MD5 3ec3a1072e77d61f1a3f4c5d3e0b71e4
BLAKE2b-256 35b94e39a391d471cf667dc0d3fd34fcb228fe765d3da33b51e67ce3e1efd4c0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cardinalapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08b287190492eb4a88d8fefbd7a2f6fbea8e61c1c5853c6e2dc47eabee0184b2
MD5 1faadd1f724f990fd505e1c714d6e50a
BLAKE2b-256 f3523f5d451a5921d2c62c65775a03aca22505ec3a152b5f2d0c151b4928d9f6

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