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

Celestia Node P2P API

JSON-RPC methods in the p2p module of celestia-node. libp2p-level introspection and control over the Celestia DA network including peer info, NAT status, connection management, bandwidth stats, pubsub topics, and the private/protected peer lists.

Celestia Node P2P API is one of 10 APIs that celestia publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Celestia, JSONRPC, LibP2P, and P2P. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 0.30.x.

Requests are made against a single base URL, http://localhost:26658.

1 operations 1 paths 2 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.30.x
Server
http://localhost:26658
Authentication
HTTP Bearer
License
Resource Areas
1

Authentication & Security 1

Celestia Node P2P API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

P2P 1

libp2p peer, connection, NAT, and pubsub control.

POST
/
Invoke P2P JSON-RPC Method
body → 200

Schemas 2

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

JsonRpcResponse
object
4 properties
JsonRpcRequest
object
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

celestia-p2p-api-openapi.yml Raw ↑

Other APIs celestia publishes across the network.

Celestia Node Blob API
Celestia Node Header API
Celestia Node DA API
Celestia Node Share API
Celestia Node State API
Celestia Node DAS API
Celestia Node Fraud API
Celestia Node Admin API
Celestia Node Blobstream API