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

Kusama runtime API

The runtime API from Kusama — 5 operation(s) for runtime.

Kusama runtime API is one of 21 APIs that Kusama publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 5 operations across 5 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version 20.14.1.

Requests are made against 5 base URLs: https://polkadot-public-sidecar.parity-chains.parity.io/, https://kusama-public-sidecar.parity-chains.parity.io/, https://polkadot-asset-hub-public-sidecar.parity-chains.parity.io/, https://kusama-asset-hub-public-sidecar.parity-chains.parity.io/, http://localhost:8080.

5 operations 5 paths 5 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
20.14.1
Base URL
https://kusama-rpc.polkadot.io/
Resource Areas
1

Paths & Operations 5

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

runtime 5
GET
/runtime/metadata
Get the runtime metadata in decoded, JSON form.
1 param → 200
GET
/runtime/metadata/{metadataVersion}
Get the requested version of runtime metadata in decoded, JSON form.
2 params → 200
GET
/runtime/metadata/versions
Get the available versions of runtime metadata.
1 param → 200
GET
/runtime/code
Get the runtime wasm blob.
1 param → 200
GET
/runtime/spec
Get version information of the Substrate runtime.
1 param → 200

Schemas 5

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

ChainType
object
Type of the chain. It will return one of the following enum variants as a key. Live, Development, Local, or Custom. Each variant will have a value as null exce…
4 properties
RuntimeMetadata
object
Substrate runtime metadata containing pallet information, types registry, and API specifications. The structure varies significantly between different runtime…
2 properties 2 required
BlockIdentifiers
object
2 properties
RuntimeCode
object
2 properties
RuntimeSpec
object
Version information related to the runtime.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kusama-runtime-api-openapi.yml Raw ↑

Other APIs Kusama publishes across the network.

Kusama JSON-RPC API
Kusama accounts API
Kusama ahm API
Kusama blocks API
Kusama contracts API
Kusama coretime API
Kusama node API
Kusama pallets API
Kusama paras API
Kusama rc accounts API
Kusama rc API
Kusama rc blocks API