Skip to main content

BizVerify Python SDK

Official Python SDK for the BizVerify business entity verification API.

Installation

pip install bizverify

Quick Start

Authentication (Passwordless)

from bizverify import BizVerify

client = BizVerify()

# Request a verification code via email
client.auth.request_access("you@example.com", accept_terms=True)

# Verify the code — client is automatically configured with the new API key
resp = client.auth.verify_access("you@example.com", "123456", label="my-agent")
print(resp.api_key)  # Store this for future use

# Or initialize with an existing API key
client = BizVerify(api_key="bv_live_...")

Verify a Business Entity

client = BizVerify(api_key="bv_live_...")

# Synchronous verification (cached result)
result = client.verification.verify("Acme Inc", "us-fl")
print(result.status, result.data)

# Verify and wait for async job to complete
job = client.verification.verify_and_wait("Acme Inc", "us-fl")
print(job.status, job.result)

Search for Entities

# Single page
response = client.search.find("Acme", jurisdiction="us-fl")
for result in response.results:
    print(result.entity_name, result.confidence)

# Auto-paginate through all results
for result in client.search.find_all("Acme"):
    print(result.entity_name)

Response Metadata

Every API call populates last_response_meta with credit and rate limit info:

result = client.verification.verify("Acme Inc", "us-fl")
meta = client.last_response_meta
print(meta.credits_remaining)    # 85
print(meta.credits_charged)      # 15
print(meta.rate_limit_remaining)  # 59

Configuration & Jurisdictions

# Get full API configuration (no auth required)
config = client.config.get()
print(config.pricing)
print(config.jurisdictions)

# List supported jurisdictions
resp = client.config.jurisdictions()
for j in resp.jurisdictions:
    print(j.code, j.name, j.features)

Async Client

import asyncio
from bizverify import AsyncBizVerify

async def main():
    async with AsyncBizVerify(api_key="bv_live_...") as client:
        result = await client.verification.verify("Acme Inc", "us-fl")
        print(result.status)

        async for result in client.search.find_all("Acme"):
            print(result.entity_name)

asyncio.run(main())

Error Handling

from bizverify import BizVerify, NotFoundError, InsufficientCreditsError, RateLimitError

client = BizVerify(api_key="bv_live_...")

try:
    entity = client.entities.get("ent_nonexistent")
except NotFoundError as e:
    print(f"Not found: {e.message} (code={e.code})")
except InsufficientCreditsError:
    print("Need more credits")
except RateLimitError as e:
    print(f"Rate limited, retry after {e.retry_after}s")

API Reference

Resources

Resource Methods
client.auth request_access(), verify_access()
client.verification verify(), verify_and_wait(), get_status()
client.entities get(), history()
client.search find(), find_all()
client.account get(), usage(), data_export(), update_email(), create_key(), revoke_key()
client.billing get(), purchase()
client.config get(), jurisdictions()
client.checker check()

Client Options

client = BizVerify(
    api_key="bv_live_...",      # API key authentication
    base_url="https://...",     # Custom base URL
    max_retries=2,              # Retry on 5xx (default: 2)
    timeout=30.0,               # Request timeout in seconds (default: 30)
)

Requirements

  • Python >= 3.9
  • httpx >= 0.25

License

MIT

Metadata

Release files for bizverify 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bizverify 0.2.2
File Size Uploaded
bizverify-0.2.2.tar.gz 19.6 kB Details

Built distribution (wheel)

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

Total release size: 37.3 kB

Release files / bizverify-0.2.2.tar.gz

Download URL bizverify-0.2.2.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e45fde25a4a344002d3a9337cb77621c29fa01fbb158bbca1924bd4181cdd9a3
BLAKE2b-256 checksum
How to use checksums
cce29ba3fadeb91ecf10363eb2553b3780903f6d5a1f66e828f2b51bd446b0f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Release files / bizverify-0.2.2-py3-none-any.whl

Download URL bizverify-0.2.2-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebf5c1379f4849940bdf2ba2a4bf1050eab310b3fe9bd8c9137e100ab1b21ddb
BLAKE2b-256 checksum
How to use checksums
551e7f16dafbc45cc47b87a02224dfc96e28f4a0ef852bee6d59d6ee7ed59963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

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