Skip to main content

IsBrokerSafe Python SDK 🛡️⚡

PyPI Version License: MIT Python 3.8+

The official Python client library for the IsBrokerSafe.com Threat Intelligence and Financial Broker Legitimacy API.

Audit any Forex broker, Crypto platform, or CFD entity in real-time across 9,732+ official regulatory records (8,995+ scam warnings & 737+ licensed brokers) and 82+ Worldwide Supervisory Authorities (IOSCO Network) (IOSCO, SEC, CFTC, NFA, FCA, BaFin, FINMA, AMF, CNMV, CONSOB, CySEC, CSSF, FSMA, ASIC, SFC, CSA, MAS, DFSA) with sub-5ms latency and WHOIS forensic age inspection.


📦 Installation

pip install --upgrade isbrokersafe

(Zero external dependencies! Works right out of the box with the Python standard library).


🚀 Quickstart

import isbrokersafe

# Initialize with your API key (or leave empty for anonymous free tier)
client = isbrokersafe.Client(api_key="YOUR_API_KEY")

# 1. Audit a broker or crypto domain
result = client.check("exness.com")

print(f"Status: {result.status}")                 # 'SAFE'
print(f"Safety Score: {result.safety_score}/100") # 96
print(f"Is Regulated: {result.is_regulated}")     # True
print(f"Regulators: {result.regulators}")         # ['FCA (UK), CySEC (Cyprus), FSCA, FSA']
print(f"Verdict: {result.trust_verdict}")

# 2. Check for scam / blacklisted domain
scam = client.check("cryptonomy.finance")
print(f"Status: {scam.status}")                   # 'BLACKLISTED'
print(f"Risk Factors: {scam.risk_factors}")       # ['BLACKLISTED BY ASIC (Australia)']

# 3. Search the 737+ Licensed & Regulated Brokers Registry
licensed = client.get_licensed(regulator="FINMA", limit=10)
for b in licensed["results"]:
    print(f"{b['entity_name']} ({b['domain']}) - {b['regulator']} [{b['license_number']}]")

🔍 Features

  • 🏛️ Real-Time Regulatory Verification: Audits official license statuses from 737+ licensed financial institutions across Tier-1 & EU MiFID II / Swiss regulators (FCA, SEC/NFA, FINMA, CySEC, ASIC, BaFin, CONSOB, AMF, CNMV, MAS, DFSA).
  • 🚨 Global Blacklist Feeds (8,995+ Alerts): Cross-references international enforcement warnings from IOSCO (82 Global Authorities), ASIC, SFC Hong Kong, CySEC, CSSF Luxembourg, US SEC, CONSOB, FSMA Belgium, and UK FCA.
  • 🌐 WHOIS Forensic Age Inspection: Detects newly registered domains claiming false regulatory history.
  • ⚡ Ultra-Fast & Lightweight: Sub-5ms response times worldwide.

📖 Advanced Usage

Fetching Latest Regulatory Warnings

warnings = client.get_warnings(regulator="asic", limit=20)

for w in warnings:
    print(f"[{w.warning_date}] {w.entity_name} ({w.domain}) - {w.reason}")

Querying Licensed & Regulated Brokers

licensed_data = client.get_licensed(query="swissquote", limit=10)
print(f"Total matching licensed institutions: {licensed_data['total_matching']}")

Global Threat Intelligence Stats

stats = client.get_stats()
print(f"Total Official Records: {stats.total_brokers:,}")
print(f"Regulated Institutions: {stats.regulated_entities:,}")
print(f"Blacklisted Scam Alerts: {stats.blacklisted_entities:,}")
print(f"Global Regulators Monitored: {stats.total_regulators_monitored}+")

Error Handling

from isbrokersafe import AuthenticationError, QuotaExceededError, IsBrokerSafeError

try:
    result = client.check("suspicious-broker.com")
except AuthenticationError:
    print("Invalid API Key! Get one free at https://isbrokersafe.com/api/v1/docs")
except QuotaExceededError:
    print("Monthly quota exceeded. Upgrade to Pro at https://isbrokersafe.com/pricing")
except IsBrokerSafeError as e:
    print(f"API Error: {e}")

🔑 Obtaining an API Key

Generate a free developer API key (100 requests/month) instantly at:
👉 https://isbrokersafe.com/api/v1/docs


📄 License

Distributed under the MIT License. Copyright © 2026 VasileDev Group (EU VIES: IT04226190041).

Metadata

Release files for isbrokersafe 1.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 isbrokersafe 1.3.0
File Size Uploaded Provenance Actions
isbrokersafe-1.3.0.tar.gz 8.9 kB Without provenance Details for isbrokersafe-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.0 kB

Release files / isbrokersafe-1.3.0.tar.gz

Download URL isbrokersafe-1.3.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9832a1b318aefd323e869781506ea37df60e81a2a2c8df89aca35b0fbe6f6bb0
BLAKE2b-256 checksum
How to use checksums
6378949f2810ea239cbba533f925737a1fe56b54b3dabc1af130a9b4600007b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release files / isbrokersafe-1.3.0-py3-none-any.whl

Download URL isbrokersafe-1.3.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b9128969e396bae338b47303e14d3df97cdadbc95af0859f951577831f54550
BLAKE2b-256 checksum
How to use checksums
fcddbfa390b942576f9d0a0e020ec562ed1020dee4d5df5526c316a2a0a5fb1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Security for isbrokersafe 1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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