vericorp-company-verify
Python SDK for the VeriCorp Company Verify API — European company verification.
Install
pip install vericorp-company-verify
Quick Start
from vericorp_company_verify import VeriCorp
client = VeriCorp("your-rapidapi-key")
# Look up a company
company = client.lookup("PT502011378")
print(company.name) # UNIVERSIDADE DO MINHO
print(company.address) # Address(street='LG DO PACO', city='BRAGA', ...)
# Validate a VAT number
result = client.validate("DE811871080")
print(result.vat_valid) # True
# List supported countries
countries = client.countries()
print(countries.total) # 29
Async
from vericorp_company_verify import AsyncVeriCorp
async with AsyncVeriCorp("your-rapidapi-key") as client:
company = await client.lookup("DK10150817")
print(company.name)
Methods
| Method | Description |
|---|---|
lookup(tax_id) |
Look up company by tax ID |
lookup_gb(company_number) |
Look up UK company by number |
validate(tax_id) |
Validate a VAT number |
batch(tax_ids) |
Batch lookup (max 10) |
countries() |
List supported countries |
health() |
API health check |
Error Handling
from vericorp_company_verify.errors import InvalidTaxIdError, NotFoundError, RateLimitError
try:
company = client.lookup("INVALID")
except InvalidTaxIdError:
print("Bad tax ID format")
except NotFoundError:
print("Company not found")
except RateLimitError as e:
print(f"Rate limited, retry after {e.retry_after}s")
License
MIT
Release files for vericorp-company-verify 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vericorp_company_verify-2.0.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vericorp_company_verify-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / vericorp_company_verify-2.0.0.tar.gz
| Download URL | vericorp_company_verify-2.0.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d53cd70aa0cf65b9558571ab6eaa0347e96efa2b9ce244032c7dbfe5af760afc
|
|
BLAKE2b-256 checksum How to use checksums |
5d720f199841fe741b66d29fbf3b137831a0d9927eb76d80ffff3fe1c8db72cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / vericorp_company_verify-2.0.0-py3-none-any.whl
| Download URL | vericorp_company_verify-2.0.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f781f75adf5fecf08af399e774ab4359e5ca4bd1fbbd0f95a8e5c69b358b0e67
|
|
BLAKE2b-256 checksum How to use checksums |
13daa137098d5aab149a875f7eab1368a88356a2ef65925b8fa087167a173fa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|