Skip to main content

ble-radar

BLE device scanner, fingerprinter, and tracker detector. Find nearby Bluetooth devices, identify brands/models, detect AirTags and Tile trackers, and fingerprint IoT devices.

Install

pip install ble-radar

Quick Start

import asyncio
from bleradar import BLEScanner

async def main():
    scanner = BLEScanner()
    result = await scanner.scan(duration=10.0)
    
    print(f"Found {result.count} devices in {result.scan_duration:.1f}s")
    for dev in result.by_rssi(min_rssi=-70):
        print(dev)

asyncio.run(main())

Filter Results

result = await scanner.scan(duration=10.0)

# Strong signal only
strong = result.by_rssi(min_rssi=-60)

# By name
apple_devices = result.by_name("AirPods")

# By manufacturer
apple = result.by_manufacturer(0x004C)

# By service UUID
led_controllers = result.by_service("49535343")

# Only connectable
connectable = result.connectable()

Device Fingerprinting

from bleradar import BLEScanner, FingerprintDB

scanner = BLEScanner()
fingerprint_db = FingerprintDB()

result = await scanner.scan(duration=10.0)

for dev in result.devices:
    fp = fingerprint_db.identify(dev)
    print(f"{dev.name or dev.address}: {fp.brand} {fp.model} ({fp.device_type})")
    print(f"  Confidence: {fp.confidence:.0%}")
    print(f"  Clues: {', '.join(fp.clues)}")

Tracker Detection

Find AirTags, Tile trackers, and other tracking devices nearby:

result = await scanner.scan(duration=10.0)
trackers = fingerprint_db.find_trackers(result.devices)

if trackers:
    print(f"WARNING: {len(trackers)} tracker(s) detected!")
    for dev, fp in trackers:
        print(f"  {dev.address} ({dev.name}) - {fp.brand} {fp.model} @ {dev.rssi}dBm")

Unknown Devices

Find devices that don't match any known pattern — potential security targets:

unknown = fingerprint_db.find_unknown(result.devices)
for dev in unknown:
    print(f"Mystery device: {dev.address} RSSI:{dev.rssi}")
    print(f"  Manufacturer data: {dev.manufacturer_data}")
    print(f"  Service UUIDs: {dev.service_uuids}")

Continuous Monitoring

import asyncio
from bleradar import BLEScanner

scanner = BLEScanner()

def on_device_found(dev):
    print(f"[NEW] {dev}")

async def monitor():
    result = await scanner.scan(
        duration=60.0,
        callback=on_device_found
    )

asyncio.run(monitor())

Requirements

  • Python >= 3.10
  • Bluetooth adapter (supports BLE 4.0+)
  • bleak (auto-installed)
  • Linux recommended (macOS and Windows also supported)

Use Cases

  • Security research: Scan for nearby IoT devices, identify vulnerable hardware
  • Tracker detection: Find AirTags/Tile trackers being used for surveillance
  • Network auditing: Map all BLE devices in an environment
  • IoT development: Debug and fingerprint BLE peripherals
  • Penetration testing: Recon before targeting BLE-enabled systems

Donate

If this saved you time or caught a tracker:

License

MIT

Metadata

Release files for ble-radar 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 ble-radar 0.1.0
File Size Uploaded Provenance Actions
ble_radar-0.1.0.tar.gz 6.5 kB Without provenance Details for ble_radar-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ble-radar 0.1.0
File Interpreter ABI Platform Actions
ble_radar-0.1.0-py3-none-any.whl Python 3 none any Details for ble_radar-0.1.0-py3-none-any.whl

Total release size: 13.5 kB

Release files / ble_radar-0.1.0.tar.gz

Download URL ble_radar-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7a6916586c66ad7a18ad717248d60bb430f0c9ac143ec57fca4208a6922b660b
BLAKE2b-256 checksum
How to use checksums
1037ab824c2b77088f71f5a9e8bcdac2ecdaa463090ceed3156ed5d7eab44cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

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

Download URL ble_radar-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
234ed40e14d83f56573a5ab3a62b4d7454c24c5a1a83d19fd50ab655e37d96b3
BLAKE2b-256 checksum
How to use checksums
5eac476b850645e817bb0d903f247f6bc9bfe8f101d7c0c3f4426f1c8b9f2ce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for ble-radar 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.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No 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