Peers

List All Peers

Returns all peers known by the Node. These are not necessarily all peers; only public Nodes appear here.

Method: GET

https://ark.nownodes.io/api/peers?page=1&limit=100

Example response: 200

{
    "meta": {
        "totalCountIsEstimate": false,
        "count": 100,
        "pageCount": 2,
        "totalCount": 188,
        "next": "/peers?page=2&limit=100",
        "previous": null,
        "self": "/peers?page=1&limit=100",
        "first": "/peers?page=1&limit=100",
        "last": "/peers?page=2&limit=100"
    },
    "data": [
        {
            "ip": "49.13.116.228",
            "port": 4001,
            "ports": {
                "@arkecosystem/core-api": -1,
                "@arkecosystem/core-webhooks": -1
            },
            "version": "3.8.2",
            "height": 27988980,
            "latency": 9,
            "plugins": {
                "@arkecosystem/core-api": {
                    "port": 4003,
                    "enabled": true,
                    "estimateTotalCount": true
                },
                "@arkecosystem/core-webhooks": {
                    "port": 4004,
                    "enabled": false
                }
            }
        },
        {
            "ip": "88.198.152.179",
            "port": 4001,
            "ports": {
                "@arkecosystem/core-api": 4003,
                "@arkecosystem/core-webhooks": -1
            },
            "version": "3.9.0",
            "height": 27988980,
            "latency": 9,
            "plugins": {
                "@arkecosystem/core-api": {
                    "port": 4003,
                    "enabled": true,
                    "estimateTotalCount": true
                },
                "@arkecosystem/core-webhooks": {
                    "port": 4004,
                    "enabled": false
                }
            }
        },
...

Retrieve a Peer

Specific peers can be found by IP address. Note that a peer may have their Public API disabled, and thus they are only reachable by the internal p2p API.

Method: GET

https://ark.nownodes.io/api/peers/49.13.116.228

Example response: 200

{
    "data": {
        "ip": "49.13.116.228",
        "port": 4001,
        "ports": {
            "@arkecosystem/core-api": -1,
            "@arkecosystem/core-webhooks": -1
        },
        "version": "3.8.2",
        "height": 27988980,
        "latency": 9,
        "plugins": {
            "@arkecosystem/core-api": {
                "port": 4003,
                "enabled": true,
                "estimateTotalCount": true
            },
            "@arkecosystem/core-webhooks": {
                "port": 4004,
                "enabled": false
            }
        }
    }
}

Last updated