A web based interface to the Bitcoin API JSON-RPC

Command: getpeerinfo

The getpeerinfo RPC returns data about each connected network node.

Parameters: none
Result—information about each currently-connected network node

{
	"result": [
		{
			"id": 27012,
			"addr": "159.65.230.103:8333",
			"addrlocal": "159.203.103.178:41452",
			"addrbind": "159.203.103.178:41452",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930635,
			"bytessent": 2606409675,
			"bytesrecv": 6688289468,
			"conntime": 1532244343,
			"timeoffset": -1,
			"pingtime": 0.001404,
			"minping": 0.000811,
			"version": 70015,
			"subver": "/Satoshi:0.16.0/",
			"inbound": false,
			"addnode": false,
			"startingheight": 533061,
			"banscore": 0,
			"synced_headers": 572745,
			"synced_blocks": 572745,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 12581885,
				"blocktxn": 88452,
				"cmpctblock": 28953420,
				"feefilter": 78976,
				"getaddr": 24,
				"getblocktxn": 266464,
				"getdata": 410167131,
				"getheaders": 1053,
				"headers": 371424,
				"inv": 1845334057,
				"notfound": 1784141,
				"ping": 6313952,
				"pong": 6314944,
				"reject": 767104,
				"sendcmpct": 6039,
				"sendheaders": 24,
				"tx": 293380427,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 12450922,
				"block": 2392699,
				"blocktxn": 55537632,
				"cmpctblock": 373303243,
				"feefilter": 32,
				"getblocktxn": 811,
				"getdata": 31327307,
				"getheaders": 1053,
				"headers": 318586,
				"inv": 1160200302,
				"notfound": 1859987,
				"ping": 6314944,
				"pong": 6313952,
				"reject": 124804,
				"sendcmpct": 10230,
				"sendheaders": 24,
				"tx": 5038132790,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 208381,
			"addr": "94.237.44.67:52671",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000000",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930580,
			"bytessent": 1257447027,
			"bytesrecv": 10363680,
			"conntime": 1546930095,
			"timeoffset": -117,
			"pingtime": 0.08429300000000001,
			"minping": 0.075623,
			"version": 70015,
			"subver": "/bitnodes.earn.com:0.1/",
			"inbound": true,
			"addnode": false,
			"startingheight": 557560,
			"banscore": 0,
			"synced_headers": 570817,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 4979605,
				"feefilter": 52224,
				"inv": 1249254950,
				"ping": 2399104,
				"pong": 760896,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 7202730,
				"inv": 793,
				"ping": 760896,
				"pong": 2399104,
				"verack": 24,
				"version": 133
			}
		},
		{
			"id": 238448,
			"addr": "88.99.167.186:52105",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000000",
			"relaytxes": true,
			"lastsend": 1555930629,
			"lastrecv": 1555930628,
			"bytessent": 1114190261,
			"bytesrecv": 16415929,
			"conntime": 1548018202,
			"timeoffset": 0,
			"pingtime": 0.080453,
			"minping": 0.08036,
			"version": 70015,
			"subver": "/Satoshi:0.15.1/",
			"inbound": true,
			"addnode": false,
			"startingheight": 559377,
			"banscore": 0,
			"synced_headers": 572235,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 4046355,
				"feefilter": 49408,
				"inv": 1106621162,
				"ping": 2109152,
				"pong": 1363936,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 12941105,
				"inv": 1586,
				"ping": 1363936,
				"pong": 2109152,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 245353,
			"addr": "139.59.34.217:8333",
			"addrlocal": "159.203.103.178:60712",
			"addrbind": "159.203.103.178:60712",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930634,
			"bytessent": 1006050387,
			"bytesrecv": 1669980620,
			"conntime": 1548253945,
			"timeoffset": -1,
			"pingtime": 0.217549,
			"minping": 0.194249,
			"version": 70015,
			"subver": "/Satoshi:0.15.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 559761,
			"banscore": 0,
			"synced_headers": 572735,
			"synced_blocks": 572735,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 4129650,
				"blocktxn": 19530,
				"cmpctblock": 2943246,
				"feefilter": 49504,
				"getaddr": 24,
				"getblocktxn": 6216,
				"getdata": 107136849,
				"getheaders": 1053,
				"headers": 1170240,
				"inv": 745740057,
				"notfound": 1439292,
				"ping": 2045888,
				"pong": 2046208,
				"reject": 430288,
				"sendcmpct": 2244,
				"sendheaders": 24,
				"tx": 138889916,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 4536647,
				"block": 1339799,
				"blocktxn": 3106356,
				"cmpctblock": 23999920,
				"feefilter": 32,
				"getblocktxn": 340,
				"getdata": 15869603,
				"getheaders": 1053,
				"headers": 711684,
				"inv": 429121951,
				"notfound": 897743,
				"ping": 2046208,
				"pong": 2045888,
				"reject": 117849,
				"sendcmpct": 396,
				"sendheaders": 24,
				"tx": 1186184977,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 265099,
			"addr": "129.13.252.36:41048",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930631,
			"lastrecv": 1555930591,
			"bytessent": 993390609,
			"bytesrecv": 3782658,
			"conntime": 1548935288,
			"timeoffset": 0,
			"pingtime": 0.092654,
			"minping": 0.081218,
			"version": 70002,
			"subver": "/Satoshi:0.9.99/",
			"inbound": true,
			"addnode": false,
			"startingheight": -1,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 3745062,
				"alert": 192,
				"getheaders": 1053,
				"inv": 985915216,
				"ping": 1864128,
				"pong": 1864800,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 53460,
				"getaddr": 120,
				"ping": 1864800,
				"pong": 1864128,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 270194,
			"addr": "138.68.85.114:8333",
			"addrlocal": "159.203.103.178:59272",
			"addrbind": "159.203.103.178:59272",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930634,
			"bytessent": 805093354,
			"bytesrecv": 2113297678,
			"conntime": 1549432232,
			"timeoffset": 0,
			"pingtime": 0.08458300000000001,
			"minping": 0.082023,
			"version": 70015,
			"subver": "/Satoshi:0.17.0/",
			"inbound": false,
			"addnode": false,
			"startingheight": 561756,
			"banscore": 0,
			"synced_headers": 572745,
			"synced_blocks": 572745,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 3347900,
				"blocktxn": 241470,
				"cmpctblock": 237909,
				"feefilter": 49568,
				"getaddr": 24,
				"getblocktxn": 43292,
				"getdata": 136510937,
				"getheaders": 111618,
				"headers": 339094,
				"inv": 592571967,
				"notfound": 365781,
				"ping": 1732128,
				"pong": 1732288,
				"reject": 424664,
				"sendcmpct": 4224,
				"sendheaders": 24,
				"tx": 67380308,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 3323652,
				"blocktxn": 23972085,
				"cmpctblock": 79555621,
				"feefilter": 32,
				"getblocktxn": 64,
				"getdata": 7198194,
				"getheaders": 1053,
				"headers": 548682,
				"inv": 390673854,
				"notfound": 1040361,
				"ping": 1732288,
				"pong": 1732128,
				"reject": 46591,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 1603472767,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 309208,
			"addr": "129.13.88.175:53116",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930629,
			"lastrecv": 1555930601,
			"bytessent": 493777624,
			"bytesrecv": 1824424,
			"conntime": 1552557875,
			"timeoffset": 0,
			"pingtime": 0.090086,
			"minping": 0.08271299999999999,
			"version": 70002,
			"subver": "/dsn.tm.kit.edu/bitcoin:0.9.99/",
			"inbound": true,
			"addnode": false,
			"startingheight": -1,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 1188392,
				"alert": 192,
				"getheaders": 1053,
				"inv": 490789461,
				"ping": 899008,
				"pong": 899360,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 25795,
				"getaddr": 96,
				"ping": 899360,
				"pong": 899008,
				"verack": 24,
				"version": 141
			}
		},
		{
			"id": 309228,
			"addr": "129.13.88.177:43958",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930614,
			"bytessent": 493911923,
			"bytesrecv": 1824128,
			"conntime": 1552558481,
			"timeoffset": 0,
			"pingtime": 0.088536,
			"minping": 0.082288,
			"version": 70002,
			"subver": "/dsn.tm.kit.edu/bitcoin:0.9.99/",
			"inbound": true,
			"addnode": false,
			"startingheight": -1,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 1186387,
				"alert": 192,
				"getheaders": 1053,
				"inv": 490926085,
				"ping": 898848,
				"pong": 899200,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 25795,
				"getaddr": 120,
				"ping": 899200,
				"pong": 898848,
				"verack": 24,
				"version": 141
			}
		},
		{
			"id": 320382,
			"addr": "162.243.173.171:8333",
			"addrlocal": "159.203.103.178:49234",
			"addrbind": "159.203.103.178:49234",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930632,
			"bytessent": 318077842,
			"bytesrecv": 990906863,
			"conntime": 1553552724,
			"timeoffset": 0,
			"pingtime": 0.001434,
			"minping": 0.0009970000000000001,
			"version": 70015,
			"subver": "/Satoshi:0.17.0/",
			"inbound": false,
			"addnode": false,
			"startingheight": 568797,
			"banscore": 0,
			"synced_headers": 572745,
			"synced_blocks": 572745,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 804530,
				"feefilter": 34656,
				"getaddr": 24,
				"getblocktxn": 274894,
				"getdata": 57579099,
				"getheaders": 10530,
				"headers": 9752,
				"inv": 234289972,
				"notfound": 84833,
				"ping": 633824,
				"pong": 633984,
				"reject": 315765,
				"sendcmpct": 726,
				"sendheaders": 24,
				"tx": 23405071,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 463757,
				"blocktxn": 117623118,
				"cmpctblock": 58039589,
				"feefilter": 32,
				"getdata": 2338770,
				"getheaders": 1053,
				"headers": 26824,
				"inv": 159849424,
				"notfound": 843192,
				"ping": 633984,
				"pong": 633824,
				"reject": 19896,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 650433160,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 321982,
			"addr": "83.85.189.147:60170",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930628,
			"lastrecv": 1555930635,
			"bytessent": 483832710,
			"bytesrecv": 547719629,
			"conntime": 1553733467,
			"timeoffset": -1,
			"pingtime": 0.109402,
			"minping": 0.09032900000000001,
			"version": 70015,
			"subver": "/Satoshi:0.16.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 569091,
			"banscore": 0,
			"synced_headers": 572734,
			"synced_blocks": 572734,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 778367,
				"block": 1173397,
				"blocktxn": 13370,
				"cmpctblock": 5408915,
				"feefilter": 30016,
				"getdata": 29900257,
				"getheaders": 1053,
				"headers": 340578,
				"inv": 123695021,
				"notfound": 311726,
				"ping": 585376,
				"pong": 583776,
				"reject": 207873,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 320802737,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 595955,
				"cmpctblock": 18911,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 318,
				"getdata": 28664993,
				"getheaders": 1053,
				"headers": 52364,
				"inv": 244333295,
				"notfound": 553277,
				"ping": 583776,
				"pong": 585376,
				"reject": 136172,
				"sendcmpct": 462,
				"sendheaders": 24,
				"tx": 272193447,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 326887,
			"addr": "188.166.69.73:32113",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000000",
			"relaytxes": true,
			"lastsend": 1555930627,
			"lastrecv": 1555930580,
			"bytessent": 292817851,
			"bytesrecv": 2599823,
			"conntime": 1554042754,
			"timeoffset": 0,
			"pingtime": 0.07965899999999999,
			"minping": 0.075933,
			"version": 70015,
			"subver": "/bitnodes.earn.com:0.1/",
			"inbound": true,
			"addnode": false,
			"startingheight": 569601,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 577225,
				"feefilter": 23232,
				"inv": 291511130,
				"ping": 503200,
				"pong": 202816,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 1893650,
				"ping": 202816,
				"pong": 503200,
				"verack": 24,
				"version": 133
			}
		},
		{
			"id": 332050,
			"addr": "195.154.251.57:8333",
			"addrlocal": "159.203.103.178:56316",
			"addrbind": "159.203.103.178:56316",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930634,
			"lastrecv": 1555930634,
			"bytessent": 260342252,
			"bytesrecv": 338480284,
			"conntime": 1554358281,
			"timeoffset": -2,
			"pingtime": 0.08662400000000001,
			"minping": 0.076943,
			"version": 70015,
			"subver": "/Satoshi:0.17.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 570126,
			"banscore": 0,
			"synced_headers": 572744,
			"synced_blocks": 572744,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 509285,
				"cmpctblock": 72825,
				"feefilter": 17376,
				"getaddr": 24,
				"getblocktxn": 124,
				"getdata": 22130790,
				"getheaders": 1053,
				"headers": 184334,
				"inv": 167057650,
				"notfound": 172327,
				"ping": 419104,
				"pong": 419168,
				"reject": 173207,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 69184671,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 388997,
				"blocktxn": 2049,
				"cmpctblock": 514319,
				"feefilter": 32,
				"getdata": 7167122,
				"getheaders": 1053,
				"headers": 171402,
				"inv": 92872860,
				"notfound": 332027,
				"ping": 419168,
				"pong": 419104,
				"reject": 28115,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 236163796,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 336259,
			"addr": "80.251.183.146:57780",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930633,
			"lastrecv": 1555930590,
			"bytessent": 169527187,
			"bytesrecv": 587645,
			"conntime": 1554828902,
			"timeoffset": -3,
			"pingtime": 0.10683,
			"minping": 0.09821100000000001,
			"version": 70002,
			"subver": "/dsn.tm.kit.edu/bitcoin:0.9.99/",
			"inbound": true,
			"addnode": false,
			"startingheight": -1,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 406882,
				"alert": 192,
				"getheaders": 1053,
				"inv": 168531446,
				"ping": 293664,
				"pong": 293792,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"getaddr": 24,
				"ping": 293792,
				"pong": 293664,
				"verack": 24,
				"version": 141
			}
		},
		{
			"id": 340860,
			"addr": "24.165.181.114:49571",
			"addrlocal": "159.203.103.178:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1555930634,
			"lastrecv": 1555930634,
			"bytessent": 85809094,
			"bytesrecv": 287971533,
			"conntime": 1555234567,
			"timeoffset": 1,
			"pingtime": 0.02613,
			"minping": 0.020635,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/",
			"inbound": true,
			"addnode": false,
			"startingheight": 571588,
			"banscore": 0,
			"synced_headers": 572734,
			"synced_blocks": 572734,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 257657,
				"blocktxn": 1526889,
				"cmpctblock": 12165478,
				"feefilter": 7456,
				"getdata": 19874282,
				"getheaders": 1053,
				"headers": 30210,
				"inv": 28240967,
				"notfound": 176195,
				"ping": 185536,
				"pong": 185344,
				"reject": 172770,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 22985009,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 185230,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 4206,
				"getdata": 2146197,
				"getheaders": 1053,
				"headers": 19928,
				"inv": 84706368,
				"notfound": 269456,
				"ping": 185344,
				"pong": 185536,
				"reject": 6939,
				"sendcmpct": 297,
				"sendheaders": 24,
				"tx": 200260749,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 342208,
			"addr": "67.205.175.178:8333",
			"addrlocal": "159.203.103.178:51310",
			"addrbind": "159.203.103.178:51310",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930632,
			"lastrecv": 1555930632,
			"bytessent": 68172193,
			"bytesrecv": 193585771,
			"conntime": 1555408659,
			"timeoffset": 0,
			"pingtime": 0.001703,
			"minping": 0.001074,
			"version": 70015,
			"subver": "/Satoshi:0.17.0/",
			"inbound": false,
			"addnode": false,
			"startingheight": 571873,
			"banscore": 0,
			"synced_headers": 572745,
			"synced_blocks": 572745,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 189730,
				"cmpctblock": 933695,
				"feefilter": 8096,
				"getaddr": 24,
				"getblocktxn": 18613,
				"getdata": 12157940,
				"getheaders": 37908,
				"headers": 10706,
				"inv": 49584146,
				"notfound": 26558,
				"ping": 139136,
				"pong": 139200,
				"reject": 88686,
				"sendcmpct": 231,
				"sendheaders": 24,
				"tx": 4837342,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 131607,
				"blocktxn": 15487095,
				"cmpctblock": 6630710,
				"feefilter": 32,
				"getdata": 477454,
				"getheaders": 1053,
				"headers": 39916,
				"inv": 33477894,
				"notfound": 223872,
				"ping": 139200,
				"pong": 139136,
				"reject": 38791,
				"sendcmpct": 198,
				"sendheaders": 24,
				"tx": 136798639,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 343895,
			"addr": "54.172.187.239:8333",
			"addrlocal": "159.203.103.178:58052",
			"addrbind": "159.203.103.178:58052",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1555930634,
			"lastrecv": 1555930631,
			"bytessent": 118792148,
			"bytesrecv": 25337033,
			"conntime": 1555525701,
			"timeoffset": -10,
			"pingtime": 1.860716,
			"minping": 0.007064,
			"version": 70015,
			"subver": "/Satoshi:0.15.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 572059,
			"banscore": 0,
			"synced_headers": 572742,
			"synced_blocks": 572742,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 149765,
				"blocktxn": 6833,
				"cmpctblock": 522225,
				"feefilter": 5152,
				"getaddr": 24,
				"getdata": 1259887,
				"getheaders": 1053,
				"headers": 69218,
				"inv": 61356553,
				"notfound": 5529612,
				"ping": 107232,
				"pong": 107232,
				"reject": 13008,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 49664106,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 122502,
				"feefilter": 32,
				"getblocktxn": 257,
				"getdata": 10775125,
				"getheaders": 1053,
				"headers": 20352,
				"inv": 6660617,
				"notfound": 215972,
				"ping": 107232,
				"pong": 107232,
				"reject": 202471,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 7123882,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 344372,
			"addr": "5.9.152.77:8333",
			"addrlocal": "159.203.103.178:58680",
			"addrbind": "159.203.103.178:58680",
			"services": "000000000000040d",
			"relaytxes": true,
			"lastsend": 1555930635,
			"lastrecv": 1555930630,
			"bytessent": 38320887,
			"bytesrecv": 94118629,
			"conntime": 1555643338,
			"timeoffset": -43,
			"pingtime": 0.08122,
			"minping": 0.080791,
			"version": 70015,
			"subver": "/Satoshi:0.17.0/",
			"inbound": false,
			"addnode": false,
			"startingheight": 572248,
			"banscore": 0,
			"synced_headers": 572745,
			"synced_blocks": 572745,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 113215,
				"feefilter": 3680,
				"getaddr": 24,
				"getblocktxn": 3797,
				"getdata": 6311298,
				"getheaders": 2106,
				"headers": 8798,
				"inv": 28173316,
				"notfound": 12745,
				"ping": 76576,
				"pong": 76608,
				"reject": 68747,
				"sendcmpct": 231,
				"sendheaders": 24,
				"tx": 3469564,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"addr": 90817,
				"blocktxn": 1333918,
				"cmpctblock": 3886912,
				"feefilter": 32,
				"getdata": 316870,
				"getheaders": 1053,
				"headers": 26076,
				"inv": 18277281,
				"notfound": 87730,
				"ping": 76608,
				"pong": 76576,
				"reject": 1426,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 69943090,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 347092,
			"addr": "35.166.38.163:46559",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000008",
			"relaytxes": false,
			"lastsend": 1555930618,
			"lastrecv": 1555930618,
			"bytessent": 1983400,
			"bytesrecv": 16866,
			"conntime": 1555869401,
			"timeoffset": 263,
			"pingtime": 0.070935,
			"minping": 0.068538,
			"version": 70015,
			"subver": "/ViaBTC:bitpeer.0.2.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 0,
			"banscore": 0,
			"synced_headers": 572726,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 32065,
				"block": 1924936,
				"feefilter": 32,
				"headers": 7632,
				"inv": 2135,
				"ping": 16352,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"getdata": 122,
				"headers": 212,
				"pong": 16352,
				"sendheaders": 24,
				"verack": 24,
				"version": 132
			}
		},
		{
			"id": 347580,
			"addr": "54.70.118.37:60933",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000008",
			"relaytxes": false,
			"lastsend": 1555930607,
			"lastrecv": 1555930607,
			"bytessent": 4805112,
			"bytesrecv": 10287,
			"conntime": 1555894469,
			"timeoffset": -799,
			"pingtime": 0.071752,
			"minping": 0.069094,
			"version": 70015,
			"subver": "/ViaBTC:bitpeer.0.2.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 0,
			"banscore": 0,
			"synced_headers": 572726,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 19670,
				"block": 4770031,
				"feefilter": 32,
				"headers": 5406,
				"inv": 61,
				"ping": 9664,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"getdata": 244,
				"getheaders": 93,
				"headers": 106,
				"pong": 9664,
				"sendheaders": 24,
				"verack": 24,
				"version": 132
			}
		},
		{
			"id": 347620,
			"addr": "127.0.0.1:50928",
			"addrlocal": "127.0.0.1:8333",
			"addrbind": "127.0.0.1:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930634,
			"lastrecv": 1555930632,
			"bytessent": 52494813,
			"bytesrecv": 69748047,
			"conntime": 1555897735,
			"timeoffset": -1,
			"pingtime": 0.445486,
			"minping": 0.051352,
			"version": 70002,
			"subver": "/P2Pool:unknown 7032706f6f6c/",
			"inbound": true,
			"addnode": false,
			"startingheight": 0,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 20165,
				"alert": 192,
				"getdata": 23564,
				"getheaders": 1053,
				"inv": 4880855,
				"ping": 8800,
				"pong": 32096,
				"reject": 38057,
				"tx": 47489873,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"getdata": 8009361,
				"ping": 32096,
				"pong": 8800,
				"tx": 61697628,
				"verack": 24,
				"version": 138
			}
		},
		{
			"id": 347827,
			"addr": "162.218.65.27:48036",
			"addrlocal": "127.0.0.1:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930633,
			"lastrecv": 1555930570,
			"bytessent": 576744,
			"bytesrecv": 1291,
			"conntime": 1555926488,
			"timeoffset": 0,
			"pingtime": 0.015347,
			"minping": 0.015154,
			"version": 70015,
			"subver": "/bitcoinj:0.14.4/Bitcoin Wallet:5.29/",
			"inbound": true,
			"addnode": false,
			"startingheight": 538123,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 2240,
				"feefilter": 32,
				"getheaders": 1053,
				"inv": 572051,
				"ping": 1120,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"pong": 1120,
				"verack": 24,
				"version": 147
			}
		},
		{
			"id": 347841,
			"addr": "162.218.65.215:6352",
			"addrlocal": "127.0.0.1:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930627,
			"lastrecv": 1555930568,
			"bytessent": 430826,
			"bytesrecv": 1017,
			"conntime": 1555927444,
			"timeoffset": -1,
			"pingtime": 0.015751,
			"minping": 0.01568,
			"version": 70015,
			"subver": "/breadwallet:0.6.2/",
			"inbound": true,
			"addnode": false,
			"startingheight": 538123,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 2100,
				"feefilter": 32,
				"getheaders": 1053,
				"inv": 426529,
				"ping": 864,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"pong": 864,
				"verack": 24,
				"version": 129
			}
		},
		{
			"id": 347884,
			"addr": "23.92.36.2:56850",
			"addrlocal": "127.0.0.1:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930634,
			"lastrecv": 1555930567,
			"bytessent": 68315,
			"bytesrecv": 273,
			"conntime": 1555930322,
			"timeoffset": -5,
			"pingtime": 0.017815,
			"minping": 0.01393,
			"version": 70015,
			"subver": "/breadwallet:0.6.7/",
			"inbound": true,
			"addnode": false,
			"startingheight": 538123,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 30192,
				"feefilter": 32,
				"getheaders": 1053,
				"inv": 36694,
				"ping": 96,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"getaddr": 24,
				"pong": 96,
				"verack": 24,
				"version": 129
			}
		},
		{
			"id": 347885,
			"addr": "162.218.65.86:9974",
			"addrlocal": "127.0.0.1:8333",
			"addrbind": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1555930627,
			"lastrecv": 1555930568,
			"bytessent": 36054,
			"bytesrecv": 278,
			"conntime": 1555930328,
			"timeoffset": 0,
			"pingtime": 0.013729,
			"minping": 0.013729,
			"version": 70015,
			"subver": "/bitcoinj:0.13.3/Bitcoin Wallet:4.43-blackberry/",
			"inbound": true,
			"addnode": false,
			"startingheight": 538123,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 225,
				"feefilter": 32,
				"getheaders": 1053,
				"inv": 34400,
				"ping": 96,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 134
			},
			"bytesrecv_per_msg": {
				"pong": 96,
				"verack": 24,
				"version": 158
			}
		}
	],
	"error": null,
	"id": null
}
getpeerinfo

Returns data about each connected network node as a json array of objects.

Result:
[
  {
    "id": n,                   (numeric) Peer index
    "addr":"host:port",      (string) The IP address and port of the peer
    "addrbind":"ip:port",    (string) Bind address of the connection to the peer
    "addrlocal":"ip:port",   (string) Local address as reported by the peer
    "services":"xxxxxxxxxxxxxxxx",   (string) The services offered
    "relaytxes":true|false,    (boolean) Whether peer has asked us to relay transactions to it
    "lastsend": ttt,           (numeric) The time in seconds since epoch (Jan 1 1970 GMT) of the last send
    "lastrecv": ttt,           (numeric) The time in seconds since epoch (Jan 1 1970 GMT) of the last receive
    "bytessent": n,            (numeric) The total bytes sent
    "bytesrecv": n,            (numeric) The total bytes received
    "conntime": ttt,           (numeric) The connection time in seconds since epoch (Jan 1 1970 GMT)
    "timeoffset": ttt,         (numeric) The time offset in seconds
    "pingtime": n,             (numeric) ping time (if available)
    "minping": n,              (numeric) minimum observed ping time (if any at all)
    "pingwait": n,             (numeric) ping wait (if non-zero)
    "version": v,              (numeric) The peer version, such as 7001
    "subver": "/Satoshi:0.8.5/",  (string) The string version
    "inbound": true|false,     (boolean) Inbound (true) or Outbound (false)
    "addnode": true|false,     (boolean) Whether connection was due to addnode/-connect or if it was an automatic/inbound connection
    "startingheight": n,       (numeric) The starting height (block) of the peer
    "banscore": n,             (numeric) The ban score
    "synced_headers": n,       (numeric) The last header we have in common with this peer
    "synced_blocks": n,        (numeric) The last block we have in common with this peer
    "inflight": [
       n,                        (numeric) The heights of blocks we're currently asking from this peer
       ...
    ],
    "whitelisted": true|false, (boolean) Whether the peer is whitelisted
    "bytessent_per_msg": {
       "addr": n,              (numeric) The total bytes sent aggregated by message type
       ...
    },
    "bytesrecv_per_msg": {
       "addr": n,              (numeric) The total bytes received aggregated by message type
       ...
    }
  }
  ,...
]

Examples:
> bitcoin-cli getpeerinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/