Skip to main content

VeriCorp Python SDK

Python SDK for the VeriCorp API — European company verification.

Install

pip install vericorp

Quick Start

from vericorp 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 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.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 1.0.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 vericorp 1.0.0
File Size Uploaded
vericorp-1.0.0.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / vericorp-1.0.0.tar.gz

Download URL vericorp-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b880f8ae438445fca4236e61c1bbf3d20825964963b9354522f0a3d911e4cab4
BLAKE2b-256 checksum
How to use checksums
70b6b96ded37eae20d60466e10e02be5b28295f7af3dfc4120d575a11f676696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / vericorp-1.0.0-py3-none-any.whl

Download URL vericorp-1.0.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7421b1e5038014085009ee8e9a70df83406391fad34ffdd823d813d72b5eae00
BLAKE2b-256 checksum
How to use checksums
5a06d630807706ba1401d004044656a330cdf2b36c8d9da0772b71818dc6c65e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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