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": 1,
			"addr": "127.0.0.1:47588",
			"addrlocal": "127.0.0.1:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1508554723,
			"lastrecv": 1508554725,
			"bytessent": 1135456816,
			"bytesrecv": 3585504067,
			"conntime": 1507649456,
			"timeoffset": -16,
			"pingtime": 0.001056,
			"minping": 0.000407,
			"version": 70002,
			"subver": "/P2Pool:17.0-4-g68f653f/",
			"inbound": true,
			"addnode": false,
			"startingheight": 0,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 462070,
				"alert": 192,
				"getdata": 1185555,
				"getheaders": 1021,
				"headers": 5410876,
				"inv": 80528818,
				"notfound": 366,
				"ping": 241312,
				"pong": 943840,
				"reject": 3006253,
				"tx": 1043676358,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"getdata": 129183665,
				"getheaders": 3113806,
				"ping": 943840,
				"pong": 241312,
				"tx": 3452021287,
				"verack": 24,
				"version": 133
			}
		},
		{
			"id": 25,
			"addr": "96.57.248.252:8333",
			"addrlocal": "159.203.103.178:58994",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 150059937,
			"bytesrecv": 168844748,
			"conntime": 1507649540,
			"timeoffset": 30,
			"pingtime": 0.015054,
			"minping": 0.007093,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489230,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 441505,
				"blocktxn": 130800,
				"cmpctblock": 814270,
				"feefilter": 12736,
				"getaddr": 24,
				"getblocktxn": 9346,
				"getdata": 9054210,
				"getheaders": 1021,
				"headers": 37100,
				"inv": 90271370,
				"notfound": 5983,
				"ping": 241312,
				"pong": 241344,
				"reject": 18537,
				"sendcmpct": 1089,
				"sendheaders": 24,
				"tx": 48779111,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 318497,
				"block": 2037373,
				"blocktxn": 2593742,
				"cmpctblock": 10998879,
				"feefilter": 32,
				"getblocktxn": 238,
				"getdata": 4895230,
				"getheaders": 1021,
				"headers": 52551,
				"inv": 42550094,
				"notfound": 88840,
				"ping": 241344,
				"pong": 241312,
				"reject": 7660,
				"sendcmpct": 330,
				"sendheaders": 24,
				"tx": 104817431,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 48,
			"addr": "52.58.91.193:8333",
			"addrlocal": "159.203.103.178:51034",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 115597312,
			"bytesrecv": 206156029,
			"conntime": 1507649614,
			"timeoffset": 0,
			"pingtime": 0.08766699999999999,
			"minping": 0.062213,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489230,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": 490904,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 447115,
				"blocktxn": 4970,
				"cmpctblock": 210803,
				"feefilter": 12320,
				"getaddr": 24,
				"getblocktxn": 10957,
				"getdata": 12202820,
				"getheaders": 1021,
				"headers": 52950,
				"inv": 87224488,
				"notfound": 112245,
				"ping": 241312,
				"pong": 241248,
				"reject": 24608,
				"sendcmpct": 858,
				"sendheaders": 24,
				"tx": 14809394,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 315202,
				"blocktxn": 3135900,
				"cmpctblock": 13703915,
				"feefilter": 32,
				"getblocktxn": 128,
				"getdata": 1411506,
				"getheaders": 1021,
				"headers": 34107,
				"inv": 46559189,
				"notfound": 109348,
				"ping": 241248,
				"pong": 241312,
				"reject": 9149,
				"sendcmpct": 198,
				"sendheaders": 24,
				"tx": 140393600,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 436,
			"addr": "52.211.74.93:35978",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000015",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 149295916,
			"bytesrecv": 534408950,
			"conntime": 1507651789,
			"timeoffset": 0,
			"pingtime": 0.08457199999999999,
			"minping": 0.009297,
			"version": 80002,
			"subver": "/BitcoinUnlimited:1.0.3(EB16; AD12)/",
			"inbound": true,
			"addnode": false,
			"startingheight": 489233,
			"banscore": 0,
			"synced_headers": 490809,
			"synced_blocks": 489233,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 458777,
				"feefilter": 14176,
				"getdata": 47772847,
				"getheaders": 1021,
				"headers": 248494,
				"inv": 54879048,
				"ping": 240704,
				"pong": 240768,
				"reject": 1271408,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 44168428,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 382660,
				"getaddr": 24,
				"getdata": 2111190,
				"getheaders": 3121197,
				"headers": 5618,
				"inv": 91187231,
				"notfound": 131635,
				"ping": 240768,
				"pong": 240704,
				"reject": 1747795,
				"sendheaders": 24,
				"tx": 435239934,
				"verack": 24,
				"version": 146
			}
		},
		{
			"id": 961,
			"addr": "165.227.4.104:38842",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000014",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 134439019,
			"bytesrecv": 333863782,
			"conntime": 1507654770,
			"timeoffset": 0,
			"pingtime": 0.069038,
			"minping": 0.064119,
			"version": 80002,
			"subver": "/BitcoinUnlimited:1.0.3(EB16; AD12)/",
			"inbound": true,
			"addnode": false,
			"startingheight": 489235,
			"banscore": 0,
			"synced_headers": 490680,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 462307,
				"feefilter": 12160,
				"getdata": 24175738,
				"headers": 211990,
				"inv": 60659022,
				"ping": 239936,
				"pong": 239936,
				"reject": 1844067,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 46593618,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 341490,
				"getaddr": 24,
				"getdata": 4719288,
				"getheaders": 1453904,
				"headers": 1378,
				"inv": 84690632,
				"notfound": 205197,
				"ping": 239936,
				"pong": 239936,
				"reject": 2073965,
				"sendheaders": 24,
				"tx": 239897838,
				"verack": 24,
				"version": 146
			}
		},
		{
			"id": 3342,
			"addr": "220.130.128.58:8333",
			"addrlocal": "159.203.103.178:48930",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 121500158,
			"bytesrecv": 108732061,
			"conntime": 1507676272,
			"timeoffset": -1,
			"pingtime": 0.196828,
			"minping": 0.121753,
			"version": 70015,
			"subver": "/Satoshi:0.14.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489275,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 430350,
				"blocktxn": 4200,
				"cmpctblock": 217493,
				"feefilter": 13792,
				"getaddr": 24,
				"getblocktxn": 802,
				"getdata": 6456065,
				"getheaders": 1021,
				"headers": 155851,
				"inv": 90405877,
				"notfound": 281158,
				"ping": 234176,
				"pong": 234016,
				"reject": 21029,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 23043861,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 314987,
				"blocktxn": 169206,
				"cmpctblock": 1040241,
				"feefilter": 32,
				"getblocktxn": 181,
				"getdata": 2478472,
				"getheaders": 1021,
				"headers": 72479,
				"inv": 41085128,
				"notfound": 72275,
				"ping": 234016,
				"pong": 234176,
				"reject": 12441,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 63016968,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 3401,
			"addr": "172.13.235.89:8333",
			"addrlocal": "159.203.103.178:34898",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 114311022,
			"bytesrecv": 152230834,
			"conntime": 1507678902,
			"timeoffset": 0,
			"pingtime": 0.128088,
			"minping": 0.08921,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489281,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 428485,
				"blocktxn": 1615,
				"cmpctblock": 468917,
				"feefilter": 13376,
				"getaddr": 24,
				"getblocktxn": 1760,
				"getdata": 8921768,
				"getheaders": 1021,
				"headers": 124419,
				"inv": 87081488,
				"notfound": 19750,
				"ping": 233504,
				"pong": 233536,
				"reject": 22666,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 16758250,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 316962,
				"blocktxn": 1152686,
				"cmpctblock": 967041,
				"feefilter": 32,
				"getblocktxn": 119,
				"getdata": 1802660,
				"getheaders": 1021,
				"headers": 114268,
				"inv": 42764288,
				"notfound": 98123,
				"ping": 233536,
				"pong": 233504,
				"reject": 7317,
				"sendcmpct": 198,
				"sendheaders": 24,
				"tx": 104538905,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 11265,
			"addr": "198.0.212.73:52686",
			"addrlocal": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554720,
			"lastrecv": 1508554723,
			"bytessent": 185182131,
			"bytesrecv": 153811858,
			"conntime": 1507786033,
			"timeoffset": 0,
			"pingtime": 0.184361,
			"minping": 0.072287,
			"version": 70015,
			"subver": "/Satoshi:0.15.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 489456,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 396607,
				"blocktxn": 486012,
				"cmpctblock": 3112765,
				"feefilter": 11104,
				"getblocktxn": 4514,
				"getdata": 5822103,
				"getheaders": 1021,
				"headers": 34319,
				"inv": 41507484,
				"notfound": 1328,
				"ping": 204896,
				"pong": 204896,
				"reject": 23402,
				"sendcmpct": 1023,
				"sendheaders": 24,
				"tx": 133370478,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 348850,
				"blocktxn": 2640471,
				"cmpctblock": 6782745,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 968,
				"getdata": 10875518,
				"getheaders": 1021,
				"headers": 73776,
				"inv": 72251135,
				"notfound": 91530,
				"ping": 204896,
				"pong": 204896,
				"reject": 22467,
				"sendcmpct": 528,
				"sendheaders": 24,
				"tx": 60312827,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 17241,
			"addr": "37.187.124.144:8333",
			"addrlocal": "159.203.103.178:52030",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554719,
			"bytessent": 83856320,
			"bytesrecv": 140801687,
			"conntime": 1507906563,
			"timeoffset": 102,
			"pingtime": 0.07374699999999999,
			"minping": 0.072115,
			"version": 70015,
			"subver": "/Satoshi:0.13.2/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489642,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": 490904,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 325935,
				"blocktxn": 3266,
				"cmpctblock": 275480,
				"feefilter": 9440,
				"getaddr": 24,
				"getblocktxn": 61,
				"getdata": 9840744,
				"getheaders": 1021,
				"headers": 124076,
				"inv": 62799461,
				"notfound": 91388,
				"ping": 172800,
				"pong": 172768,
				"reject": 17764,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 10021781,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 195307,
				"blocktxn": 2658,
				"cmpctblock": 26426,
				"getblocktxn": 64,
				"getdata": 808690,
				"getheaders": 1021,
				"headers": 31563,
				"inv": 33902344,
				"notfound": 91669,
				"ping": 172768,
				"pong": 172800,
				"reject": 6791,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 105389148,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 17520,
			"addr": "107.20.141.131:8333",
			"addrlocal": "159.203.103.178:59744",
			"services": "000000000800000d",
			"relaytxes": true,
			"lastsend": 1508554720,
			"lastrecv": 1508554720,
			"bytessent": 75619435,
			"bytesrecv": 205115715,
			"conntime": 1507937840,
			"timeoffset": 0,
			"pingtime": 0.008232,
			"minping": 0.00705,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/UASF-Segwit:1.0(BIP148)/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489706,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 310475,
				"feefilter": 9280,
				"getaddr": 24,
				"getblocktxn": 37346,
				"getdata": 11069320,
				"getheaders": 1021,
				"headers": 6042,
				"inv": 58129150,
				"notfound": 14437,
				"ping": 164448,
				"pong": 164480,
				"reject": 16747,
				"sendcmpct": 165,
				"sendheaders": 24,
				"tx": 5696321,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 208177,
				"blocktxn": 13279287,
				"cmpctblock": 13336151,
				"feefilter": 32,
				"getdata": 467910,
				"getheaders": 1021,
				"headers": 1060,
				"inv": 32886913,
				"notfound": 60470,
				"ping": 164480,
				"pong": 164448,
				"reject": 5442,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 144540060,
				"verack": 24,
				"version": 150
			}
		},
		{
			"id": 20070,
			"addr": "89.166.56.204:8333",
			"addrlocal": "159.203.103.178:36350",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554723,
			"lastrecv": 1508554720,
			"bytessent": 95246997,
			"bytesrecv": 74740763,
			"conntime": 1508015172,
			"timeoffset": 0,
			"pingtime": 0.129296,
			"minping": 0.1134,
			"version": 70015,
			"subver": "/Satoshi:0.15.0.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 489837,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 256930,
				"blocktxn": 1920,
				"cmpctblock": 362373,
				"feefilter": 6528,
				"getaddr": 24,
				"getblocktxn": 1389,
				"getdata": 4159264,
				"getheaders": 1021,
				"headers": 66038,
				"inv": 56324326,
				"notfound": 26079,
				"ping": 143840,
				"pong": 143808,
				"reject": 11294,
				"sendcmpct": 396,
				"sendheaders": 24,
				"tx": 33741588,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 238747,
				"blocktxn": 393428,
				"cmpctblock": 1540678,
				"feefilter": 32,
				"getblocktxn": 122,
				"getdata": 3350175,
				"getheaders": 1021,
				"headers": 72928,
				"inv": 24954874,
				"notfound": 16425,
				"ping": 143808,
				"pong": 143840,
				"reject": 12496,
				"sendcmpct": 198,
				"sendheaders": 24,
				"tx": 43871815,
				"verack": 24,
				"version": 128
			}
		},
		{
			"id": 39293,
			"addr": "35.165.9.82:48561",
			"addrlocal": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554720,
			"lastrecv": 1508554720,
			"bytessent": 57960045,
			"bytesrecv": 30939542,
			"conntime": 1508360626,
			"timeoffset": 0,
			"pingtime": 0.079642,
			"minping": 0.076388,
			"version": 70015,
			"subver": "/Satoshi:0.15.0.1/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490516,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 129967,
				"blocktxn": 232584,
				"cmpctblock": 1887953,
				"feefilter": 4416,
				"getdata": 904371,
				"getheaders": 1021,
				"headers": 14734,
				"inv": 11716211,
				"notfound": 402,
				"ping": 51744,
				"pong": 51744,
				"reject": 13713,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 42950940,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 107025,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 360,
				"getdata": 3426480,
				"getheaders": 1021,
				"headers": 16748,
				"inv": 18183682,
				"notfound": 5735,
				"ping": 51744,
				"pong": 51744,
				"reject": 13362,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 9081145,
				"verack": 24,
				"version": 128
			}
		},
		{
			"id": 40554,
			"addr": "54.186.140.147:37869",
			"services": "0000000000000000",
			"relaytxes": false,
			"lastsend": 1508554653,
			"lastrecv": 1508554653,
			"bytessent": 13645734,
			"bytesrecv": 52229,
			"conntime": 1508380240,
			"timeoffset": -940,
			"pingtime": 0.070965,
			"minping": 0.0707,
			"version": 70015,
			"subver": "/ViaBTC:bitpeer.0.2.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 0,
			"banscore": 0,
			"synced_headers": 490901,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 99860,
				"block": 13347434,
				"feefilter": 3488,
				"headers": 147691,
				"inv": 488,
				"ping": 46528,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"getdata": 976,
				"getheaders": 93,
				"headers": 4452,
				"pong": 46528,
				"sendheaders": 24,
				"verack": 24,
				"version": 132
			}
		},
		{
			"id": 40669,
			"addr": "129.232.179.170:8333",
			"addrlocal": "159.203.103.178:44058",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554716,
			"bytessent": 26580390,
			"bytesrecv": 22219096,
			"conntime": 1508388052,
			"timeoffset": -7,
			"pingtime": 0.257639,
			"minping": 0.24417,
			"version": 70015,
			"subver": "/Satoshi:0.15.0.1/",
			"inbound": false,
			"addnode": false,
			"startingheight": 490572,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": 490904,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 89330,
				"blocktxn": 72140,
				"cmpctblock": 195615,
				"feefilter": 3776,
				"getaddr": 24,
				"getdata": 1156708,
				"getheaders": 1021,
				"headers": 25970,
				"inv": 18601831,
				"notfound": 5384,
				"ping": 44448,
				"pong": 44448,
				"reject": 8803,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 6330647,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 89377,
				"feefilter": 32,
				"getblocktxn": 190,
				"getdata": 510546,
				"getheaders": 1021,
				"headers": 22578,
				"inv": 8434370,
				"notfound": 7377,
				"ping": 44448,
				"pong": 44448,
				"reject": 7784,
				"sendcmpct": 264,
				"sendheaders": 24,
				"tx": 13056485,
				"verack": 24,
				"version": 128
			}
		},
		{
			"id": 41104,
			"addr": "188.65.213.21:51814",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000000",
			"relaytxes": true,
			"lastsend": 1508554712,
			"lastrecv": 1508554640,
			"bytessent": 23219569,
			"bytesrecv": 275670,
			"conntime": 1508399056,
			"timeoffset": 0,
			"pingtime": 0.139352,
			"minping": 0.115902,
			"version": 70015,
			"subver": "/bitnodes.bitcoin-russia.ru:0.0.1f/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490589,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 71425,
				"feefilter": 3712,
				"inv": 23079931,
				"ping": 41504,
				"pong": 22752,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 211245,
				"ping": 22752,
				"pong": 41504,
				"verack": 24,
				"version": 145
			}
		},
		{
			"id": 42349,
			"addr": "46.127.150.228:53446",
			"addrlocal": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 18538138,
			"bytesrecv": 35292922,
			"conntime": 1508429572,
			"timeoffset": 0,
			"pingtime": 0.125648,
			"minping": 0.117539,
			"version": 70015,
			"subver": "/Satoshi:0.15.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490633,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": 490904,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 98412,
				"blocktxn": 1232,
				"cmpctblock": 1903965,
				"feefilter": 2176,
				"getblocktxn": 139,
				"getdata": 1806569,
				"getheaders": 1021,
				"headers": 742,
				"inv": 6361376,
				"notfound": 3047,
				"ping": 33376,
				"pong": 33376,
				"reject": 8017,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 8284379,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 59795,
				"blocktxn": 32825,
				"cmpctblock": 613345,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 175,
				"getdata": 736353,
				"getheaders": 1021,
				"headers": 13674,
				"inv": 13704265,
				"notfound": 10107,
				"ping": 33376,
				"pong": 33376,
				"reject": 7403,
				"sendcmpct": 99,
				"sendheaders": 24,
				"tx": 20046878,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 42952,
			"addr": "202.108.211.56:45405",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000000",
			"relaytxes": true,
			"lastsend": 1508554723,
			"lastrecv": 1508554721,
			"bytessent": 10499743,
			"bytesrecv": 129279,
			"conntime": 1508484136,
			"timeoffset": 0,
			"pingtime": 0.224376,
			"minping": 0.223095,
			"version": 70015,
			"subver": "/bitnodes.lee/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490780,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 35495,
				"feefilter": 1472,
				"inv": 10433411,
				"ping": 18848,
				"pong": 10272,
				"sendcmpct": 66,
				"sendheaders": 24,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 99645,
				"inv": 366,
				"ping": 10272,
				"pong": 18848,
				"verack": 24,
				"version": 124
			}
		},
		{
			"id": 43591,
			"addr": "84.249.106.129:59631",
			"addrlocal": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554723,
			"lastrecv": 1508554723,
			"bytessent": 9563524,
			"bytesrecv": 5419423,
			"conntime": 1508518937,
			"timeoffset": -1,
			"pingtime": 0.146324,
			"minping": 0.13152,
			"version": 70015,
			"subver": "/Satoshi:0.15.0.1/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490850,
			"banscore": 0,
			"synced_headers": 490904,
			"synced_blocks": 490904,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 52022,
				"blocktxn": 1174,
				"cmpctblock": 148429,
				"feefilter": 1024,
				"getdata": 150308,
				"getheaders": 1021,
				"headers": 4028,
				"inv": 2075196,
				"notfound": 915,
				"ping": 9568,
				"pong": 9568,
				"reject": 1083,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 7108943,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 24225,
				"feefilter": 32,
				"getaddr": 24,
				"getblocktxn": 64,
				"getdata": 624716,
				"getheaders": 1021,
				"headers": 3180,
				"inv": 3226967,
				"notfound": 1508,
				"ping": 9568,
				"pong": 9568,
				"reject": 1188,
				"sendcmpct": 132,
				"sendheaders": 24,
				"tx": 1517054,
				"verack": 24,
				"version": 128
			}
		},
		{
			"id": 43623,
			"addr": "162.212.152.163:50030",
			"addrlocal": "127.0.0.1:8333",
			"services": "0000000000000009",
			"relaytxes": true,
			"lastsend": 1508554724,
			"lastrecv": 1508554724,
			"bytessent": 6792178,
			"bytesrecv": 2181415,
			"conntime": 1508522809,
			"timeoffset": -1,
			"pingtime": 0.026366,
			"minping": 0.023345,
			"version": 70015,
			"subver": "/Satoshi:0.14.2/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490856,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 22625,
				"feefilter": 800,
				"getheaders": 1021,
				"inv": 4256692,
				"notfound": 1619649,
				"ping": 8512,
				"pong": 510624,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 372010,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"getdata": 1662129,
				"ping": 510624,
				"pong": 8512,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 44055,
			"addr": "72.36.89.11:52554",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1508554721,
			"lastrecv": 1508554705,
			"bytessent": 1636324,
			"bytesrecv": 17469,
			"conntime": 1508541332,
			"timeoffset": 0,
			"pingtime": 0.027806,
			"minping": 0.027689,
			"version": 70002,
			"subver": "/Coinscope-GH:0.2/",
			"inbound": true,
			"addnode": false,
			"startingheight": 346136,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 38542,
				"alert": 192,
				"getheaders": 1021,
				"inv": 1592830,
				"ping": 3584,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 13157,
				"getaddr": 576,
				"pong": 3584,
				"verack": 24,
				"version": 128
			}
		},
		{
			"id": 44309,
			"addr": "109.248.243.196:57718",
			"addrlocal": "159.203.103.178:8333",
			"services": "000000000000000d",
			"relaytxes": true,
			"lastsend": 1508554723,
			"lastrecv": 1508554723,
			"bytessent": 99045,
			"bytesrecv": 66793,
			"conntime": 1508554297,
			"timeoffset": 1,
			"pingtime": 0.143932,
			"minping": 0.143932,
			"version": 70015,
			"subver": "/Satoshi:0.14.0/",
			"inbound": true,
			"addnode": false,
			"startingheight": 490905,
			"banscore": 0,
			"synced_headers": 490905,
			"synced_blocks": 490905,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 30477,
				"feefilter": 32,
				"getdata": 2184,
				"getheaders": 1021,
				"headers": 106,
				"inv": 19896,
				"notfound": 169,
				"ping": 128,
				"pong": 128,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 44659,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"addr": 365,
				"feefilter": 32,
				"getaddr": 24,
				"getdata": 5040,
				"getheaders": 1021,
				"headers": 106,
				"inv": 35767,
				"ping": 128,
				"pong": 128,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 23942,
				"verack": 24,
				"version": 126
			}
		},
		{
			"id": 44317,
			"addr": "205.251.22.236:4470",
			"addrlocal": "127.0.0.1:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1508554720,
			"lastrecv": 1508554717,
			"bytessent": 71903,
			"bytesrecv": 521,
			"conntime": 1508554382,
			"timeoffset": 0,
			"pingtime": 0.014175,
			"minping": 0.014175,
			"pingwait": 222.27989,
			"version": 70014,
			"subver": "/bitcoinj:0.14.5/",
			"inbound": true,
			"addnode": false,
			"startingheight": 437811,
			"banscore": 0,
			"synced_headers": -1,
			"synced_blocks": -1,
			"inflight": [

			],
			"whitelisted": false,
			"bytessent_per_msg": {
				"addr": 30247,
				"feefilter": 64,
				"getheaders": 1021,
				"inv": 39460,
				"ping": 64,
				"pong": 192,
				"sendcmpct": 66,
				"sendheaders": 24,
				"tx": 610,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"getaddr": 24,
				"getdata": 122,
				"ping": 192,
				"pong": 32,
				"verack": 24,
				"version": 127
			}
		},
		{
			"id": 44326,
			"addr": "129.13.252.47:35861",
			"addrlocal": "159.203.103.178:8333",
			"services": "0000000000000001",
			"relaytxes": true,
			"lastsend": 1508554714,
			"lastrecv": 1508554673,
			"bytessent": 6623,
			"bytesrecv": 206,
			"conntime": 1508554670,
			"timeoffset": 0,
			"pingtime": 1.681447,
			"minping": 1.681447,
			"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": 55,
				"alert": 192,
				"getheaders": 1021,
				"inv": 5168,
				"ping": 32,
				"verack": 24,
				"version": 131
			},
			"bytesrecv_per_msg": {
				"getaddr": 24,
				"pong": 32,
				"verack": 24,
				"version": 126
			}
		}
	],
	"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
    "addrlocal":"ip:port",   (string) local address
    "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 and is using an addnode slot
    "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/