eTheRNA Connectivity API

The Connectivity API from eTheRNA — 8 operation(s) for connectivity.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /addresses Get overlay and underlay addresses of the node #
GET /blocklist Get a list of blocklisted peers #
POST /connect/{multiAddress} Connect to address #
GET /peers Get a list of peers #
DELETE /peers/{address} Remove peer #
POST /pingpong/{address} Try connection to node #
GET /topology Get topology of known network #
GET /welcome-message Get configured P2P welcome message #
POST /welcome-message Set P2P welcome message #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/etherna:etherna-connectivity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

etherna-connectivity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Etherna Connectivity API
  version: 7.3.0
  description: 'Operations tagged Connectivity across 2 of this provider''s published API definitions: etherna-swarm-openapi.yml, etherna-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://{apiRoot}:{port}/v1
  variables:
    apiRoot:
      default: localhost
      description: Base address of the local bee node main API
    port:
      default: '1633'
      description: Service port provided in bee node config
- url: http://{apiRoot}:{port}
  variables:
    apiRoot:
      default: localhost
      description: Base address of the local bee node main API
    port:
      default: '1633'
      description: Service port provided in bee node config
tags:
- name: Connectivity
paths:
  /addresses:
    get:
      summary: Get overlay and underlay addresses of the node
      tags:
      - Connectivity
      responses:
        '200':
          description: Own node underlay and overlay addresses
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/Addresses
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: getAddresses
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /blocklist:
    get:
      summary: Get a list of blocklisted peers
      tags:
      - Connectivity
      responses:
        '200':
          description: Returns overlay addresses of blocklisted peers
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/BlockListedPeers
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: getBlocklist
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /connect/{multiAddress}:
    post:
      summary: Connect to address
      tags:
      - Connectivity
      parameters:
      - in: path
        allowReserved: true
        name: multiAddress
        schema:
          $ref: SwarmCommon.yaml#/components/schemas/MultiAddress
        required: true
        description: Underlay address of peer
      responses:
        '200':
          description: Returns overlay address of connected peer
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/Address
        '400':
          $ref: SwarmCommon.yaml#/components/responses/400
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: postConnectByMultiAddress
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /peers:
    get:
      summary: Get a list of peers
      tags:
      - Connectivity
      responses:
        '200':
          description: Returns overlay addresses of connected peers
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/Peers
        default:
          description: Default response
      operationId: getPeers
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /peers/{address}:
    delete:
      summary: Remove peer
      tags:
      - Connectivity
      parameters:
      - in: path
        name: address
        schema:
          $ref: SwarmCommon.yaml#/components/schemas/SwarmAddress
        required: true
        description: Swarm address of peer
      responses:
        '200':
          description: Disconnected peer
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/Response
        '400':
          $ref: SwarmCommon.yaml#/components/responses/400
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: deletePeersByAddress
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /pingpong/{address}:
    post:
      summary: Try connection to node
      tags:
      - Connectivity
      parameters:
      - in: path
        name: address
        schema:
          $ref: SwarmCommon.yaml#/components/schemas/SwarmAddress
        required: true
        description: Swarm address of peer
      responses:
        '200':
          description: Returns round trip time for given peer
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/RttMs
        '400':
          $ref: SwarmCommon.yaml#/components/responses/400
        '404':
          $ref: SwarmCommon.yaml#/components/responses/404
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: postPingpongByAddress
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /topology:
    get:
      summary: Get topology of known network
      tags:
      - Connectivity
      responses:
        '200':
          description: Swarm topology of the bee node
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/BzzTopology
      operationId: getTopology
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
  /welcome-message:
    get:
      summary: Get configured P2P welcome message
      tags:
      - Connectivity
      responses:
        '200':
          description: Welcome message
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/WelcomeMessage
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: getWelcomeMessage
      x-operation-id-source: derived
    post:
      summary: Set P2P welcome message
      tags:
      - Connectivity
      requestBody:
        content:
          application/json:
            schema:
              $ref: SwarmCommon.yaml#/components/schemas/WelcomeMessage
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: SwarmCommon.yaml#/components/schemas/HealthStatus
        '400':
          $ref: SwarmCommon.yaml#/components/responses/400
        '500':
          $ref: SwarmCommon.yaml#/components/responses/500
        default:
          description: Default response
      operationId: postWelcomeMessage
      x-operation-id-source: derived
    servers:
    - url: http://{apiRoot}:{port}/v1
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
    - url: http://{apiRoot}:{port}
      variables:
        apiRoot:
          default: localhost
          description: Base address of the local bee node main API
        port:
          default: '1633'
          description: Service port provided in bee node config
externalDocs:
  description: Browse the documentation @ the Swarm Docs
  url: https://docs.ethswarm.org
x-refined-from:
- etherna-swarm-openapi.yml
- etherna-openapi.yaml