Metadata-Version: 2.4
Name: kyb-api-toolkit
Version: 0.1.0
Summary: One-line Python client for sanctions screening, EU VAT/LEI validation and UK company KYB APIs (RapidAPI).
License: MIT
Project-URL: Homepage, https://github.com/kyb-api-toolkit/sanctions-screening-api-examples
Project-URL: Sanctions, https://github.com/kyb-api-toolkit/sanctions-screening-api-examples
Project-URL: VAT-LEI, https://github.com/kyb-api-toolkit/eu-vat-lei-validator-examples
Project-URL: UK-KYB, https://github.com/kyb-api-toolkit/uk-company-kyb-api-examples
Keywords: kyb,kyc,sanctions,ofac,vat,vies,lei,companies-house,compliance,aml
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.20
Dynamic: license-file

# kyb-api-toolkit

One-line Python access to three KYB and compliance APIs hosted on RapidAPI:

- Sanctions Screening (OFAC, UN, EU lists)
- EU VAT and LEI validation
- UK company KYB (Companies House data)

You need a RapidAPI key with a subscription to each API you call. Each API has a free tier on RapidAPI.

```
pip install kyb-api-toolkit
export RAPIDAPI_KEY=your-key
```

```python
from kyb_toolkit import Client

kyb = Client()  # reads RAPIDAPI_KEY

kyb.sanctions.search("Vladimir Putin")
kyb.sanctions.batch(["Vladimir Putin", "Jane Smith"])

kyb.vat.validate("FR40303265045")
kyb.vat.lei("HWUPKR0MPOU8FGXBT394")
kyb.vat.lei_search("siemens", country="DE")

kyb.uk.search("tesco")
kyb.uk.kyb("00445790")
```

Errors raise `kyb_toolkit.KybError`.

## Links

- Sanctions repo: https://github.com/kyb-api-toolkit/sanctions-screening-api-examples
- VAT/LEI repo: https://github.com/kyb-api-toolkit/eu-vat-lei-validator-examples
- UK KYB repo: https://github.com/kyb-api-toolkit/uk-company-kyb-api-examples
- Tutorials: https://dev.to/kybapitoolkit

Results are informational and not legal or compliance advice.
