Skip to main content

bosco-vendor-check: vendor onboarding check on official registers

A small reference agent from Bosco Labs. Give it a supplier (a name or a registration number) and it returns a KYB checklist built from official sources: register status, LEI, insolvency, recent accounts, sanctions on the company and its officers, VAT number (VIES) and IBAN. Each check is pass, fail, review or unverified, with the source it came from.

Python 3.10+, standard library only, MIT licence. It calls the Bosco Labs API (counterparty-check, $0.05 per company).

Try it in under 2 minutes, no key

# offline: three companies' recorded API responses that ship with the package
uvx bosco-vendor-check --demo        # or: pip install bosco-vendor-check && vendor-check --demo

# live, free: the planner plus LEI (GLEIF) and SEC lookups; prints what the full check costs
uvx bosco-vendor-check "Novo Nordisk A/S" --country DK

Without a key nothing is charged. You get the matching LEI records (status, registration number, GLEIF link), SEC registrants for --country US, and the price of the paid check.

The full check, with a key

Get a key at https://boscolabs.dev/api.html (a new key comes with $5 of free credit, no card), then:

export BOSCO_API_KEY=...        # Windows PowerShell: $env:BOSCO_API_KEY = "..."
python -m vendor_check "Novo Nordisk A/S" --country DK --vat DK24256790 --iban DK5000400440116243
python -m vendor_check 24256790 --country DK --out novo.json      # by registration number
python -m vendor_check --csv vendors.example.csv --out results.csv --yes
  • One company checked = $0.05. A name that fits several companies returns the candidates for free; run again with the LEI or registration number of the right one.
  • A CSV run with a key prints its maximum cost and stops unless you add --yes.
  • CSV input columns: name (required), country, vat_number, iban.
  • --out writes .json (the full API rows) or .csv (one line per check: vendor, check, status, detail, source_url).

Example output (abridged):

== Novo Nordisk A/S (DK)
   NOVO NORDISK A/S | Erhvervsstyrelsen (CVR) 24256790 | LEI 549300DAQ1CVT6CXN342
   [PASS      ] register_status: Register status: active.
                https://api.gleif.org/api/v1/lei-records/549300DAQ1CVT6CXN342
   [UNVERIFIED] sanctions_people: No officer or owner names known (...)
   [PASS      ] iban: DK5000400440116243: structure and check digits valid. (...)
   needs attention: none; unverified (not checked, not 'safe'): ['sanctions_people', ...]

Use it from your own code or agent

from vendor_check import check_vendor

result = check_vendor("Tesco PLC", country="GB")  # uses BOSCO_API_KEY if set
if result["mode"] == "paid" and result["row"]:
    for check in result["row"]["checks"]:
        print(check["check"], check["status"], check["source_url"])
else:
    print(result["lei_candidates"], result["plan"]["total_max_usd"])

examples/claude_tool_use.py gives check_vendor to Claude as a tool (Anthropic Python SDK, pip install anthropic, model claude-opus-5-5) and lets it answer "Can we onboard X?" with the source links of the checks.

Paying per call without an account (x402)

An agent with a wallet can skip the key: POST https://api.boscolabs.dev/v1/counterparty-check without one answers 402 Payment Required (x402 v2) with the price, and the agent pays per call in USDC on Base. This project does not do that itself. See https://boscolabs.dev/api.html#x402 and the x402 example agent.

Limits: read before you rely on it

  • A screening aid, not a compliance, credit or legal verdict. Review every fail and review against its linked source before you act.
  • unverified means not checked, never "safe". A source that is not covered, not answering or not given (no VAT number, no IBAN) shows up as unverified.
  • Coverage differs per country, as the API states it: officers and owners are screened for UK, Polish, Norwegian and French companies only; insolvency covers UK, PL, FR, DE, NL, NO, FI and EE, and is unverified elsewhere. VAT numbers are EU only (VIES). The IBAN check is structural (length, check digits, bank code, country); no bank is contacted, so it does not prove who holds the account. Current details: https://boscolabs.dev/counterparty-check.html.
  • Without a key, the free lookups find companies that have an LEI or file with the SEC; most small companies have neither, and that says nothing about them.
  • The free lookups are rate limited (30 calls a minute per IP).
  • The demo data is old by design. vendor_check/demo_fixture.json holds free API responses for Novo Nordisk A/S, Tesco PLC and Apple Inc. recorded on 2026-11-08. The paid checklist shown for Novo Nordisk is the API's documented example response, labelled "example response shape, not live data"; it is not a live check.

Data and licences

The checks come from official registers and lists (GLEIF, national company registers, The Gazette, KRS, OFAC, UN, UK and EU sanctions lists, VIES and others), each named with its licence in GET https://api.boscolabs.dev/v1/tools/counterparty-check. No endorsement by any publisher is implied.

Tests

pip install pytest && pytest      # offline: demo fixture and a stubbed API, no network

Contact

Bosco Labs, https://boscolabs.dev, support@boscolabs.dev. MIT licence, see LICENSE.

Metadata

Release files for bosco-vendor-check 0.1.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 bosco-vendor-check 0.1.0
File Size Uploaded Provenance Actions
bosco_vendor_check-0.1.0.tar.gz 13.6 kB With provenance Details for bosco_vendor_check-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bosco-vendor-check 0.1.0
File Interpreter ABI Platform Actions
bosco_vendor_check-0.1.0-py3-none-any.whl Python 3 none any Details for bosco_vendor_check-0.1.0-py3-none-any.whl

Total release size: 27.6 kB

Release files / bosco_vendor_check-0.1.0.tar.gz

Download URL bosco_vendor_check-0.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
74db699bbe3303ff6fcbc0fcfe96bd7960a2de4f49fe7940a3ea0f2ee705a9c1
BLAKE2b-256 checksum
How to use checksums
b5b3e3999a8e397a0462ec323df48da19b8db71f7e0323b36ebca0389fded38d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / bosco_vendor_check-0.1.0-py3-none-any.whl

Download URL bosco_vendor_check-0.1.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebd0db0d8c68b28c9713c00e43665de9c160d59092b7bdf6dd7a7455f7ca9edd
BLAKE2b-256 checksum
How to use checksums
7db2362885676c2eb506ae6349ea2fe9052df9af864a0273778cea9ab9f011cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for bosco-vendor-check 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bosco_vendor_check-0.1.0.tar.gz

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 Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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