Ideally, one may run their own node when interacting with the Polkadot network via Polkadot-JS Apps or other UIs and programmatic methods. Another option would be to connect to one of the several public endpoints provided by infrastructure and API service providers. For development convenience, Parity Tech maintains archive nodes for Polkadot, Kusama, and their test networks with public endpoints. These endpoints can be used with Polkadot-JS API to interact with their respective chains. The tables below list these endpoints.
Main Networks
Network | URL |
---|---|
Test Networks
Network | URL |
---|---|
Example usage with Polkadot-JS API
To connect to the Parity node, use the endpoint in your JavaScript apps like so:
Polkadot
wss://rpc.polkadot.io
Kusama
wss://kusama-rpc.polkadot.io
Westend
wss://westend-rpc.polkadot.io
Rococo
wss://rococo-rpc.polkadot.io