Official MaxMind minFraud API client for Python. Provides risk scoring and device/location intelligence for fraud detection. Latest version 3.2.0, requires Python >=3.10. Released irregularly as needed.
pip install minfraudNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize minFraud client with account ID and license key from environment variables, then perform an Insights request.
Replace `client.score(...)` with `client.insights(...)`. The return object structure also changed.
Use attribute access on the returned object.
Use `from minfraud import minFraud` instead of `from minfraud import minFraudClient`.
Always include `ip_address` in the device dictionary.
Use `int(os.environ['MAXMIND_ACCOUNT_ID'])` to ensure integer type.
No resource links recorded.