TONNode API

TONNode API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

GitHub OpenAPI

Operations 8

GET /healthz For the hosted endpoint, the liveness probe needs no key at all: #
DELETE /mcp DELETE /mcp with Mcp-Session-Id — tears the session down. #
GET /mcp GET /mcp with Mcp-Session-Id and Accept: text/event-stream — opens the server-initiated notification stream. #
POST /mcp POST /mcp #
GET /v1/accounts/EQ Accounts Balances, status, code, data, and human-readable account information. #
GET /v1/accounts/EQ... GET /v1/accounts/EQ... #
GET /v1/stream TON Mempool Stream API: Pending Messages over WebSocket #
POST /v1/ticket POST /v1/ticket #

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/tonnode-io:tonnode-io-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

tonnode-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: TONNode API
  version: '2026-11-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-26: 8 operation(s) read from 5 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; TONNode has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 5
    pages-with-code: 5
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://tonnode.io/en/api
  - https://tonnode.io/en/docs
  - https://tonnode.io/en/docs/mcp
  - https://tonnode.io/en/docs/mcp/tools
  - https://tonnode.io/en/docs/mempool
servers:
- url: https://mcp.tonnode.io
paths:
  /healthz:
    get:
      operationId: get_healthz
      tags:
      - Healthz
      summary: 'For the hosted endpoint, the liveness probe needs no key at all:'
      description: Simple health check returning JSON like {"ok":true,"sessions":2}.
      x-source: https://tonnode.io/en/docs/mcp
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetHealthzResponse'
      x-evidence:
        kind: documentation
  /mcp:
    delete:
      operationId: delete_mcp
      tags:
      - Mcp
      summary: DELETE /mcp with Mcp-Session-Id — tears the session down.
      description: Closes the specified MCP session.
      x-source: https://tonnode.io/en/docs/mcp
      parameters:
      - name: Mcp-Session-Id
        in: header
        required: true
        schema:
          type: string
        description: Session identifier to close
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_mcp
      tags:
      - Mcp
      summary: 'GET /mcp with Mcp-Session-Id and Accept: text/event-stream — opens the server-initiated notification stream.'
      description: Opens a Server‑Sent Events stream for server‑initiated notifications.
      x-source: https://tonnode.io/en/docs/mcp
      parameters:
      - name: Mcp-Session-Id
        in: header
        required: true
        schema:
          type: string
        description: Session identifier obtained from initialize
      - name: Accept
        in: header
        required: true
        schema:
          type: string
        description: text/event-stream
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMcpResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: POST /mcp
      x-source: https://tonnode.io/en/docs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -i https://mcp.tonnode.io/mcp  -H \"Authorization: Bearer $TONNODE_KEY \"  -H \"Content-Type: application/json\"  -H \"\
          Accept: application/json, text/event-stream\"  -d '{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"initialize\",\n \"params\"\
          : {\n \"protocolVersion\": \"2025-06-18\",\n \"capabilities\": {},\n \"clientInfo\": { \"name\": \"curl\", \"version\": \"1.0\" }\n\
          \ }\n }' A working key returns 200 with an SSE frame carr"
  /v1/accounts/EQ:
    get:
      operationId: get_v1_accounts_EQ
      tags:
      - Accounts
      summary: Accounts Balances, status, code, data, and human-readable account information.
      description: Returns JSON with fields status, balance, last_activity, and interfaces for the specified account.
      x-source: https://tonnode.io/en/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1AccountsEqResponse'
      x-evidence:
        kind: documentation
  /v1/accounts/EQ...:
    get:
      operationId: get_v1_accounts_EQ
      tags:
      - Accounts
      summary: GET /v1/accounts/EQ...
      x-source: https://tonnode.io/en/api
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1AccountsEqResponse2'
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch(\n \"https://api.tonnode.io/v1/accounts/EQ...\",\n { headers: { Authorization: \"Bearer tn_live_...\" } }\n)"
  /v1/stream:
    get:
      operationId: get_v1_stream
      tags:
      - Stream
      summary: 'TON Mempool Stream API: Pending Messages over WebSocket'
      description: WebSocket upgrade endpoint that streams pending external messages. The client sends the Authorization header with a server
        key and receives a JSON object per message.
      x-source: https://tonnode.io/en/docs/mempool
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer tnmp_… key for server‑side connections
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/ticket:
    post:
      operationId: post_v1_ticket
      tags:
      - Ticket
      summary: POST /v1/ticket
      x-source: https://tonnode.io/en/docs/mempool
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: httpie
        snippet: HTTP POST https://mempool.tonnode.io/v1/ticket
components:
  schemas:
    GetHealthzResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Health status
        sessions:
          type: integer
          description: Number of active sessions
    GetMcpResponse:
      type: object
      properties:
        event:
          type: string
          description: SSE event name
        data:
          type: object
          description: JSON‑RPC notification payload
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
        id:
          type: integer
        method:
          type: string
        params:
          type: object
          properties:
            protocolVersion:
              type: string
              format: date
            capabilities:
              type: object
            clientInfo:
              type: object
              properties:
                name:
                  type: string
                version:
                  type: string
    PostMcpResponse:
      type: object
      properties:
        error:
          type: string
    GetV1AccountsEqResponse:
      type: object
      properties:
        status:
          type: string
          description: Account status.
        balance:
          type: string
          description: Account balance.
        last_activity:
          type: integer
          description: Timestamp of the last activity.
        interfaces:
          type: array
          description: List of account interfaces.
    GetV1AccountsEqResponse2:
      type: object
      properties:
        headers:
          type: object
          properties:
            Authorization:
              type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Accounts
- name: Healthz
- name: Mcp
- name: Stream
- name: Ticket