# Response (peer list)

#### Response (peer list) `200 OK, application/json` <a href="#response-peer-list-200-ok-applicationjson" id="response-peer-list-200-ok-applicationjson"></a>

| Parameter           | Type   | Description                                                                                 |
| ------------------- | ------ | ------------------------------------------------------------------------------------------- |
| **host**            | string | The host value of the peer.                                                                 |
| **port**            | number | The port value of the peer.                                                                 |
| **successOutCount** | number | The number of successful outbound connections.                                              |
| **successInCount**  | number | The number of successful inbound connections.                                               |
| **lastSeen**        | number | Timestamp when last connected.                                                              |
| **failCount**       | number | The number of times the connection failed.                                                  |
| **lastAttempt**     | number | The timestamp of the last connection attempt.                                               |
| **active**          | number | If the peer is active. If this value is greater than 1, it is activated; else, deactivated. |

**Response Error Table**

| Status | Error         | Message                                         |
| ------ | ------------- | ----------------------------------------------- |
| 400    | `BAD_REQUEST` | The parameter value passed as count is invalid. |

**Response (Success)**

```
[
    {
        "host": "47.52.114.209",
        "port": 8148,
        "successOutCount": 748,
        "successInCount": 0,
        "lastSeen": 1545878160297,
        "failCount": 0,
        "lastAttempt": 1545878160162,
        "active": 2
    },
    ...
]
```
