Skip to main content

factline

Official-records checks for apps and AI agents: sanctions and PEP screening, one-call KYC, company registers in 10 countries, Dutch insolvency, EU VAT, EORI, IBAN, email and phone checks, plus Dutch address, neighbourhood, rent, flood, school and vehicle data. Standard library only.

pip install factline
from factline import Factline

fl = Factline(api_key="fl_live_...")  # or set FACTLINE_API_KEY

fl.sanctions_screen(name="Acme Trading Ltd")
fl.kyc_check(name="Jan Jansen", email="jan@example.nl", phone="+31612345678")
fl.company_lookup(name="Tesco", country="GB")
fl.rent_check(postcode="2517AS", house_number=100)
fl.vehicle_basic(licence_plate="GT-722-F")  # free, no key needed
  • API key: free trial, EUR 19 credit pack or monthly plans at https://factline.dev/business. Without a key, paid calls raise FactlinePaymentRequired (the API answers with an x402 payment request that agents with a wallet can pay).
  • Free preview: fl.preview("sanctions_screen", name="Acme").
  • Agents (MCP): MCP_SERVERS["kyc"], ["nl"], ["vehicles"]. With LangChain: MultiServerMCPClient({"factline": {"url": MCP_SERVERS["kyc"], "transport": "streamable_http"}}). More setups: https://factline.dev/agents

Pay guard for x402 agents

Check every x402 payment before your agent signs it (free): the payTo wallet against the OFAC list, the seller's paying wallets, age and uptime, and the amount against its listed price and your budget.

from x402 import x402Client
from factline.pay_guard import with_pay_guard

client = with_pay_guard(x402Client(), mode="strict", max_usd=1.0)   # strict: deny or review aborts, and a payTo the seller does not list is denied

Or one call: from factline.pay_guard import check_payment; check_payment(url, pay_to, amount_usd=0.05). Install the x402 client with pip install "factline[x402]".

MIT licence. Data comes from official sources; see https://factline.dev/trust.

LangChain

pip install "factline[langchain]"
from factline.langchain import factline_tools
tools = factline_tools(api_key="fl_live_...")  # supplier_invoice_check, company_check, china_supplier_check, sanctions_screen, pay_guard, us_company_lookup

New in 0.3.0: invoice_check, kyb_check, company_dossier, china_supplier_check, trade_screen, us_company and pay_guard methods on the client.

Metadata

Release files for factline 0.3.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 factline 0.3.0
File Size Uploaded Provenance Actions
factline-0.3.0.tar.gz 8.2 kB With provenance Details for factline-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 17.5 kB

Release files / factline-0.3.0.tar.gz

Download URL factline-0.3.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f144b825c44d3facb61be46fb374f7354d6abcea46ebe37ad68c75da7d2e6d3b
BLAKE2b-256 checksum
How to use checksums
b56c8945892e530637206e48cd5c0344b563f8d59ca960e8d0a0e59471c86f7a
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 Oct 21, 2026.

Transparency log

Release files / factline-0.3.0-py3-none-any.whl

Download URL factline-0.3.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
494edc80af67e8624e52f69de25692a423f955cdfc0d1c97be405a09cf35d447
BLAKE2b-256 checksum
How to use checksums
749f1343023e3f57413c2597f8ebb563fef71ebeb029b41cf31086aa3e07a34a
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 Oct 21, 2026.

Transparency log

Security for factline 0.3.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 factline-0.3.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 Oct 21, 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.

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