Skip to main content

Bitcoin wallet intelligence API client — identify any address, 21 sats per query

Project description

satoshidata

Bitcoin wallet intelligence API client. Identify any Bitcoin address from 30M+ labeled wallets.

Install

pip install satoshidata

Quick start

from satoshidata import SatoshiDataClient

sd = SatoshiDataClient()

# Free: check any address
result = sd.trust_safety("bc1qm34lsc65zpw79lxes69zkqmk6ee3ewf0j77s3h")
print(result["assessment"]["headline"])  # "Verified Binance (exchange)"

# Free: current BTC price
price = sd.price()
print(f"BTC: ${price['price_usd']:,.0f}")

# Free: network overview
network = sd.network_summary()
print(network["hashrate_eh"])

# Free: transaction status
tx = sd.tx_status("a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d")
print(tx["state"])  # "confirmed"

Premium (21 sats per call)

sd = SatoshiDataClient(api_key="your-api-key")

# Full wallet intelligence
summary = sd.summary("bc1qm34lsc65zpw79lxes69zkqmk6ee3ewf0j77s3h")
print(summary["likely_entity"])  # "Binance"

# Batch lookup (up to 100 addresses)
batch = sd.batch_trust_safety([
    "bc1qm34lsc65zpw79lxes69zkqmk6ee3ewf0j77s3h",
    "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
])
print(len(batch["results"]))

# Payment verification
verified = sd.tx_verify(
    txid="c2d6e69901e1af159fe4a3e774d9b0a511141f82f970e2db1f726031dc482f36",
    address="bc1qhjkadr66r22edl96vuvetyuvpp44mdn8wqvhm5",
    min_amount_sats=410,
    min_confirmations=1,
)

All methods

Free (no API key)

Method Description
api_health() Basic service health
wallets_index() Wallet route index
trust_safety(address) Wallet trust-safety teaser
price() BTC market snapshot
onchain() On-chain regime data
fees() Fee-rate recommendations
mempool() Mempool state
network_summary() Combined network snapshot
tx_status(txid) Transaction status
timestamp_status(hash) Timestamp lookup
timestamp_quote() Timestamp preflight quote
timestamp_verify(hash, proof) Proof verification
capabilities() List all capabilities
billing_catalog() Public billing catalog
feedback(type, ...) Submit label corrections

Premium (21 sats / API key)

Method Description
summary(address) Full wallet intelligence
detail(address) Label evidence breakdown
contributors(address) Label contributors
batch_trust_safety(addresses) Batch trust-safety
batch_summary(addresses) Batch summaries
tx_lookup(txid) Full transaction details
tx_verify(txid, address, amount) Payment verification
timestamp_submit(hash) Bitcoin timestamping
timestamp_proof(hash) Download proof
create_checkout(plan_id, payment_method_id) Create bridge checkout
checkout_status(checkout_id) Poll checkout status
refresh_checkout(checkout_id) Refresh a pending checkout
redeem_test_code(code) Redeem a bridge test code

MCP

satoshidata.ai is also available as an MCP server:

{
  "mcpServers": {
    "satoshidata": {
      "url": "https://satoshidata.ai/mcp/"
    }
  }
}

Example flows

Wallet trust-safety

from satoshidata import SatoshiDataClient

client = SatoshiDataClient()
result = client.trust_safety("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa")
print(result["assessment"]["headline"])

Network summary

from satoshidata import SatoshiDataClient

client = SatoshiDataClient()
summary = client.network_summary()
print(summary["fastest_fee_sat_vb"], summary["hashrate_eh"])

Batch address scoring

from satoshidata import SatoshiDataClient

client = SatoshiDataClient(api_key="your-api-key")
batch = client.batch_trust_safety([
    "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
    "1N52wHoVR79PMDishab2XmRHsbekCdGquK",
])
for row in batch["results"]:
    print(row.get("address"), row.get("assessment", {}).get("headline"))

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

satoshidata-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

satoshidata-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file satoshidata-0.1.0.tar.gz.

File metadata

  • Download URL: satoshidata-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for satoshidata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0271108ba3f5e66b85bcbc3dd810c07aa326e7d4bfaa66cf557cebbc5ea7544
MD5 1b5d4cb9e44b6e12d44cbcad6589dde3
BLAKE2b-256 38aae781e69d1d6b0382c389df846e8d3eb3b072648030eab9c076890bdffb90

See more details on using hashes here.

Provenance

The following attestation bundles were made for satoshidata-0.1.0.tar.gz:

Publisher: publish-python-sdk.yml on wrbtc/WhiteRabbit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satoshidata-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: satoshidata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for satoshidata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ec630235aa22dc0048a1b6984688cababd31171b26c9c0bca687583233461b9
MD5 4ab0e6ac661744d0bae0b7b2f673d4f7
BLAKE2b-256 3a67423be1fe3fa0e4b45fe40ec18e6477a49584afce52b91ab39c2256db0124

See more details on using hashes here.

Provenance

The following attestation bundles were made for satoshidata-0.1.0-py3-none-any.whl:

Publisher: publish-python-sdk.yml on wrbtc/WhiteRabbit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page