Polkadot Sidecar API
Polkadot Sidecar provides a RESTful API layer on top of a Polkadot node, allowing users to query blockchain data using HTTP endpoints instead of native JSON-RPC.
This service is read-only and is designed for data access use cases such as block explorers, indexers, analytics, and monitoring tools.
Base URL
https://kusama.api.onfinality.io/rest/public
https://kusama.api.onfinality.io/rest/public/blocks/head
If API key is required:
https://kusama.api.onfinality.io/rest/?apikey=<YOUR_API_KEY>
https://kusama.api.onfinality.io/rest/rpc/blocks/head?apikey=<YOUR_API_KEY>
Example CURL:
curl https://kusama.api.onfinality.io/rest/public/blocks/head
Supported networks
Polkadot
Kusama
AssetHub
Astar
Shiden
Avail
Supported Methods
Method | Supported | Response Units |
|---|---|---|
/accounts/:address/balance-info | ✅ | 1 |
/accounts/:address/staking-info | ✅ | 1 |
/accounts/:address/staking-payouts | ✅ | 1 |
/accounts/:address/vesting-info | ✅ | 1 |
/accounts/:address/proxy-info | ✅ | 1 |
/accounts/:address/convert | ✅ | 1 |
/accounts/:address/validate | ✅ | 1 |
/accounts/compare | ✅ | 1 |
/blocks | ✅ | 1 |
/blocks/head | ✅ | 1 |
/blocks/:number | ✅ | 1 |
/blocks/head/header | ✅ | 1 |
/blocks/:number/header | ✅ | 1 |
/blocks/:blockId/extrinsics/:extrinsicIndex | ✅ | 1 |
/blocks/:blockId/extrinsics-raw | ✅ | 1 |
/blocks/:blockId/para-inclusions | ✅ | 1 |
/runtime/code | ✅ | 1 |
/runtime/metadata | ✅ | 1 |
/runtime/metadata/:metadataVersion | ✅ | 1 |
/runtime/metadata/versions | ✅ | 1 |
/runtime/spec | ✅ | 1 |
/experimental/blocks/*/traces | ✅ | 1 |
/experimental/blocks/*/traces/operations | ✅ | 1 |
/experimental/paras/* | ✅ | 1 |
/pallets/:palletId/consts | ✅ | 1 |
/pallets/:palletId/events | ✅ | 1 |
/pallets/:palletId/errors | ✅ | 1 |
/pallets/:palletId/dispatchables | ✅ | 1 |
/pallets/:palletId/storage | ✅ | 1 |
/pallets/staking/validators | ✅ | 1 |
/pallets/staking/progress | ✅ | 1 |
/pallets/nomination-pools/* | ✅ | 1 |
/paras | ✅ | 1 |
/paras/crowdloans | ✅ | 1 |
/paras/:paraId/crowdloan-info | ✅ | 1 |
/paras/:paraId/lease-info | ✅ | 1 |
/paras/leases/current | ✅ | 1 |
/paras/auctions/current | ✅ | 1 |
/node/network | ✅ | 1 |
/node/transaction-pool | ✅ | 1 |
/node/version | ✅ | 1 |
/transaction | ✅ | 1 |
/transaction/dry-run | ✅ | 1 |
/transaction/fee-estimate | ✅ | 1 |
/transaction/material | ✅ | 1 |
Related Documentation
Docs: https://paritytech.github.io/substrate-api-sidecar/docsv2
Polkadot Sidecar GitHub: https://github.com/paritytech/substrate-api-sidecar