Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tendermint Websocket API

Subscribe/unsubscribe are reserved for websocket events.

Tendermint Websocket API is one of 5 APIs that Tendermint publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Websocket. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.0.0, at version v0.34.

Requests are made against 2 base URLs: https://rpc.cosmos.network, http://localhost:26657.

3 operations 3 paths 3 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
v0.34
Base URL
https://rpc.cosmos.network
License
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Websocket 3

Subscribe/unsubscribe are reserved for websocket events.

GET
/subscribe
Subscribe for events via WebSocket.
subscribe 1 param → 200500
GET
/unsubscribe
Unsubscribe from event on Websocket
unsubscribe 1 param → 200500
GET
/unsubscribe_all
Unsubscribe from all events via WebSocket
unsubscribe_all → 200500

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed is JSONRPC (2 properties). Each schema is shown below with its type and property counts.

JSONRPC
object
2 properties
ErrorResponse
Error Response
EmptyResponse
Empty Response

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tendermint-websocket-api-openapi.yml Raw ↑

Other APIs Tendermint publishes across the network.

Tendermint ABCI API
Tendermint Info API
Tendermint Tx API
Tendermint Unsafe API