BlockchainAddressData (for Bitcoin)
BlockchainAddressData["address"]
gives available information connected with the specified address on the Bitcoin blockchain.
BlockchainAddressData[assoc]
gives available information connected with properties matching the specification in assoc.
BlockchainAddressData[addressSpec,prop]
gives the specified property of the Bitcoin blockchain address.
Details
- The blockchain address can be specified as follows:
-
"address" address on the Bitcoin blockchain "chain""address" address on the specified public blockchain {"chain","network"}"address" address on a specific network for a Bitcoin blockchain - The addressSpec input refers to any input, whether it is a String address or an Association assoc.
- In BlockchainAddressData[assoc], the association assoc can have elements with the following keys:
-
"Address" address on the Bitcoin blockchain "TimeInterval" time interval for transactions to be included "BlockNumberInterval" blocks interval for transactions to be included "BlockNumber" number associated to a specific height on the blockchain - Properties include:
-
"Address" Bitcoin address "Balance" current value of the balance in bitcoins "ValueInUSDollars" current value of the balance in US dollars "TotalUTXO" total number of unspent transaction outputs associated to this address "UTXOList" summary list of unspent transaction outputs of this address "TotalTransactions" total number of transactions associated to this address "TransactionList" summary list of recent transactions of the address - If the association assoc contains "BlockNumber", "BlockNumberInterval" or "TimeInterval", the output will include only a subset of available properties.
- "TransactionList" gives an association with the following properties as its keys:
-
"TransactionID" transaction hash "BlockNumber" block number including the transaction "Timestamp" timestamp of the block "Inputs" inputs of the transaction "Outputs" outputs of the transaction - Possible options include:
-
BlockchainBase Automatic sets the blockchain and its network MaxItems 20 the maximum number of items to return - BlockchainAddressData can access the Bitcoin mainnet (default) and testnet networks. To specify these networks, use the BlockchainBase option.
- The setting for MaxItems specifies the maximum number of transactions to include in the result.
Examples
open allclose allBasic Examples (8)Summary of the most common use cases
Check a Bitcoin address on main network:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-yc77zd

Specify the blockchain in the first argument:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-2g3c7o

Specify the blockchain and network in the first argument:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-u24b98

Get data of an address up to the block height 170,000:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-lpqsvq

Filter the list of transactions of a specific address by blocks:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-ysjsi3

Filter the list of transactions of a specific address by time:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-fbh9oa

Get a property from a Bitcoin address:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-iiewpd

Get multiple properties from a Bitcoin address:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-46vton

Scope (7)Survey of the scope of standard use cases
Address (1)
Balance (1)
TotalTransactions (1)
TotalUTXO (1)
TransactionList (1)
UTXOList (1)
Options (3)Common values & functionality for each option
BlockchainBase (2)
Mainnet (1)
Applications (1)Sample problems that can be solved with this function
Get the "ValueInUSDollars" property of a specific Bitcoin address:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-xq75za

Convert the amount to another currency:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-sp4qi7

Properties & Relations (4)Properties of the function, and connections to other functions
A Bitcoin address can be specified in three different forms:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-4o5pmp

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-fl80c1

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-cer1bd

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-h8wxqf

The value returned by the "Address" property is the same as the provided address:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-uc9ut0

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-gujw1c

When filtering an address by "BlockNumber", "BlockNumberInterval" or "TimeInterval", the output will not include all available properties, but only a subset:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-j3fq68


https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-thmf6e


https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-71lkcl

Filtering an address using "BlockNumber" to specify a block is equivalent to using "BlockNumberInterval" with an interval from block 0 to the specified block:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-i2rmj8

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-p5uka6

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-kgsqpu

Possible Issues (3)Common pitfalls and unexpected behavior
Nonexistent Addresses (2)
Using an address from one network in another network will return a Missing output:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-hxhsea


https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-qxjncb


Filtering an address by a block height or time when the address did not exist in the blockchain will return a Missing output:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-ral7wm


Incorrect Addresses (1)
Providing an invalid address, public key or username will return a $Failed output:

https://wolfram.com/xid/0202taka9eu5jbm92386rvslc2ij6lcm1ybqhjk6ubr15u-1wshvl


Wolfram Research (2019), BlockchainAddressData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html.
Text
Wolfram Research (2019), BlockchainAddressData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html.
Wolfram Research (2019), BlockchainAddressData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html.
CMS
Wolfram Language. 2019. "BlockchainAddressData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html.
Wolfram Language. 2019. "BlockchainAddressData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html.
APA
Wolfram Language. (2019). BlockchainAddressData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html
Wolfram Language. (2019). BlockchainAddressData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html
BibTeX
@misc{reference.wolfram_2025_blockchainaddressdata, author="Wolfram Research", title="{BlockchainAddressData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_blockchainaddressdata, organization={Wolfram Research}, title={BlockchainAddressData}, year={2019}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainAddressData-Bitcoin.html}, note=[Accessed: 19-June-2025
]}