How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Polkadot runtime API

Runtime specification, metadata, and code

Polkadot runtime API is one of 57 APIs that Polkadot 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, API documentation, rate-limit docs, and a GitHub repository.

This API exposes 13 operations across 13 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 7 base URLs: http://localhost:8080/v1, https://https://www.subscan.io/, 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.

13 operations 13 paths 23 schemas 10 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://polkadot.api.subscan.io
Resource Areas
1

Paths & Operations 13

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

runtime 13

Runtime specification, metadata, and code

GET
/v1/runtime/code
Runtime Wasm code
runtime_code 1 param → 200400500503
GET
/v1/runtime/metadata
Runtime metadata
runtime_metadata 1 param → 200400500503
GET
/v1/runtime/metadata/versions
Available metadata versions
runtime_metadata_versions 1 param → 200400500503
GET
/v1/runtime/metadata/{version}
Runtime metadata by version
runtime_metadata_versioned 2 params → 200400500503
GET
/v1/runtime/spec
Runtime specification
runtime_spec 1 param → 200400500503
POST
/api/scan/runtime/list
List runtime versions
→ 200
POST
/api/scan/runtime/metadata
Get runtime metadata
body → 200
POST
/api/scan/runtime/modules
List runtime modules
body → 200
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 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are types.MetadataModules (11 properties), RuntimeSpec (8 properties), types.MetadataEvents (6 properties), types.MetadataStorage (6 properties). Each schema is shown below with its type and property counts.

types.ModuleErrorField
object
3 properties
types.MetadataCalls
object
4 properties
types.NMapType
object
5 properties
internal_server_http.runtimeMetadataParams
object
1 property
types.MetadataEvents
object
6 properties
types.MetadataModules
object
11 properties
types.StorageType
object
6 properties
subscan_internal_model.RuntimeVersion
object
3 properties
types.MetadataModuleCallArgument
object
3 properties
subscan_internal_model.RuntimeModuleJson
object
2 properties
subscan_internal_model.RuntimeModuleItemJson
object
3 properties
internal_server_http.runtimeModuleParams
object
2 properties
types.MapType
object
6 properties
types.PalletLookUp
object
1 property
types.MetadataConstants
object
5 properties
types.MetadataStorage
object
6 properties
types.MetadataModuleError
object
4 properties
internal_server_http.J
object
4 properties
RuntimeSpec
object
Version information related to the runtime.
8 properties
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
RuntimeCode
object
2 properties
BlockIdentifiers
object
2 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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

polkadot-runtime-api-openapi.yml Raw ↑

Other APIs Polkadot publishes across the network.

Polkadot Account API
Polkadot accounts API
Polkadot ahm API
Polkadot Assets API
Polkadot Avail API
Polkadot Bifrost API
Polkadot Block API
Polkadot blocks API
Polkadot capabilities API
Polkadot Collator API
Polkadot Common API
Polkadot Contracts API
Where this information came from

This is an independent, third-party profile of Polkadot runtime API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.