ZeroTier peer API

peer status

Operations 2

GET /peer Get all peers. #
GET /peer/{address} Get information about a specific peer by Node ID. #

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/zerotier-peer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

zerotier-peer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'ZeroTier Central Network Management Portal API.<p>All API requests must have an API token header specified in the <code>Authorization: token xxxxx</code> format.  You can generate your API key by logging into <a href="https://my.zerotier.com">ZeroTier Central</a> and creating a token on the Account page.</p><p>eg. <code>curl -X GET -H "Authorization: token xxxxx" https://api.zerotier.com/api/v1/network</code></p><p><h3>Rate Limiting</h3></p><p>The ZeroTier Central API implements rate limiting.  Paid users are limited to 100 requests per second.  Free users are limited to 20 requests per second.</p> <p> You can get the OpenAPI spec here as well: <code>https://docs.zerotier.com/api/central/ref-v1.json</code></p>'
  version: v1
  title: ZeroTier Central controller Peer API
  contact:
    name: ZeroTier Support Discussion Forum
    url: https://discuss.zerotier.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api.zerotier.com/api/v1
  description: Production Server
security:
- tokenAuth: []
tags:
- name: peer
  description: peer status
paths:
  /peer:
    get:
      tags:
      - peer
      summary: Get all peers.
      operationId: getPeers
      responses:
        '200':
          description: Array of Peer objects
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Peer'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
  /peer/{address}:
    get:
      tags:
      - peer
      summary: Get information about a specific peer by Node ID.
      operationId: getPeer
      parameters:
      - name: address
        description: ZeroTier address of the peer to get
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Peer object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Peer'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
components:
  responses:
    UnauthorizedError:
      description: Authorization required.
  schemas:
    Peer:
      type: object
      properties:
        address:
          type: string
          example: 992fcf1db7
        isBonded:
          type: boolean
          example: false
        latency:
          type: integer
          example: 40
        paths:
          type: array
          items:
            type: object
            properties:
              active:
                type: boolean
              address:
                type: string
                example: 195.181.173.159/9993
              expired:
                type: boolean
                example: false
              lastReceive:
                type: integer
                format: int64
                example: 1618955164580
              lastSend:
                type: integer
                format: int64
                example: 1618955164596
              preferred:
                type: boolean
                example: true
              trustedPathId:
                type: integer
                example: 0
        role:
          type: string
          example: LEAF
        version:
          type: string
          example: 1.6.4
        versionMajor:
          type: integer
          example: 1
        versionMinor:
          type: integer
          example: 6
        versionRev:
          type: integer
          example: 4
  securitySchemes:
    tokenAuth:
      type: http
      scheme: token