September 28, 2026

@polkadot/api
A TypeScript library providing Promise and RxJS API wrappers for Polkadot and Substrate chains.
Product facts
- Type
- API, SDK & Library
- Category
- Development & Engineering › API Integration
- Pricing
- Open source
- License
- Apache-2.0
- Launched
- Sep 28, 2026
- Listed
- Sep 28, 2026
- Website
- github.com
Overview
Introduction
@polkadot/api is a TypeScript library that wraps all methods exposed by Polkadot and Substrate network clients and defines every type the node exposes. It interacts with Polkadot- and Substrate-based blockchains via RPC calls.
Core Mechanism
The library's API is dynamically generated from the information provided in the Substrate runtime metadata. This means that when the underlying chain's runtime changes, the API automatically adapts to new interfaces and types without requiring manual maintenance of extensive hardcoded definitions.
Key Capabilities
- Promise API: Supports issuing queries and submitting transactions using standard Promise patterns.
- RxJS API: Supports subscribing to on-chain state changes and handling asynchronous operations via RxJS reactive streams.
- Type Definitions: Includes built-in definitions for all types exposed by the node, enabling type hints and checks in TypeScript projects.
- RPC Calls: Communicates with chain nodes under the hood using the JSON-RPC protocol.
Use Cases
Ideal for developers who need to interact with blockchains in the Polkadot and Substrate ecosystems, such as building DApp frontends, writing off-chain services, or developing automation scripts. Full documentation and usage examples (including how to issue queries and submit transactions) are available on the official documentation portal. When upgrading versions, it is recommended to review the CHANGELOG.
Key features
- Promise API: Provides a Promise-based interface for issuing queries and submitting transactions to Polkadot/Substrate chains.
- RxJS API: Provides an RxJS-based reactive interface for subscribing to and processing on-chain data streams.
- Dynamic Generation: The API is dynamically generated from Substrate runtime metadata, automatically adapting to interface changes on the chain.
- Complete Type Definitions: Defines all types exposed by the node, supporting TypeScript type checking.
- RPC Communication: Interacts with Polkadot and Substrate network clients via JSON-RPC calls.
Releases
Notify meQ&A
- Which blockchains does this library support?AI-generated
- It supports all Polkadot- and Substrate-based blockchain networks.
- Is the API statically defined?AI-generated
- No. The API is dynamically generated from the information provided in the Substrate runtime metadata.
- Where can I find usage tutorials?AI-generated
- You can find example guides on how to use the API to issue queries and submit transactions at the official documentation portal polkadot.js.org/docs/api/examples/promise/.
- What should I watch out for when upgrading versions?AI-generated
- It is recommended to review the CHANGELOG file in the repository when changing versions.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives
Muse2API
Self-hosted HTTP adapter for authorized Muse workflows

@vercel/sdk
A type-safe TypeScript SDK for controlling the entire Vercel platform via the Vercel REST API.

Apache APISIX
A cloud-native API and AI gateway built on NGINX and etcd, offering dynamic routing, load balancing, and hot-reloadable plugins.

Windy Map Forecast API
A Leaflet-based library that helps developers embed Windy's dynamic weather maps into websites.

Tikway
Access multiple AI models with a single API Key. Supports OpenAI, Anthropic, and Gemini protocols.

FreeAPI.app
A free, open-source API Hub for frontend, mobile, and backend developers to learn and practice API interactions.

free-api
A curated directory of free APIs for developers, updated monthly.

ServiceNow SDK
Delivers a modern development workflow for the Now Platform via a TypeScript-based DSL, enabling you to build, version, and deploy apps as source code.

IIIF/api
Markdown source repository for IIIF API and model specification documents

Bungie.Net API
Official REST API specification for querying and interacting with Destiny game data
The product content on this page was translated by AI from the author's original.