A web based interface to the Bitcoin API JSON-RPC

Command: listaccounts

The listaccounts RPC lists accounts and their balances.

Parameter #1—the minimum number of confirmations a transaction must have
Parameter #2—whether to include watch-only addresses in results
Result—a list of accounts and their balances

The minimum number of confirmations an externally-generated transaction must have before it is counted towards the balance. Transactions generated by this node are counted immediately. Typically, externally-generated transactions are payments to this wallet and transactions generated by this node are payments to other wallets. Use 0 to count unconfirmed transactions. Default is 1.
If set to true, include watch-only addresses in details and calculations as if they were regular addresses belonging to the wallet. If set to false (the default), treat watch-only addresses as if they didn’t belong to this wallet.
{
	"result": {
		"": 0.00385000,
		"\t1111111111111111111114oLvT2": 0.00000000,
		" ": 0.00000000,
		"\" \"": 0.00000000,
		"\"\"": 0.00000000,
		"000000000000000000000000000000000000000001fa4423fa272878f6785d4e": 0.00000000,
		"00000000e971a5014d9f7a70e26b223dbb68a51c4a6340824ef8deca00a30430": 0.00000000,
		"000a6b825daa1b89f8e100ed8eec6d79b592500f49": 0.00000000,
		"0fae0a8666f1a151fbb46638cf205c71800e3400": 0.00000000,
		"1": 0.00000000,
		"100": 0.00000000,
		"12": 0.00000000,
		"121": 0.00000000,
		"123123123": 0.00000000,
		"12ucbzm5u44Fqbd4CoE3GZwyEkrEx5JEkX": 0.00000000,
		"12wbp9ZXpG17AxMrscnfX5n6kDbgR6sLfE": 0.00000000,
		"13117066659": 0.00000000,
		"1510": 0.00000000,
		"15ETmFMrT6be8jqS8jFeaBEadhSSe65vMj": 0.00000000,
		"15nMWix4rnpr7HaZkvfMVkdFf2YbUtaGsj": 0.00000000,
		"16WYj3RRCG85jgLZPEXwQVJcmuCCaXLo8c": 0.00000000,
		"188888ZKZutFfYHv4sxoxiMNfb8rinHsDu": 0.00000000,
		"18vo1ZVS5kN2SngCxGyEvi39JbjbJUgbf7": 0.00000000,
		"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX": 0.00000000,
		"1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX": 0.00000000,
		"1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF": 0.00000000,
		"1HSqyCH5mF6jbRcySed5ds8hxLEiNDDevm": 0.00000000,
		"1Kr6QSydW9bFQG1mXiPNNu6WpJGmUa9i1g": 0.00000000,
		"1NBMQjJNfBC2MGErZK2TyJnAzw5Bo8Ad9": 0.00000000,
		"1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc": 0.00000000,
		"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp": 0.00000000,
		"23": 0.00000000,
		"2N4TvxvrGMAuELrYn8HxpoHrQGMo96bwg88": 0.00000000,
		"2a60c1e6f9de84e1dca837f640c42b5d33da566b412e9dcc81ccabce2a9fc7b6": 0.00000000,
		"32NFcoB96ANoPnqycLH9WUd94o7bwRyq66": 0.00000000,
		"32rgsmj8RQLTySZMDezTGhebxG3mv9LYUU": 0.00000000,
		"34mdFM2iVkkgYHEXPnqtH4FZTodWbyxf7q": 0.00000000,
		"38n2cX9XiQ3itj6Vif5LZ2fnpms1chQzZR ": 0.00000000,
		"3BMEX1bdLfSRwSLLChSQEeGSXCqmxzS8QW": 0.00000000,
		"3D2oetdNuZUqQHPJmcMDDHYoqkyNVsFk9r": 0.00000000,
		"3FpF7pxYM9999213ik8teSmYc5uyFR1b6v": 0.00000000,
		"3LJAKgJXtEPDNTkNSj3BdtfNXiyp8Uf9ey": 0.00000000,
		"3MWvffeLJHG6xGe8qbL2hS5uaBH5Gcxgwv": 0.00000000,
		"3NgejEdMVZcCUAffp2fRd8LTtRPjiaN1h6": 0.00000000,
		"4111111111111111": 0.00000000,
		"536ffa992491508dca0354e52f32a3a7a679a53a": 0.00000000,
		"6PnX1irfmtygUAAqbSm96kVL1ATxCQ4oqKPZ9G7Vn1QTJ1M9rLNcrLPACb": 0.00000000,
		"70449891": 0.00000000,
		"7be4ae11-6c07-442b-93ac-ef6bea35de36": 0.00000000,
		"9": 0.00000000,
		"<test>": 0.00000000,
		"Account 2": 0.00000000,
		"CYYBER": 0.00000000,
		"Cloacal": 0.00000000,
		"CoinBase": 0.00000000,
		"Donate": 0.00000000,
		"My account": 0.00000000,
		"Phungmobile": 0.00000000,
		"Polinex": 0.00000000,
		"Test": 0.00000000,
		"a721caa39233676ccd3dc0509d0b93a6bc55fb52": 0.00000000,
		"a88d623c7cabec37ed35600707f5d588894b339089a3c7aee819b026c4291c38": 0.00000000,
		"aa": 0.00000000,
		"abc": 0.00000000,
		"addr": 0.00000000,
		"admin": 0.00000000,
		"adr": 0.00000000,
		"alien": 0.00000000,
		"allexx9": 0.00000000,
		"anirudhs": 0.00000000,
		"asd": 0.00000000,
		"asdf": 0.00000000,
		"asdfaf": 0.00000000,
		"asdfasf": 0.00000000,
		"asss": 0.00000000,
		"bchtest:qzkr07vqzl2qszl9p8xar8h6hdjg4xep8c7sqc42ll": 0.00000000,
		"bfabbceedfbf9cc651a09148ba2de75b6008ba89": 0.00000000,
		"bitcoinchain": 0.00000000,
		"bob": 0.00000000,
		"bxcvbxcvb": 0.00000000,
		"d4293b6a282ff348e2ed2959dee90a691e21c66b": 0.00000000,
		"d4f94674f0e13387b84e8b3d877e9c458bf00f170a2707ce5fc202084c5d2d0e ": 0.00000000,
		"d5d016e1ba3a3a6a3502fb5cb112e2c56f15ed72be9dd3832408dff6c051f773": 0.00000000,
		"d5f69d71fdddd5f776734eb67b6ef5d5b7fa7796b7739e9eeb7ddbd36e9d739e1ce5ce9dd5e7387f7ef669ee5bf77d7d": 0.00000000,
		"damian": 0.00000000,
		"dasd2sad1aad2": 0.00000000,
		"default": 0.00000000,
		"dengsen": 0.00000000,
		"df4b01d0c8cfe3a8610754c933e161bd160ff9b131e67c84fee5e2b1ffa78a24": 0.00000000,
		"f9cd73edbe1e1035": 0.00000000,
		"fido": 0.00000000,
		"getaccountaddress": 0.00000000,
		"getreceivedbyaddress": 0.00000000,
		"grger": 0.00000000,
		"help": 0.00000000,
		"hola": 0.00000000,
		"hsthh": 0.00000000,
		"jmlim": 0.00000000,
		"libel": 0.00000000,
		"listaccounts": 0.00000000,
		"mau": 0.00000000,
		"myaccount": 0.00000000,
		"oklol": 0.00000000,
		"owen": 0.00000000,
		"payment": 0.00000000,
		"prt20180627": 0.00000000,
		"rakko": 0.00000000,
		"rewrewrewr": 0.00000000,
		"rick_peng": 0.00000000,
		"roslan": 0.00000000,
		"ruslandudka": 0.00000000,
		"s": 0.00000000,
		"sam": 0.00000000,
		"satoshi": 0.00000000,
		"stephen w c moore": 0.00000000,
		"system": 0.00000000,
		"test": 0.00000000,
		"test1": 0.00000000,
		"test111": 0.00000000,
		"test123": 0.00000000,
		"test5": 0.00000000,
		"test6": 0.00000000,
		"ware": 0.00000000,
		"xm_tianxiaowei": 0.00000000,
		"“2MtATFhdFctQwgTsEtVYVxk7fHqARnEZsQ8”": 0.00000000,
		"金": 0.00000000,
		"��mmü\u000b\u0011l<FFo�\u001c�\u0017����x�Yv�H�ᏼ�ߩ�\u0001\u0006e\u0006\u00014 }�%�D\u0004/slush/": 0.00000000
	},
	"error": null,
	"id": null
}
listaccounts ( minconf include_watchonly)

DEPRECATED. Returns Object that has account names as keys, account balances as values.

Arguments:
1. minconf             (numeric, optional, default=1) Only include transactions with at least this many confirmations
2. include_watchonly   (bool, optional, default=false) Include balances in watch-only addresses (see 'importaddress')

Result:
{                      (json object where keys are account names, and values are numeric balances
  "account": x.xxx,  (numeric) The property name is the account name, and the value is the total balance for the account.
  ...
}

Examples:

List account balances where there at least 1 confirmation
> bitcoin-cli listaccounts 

List account balances including zero confirmation transactions
> bitcoin-cli listaccounts 0

List account balances for 6 or more confirmations
> bitcoin-cli listaccounts 6

As json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/