Logo
New RPC users get 35% off their first monthView the offer
Astar logo

Astar RPC Endpoint and API

Astar

Connect to Astar Network using OnFinality's managed RPC endpoints and dedicated node infrastructure. Astar is the leading smart contract hub on Polkadot, supporting both WASM and EVM environments. Whether you are building a dApp, wallet, DeFi protocol, or analytics tool, OnFinality provides reliable access to the Astar blockchain without the overhead of running your own node.

Sign up for a Free Plan to unlock up to 40 req/sec and API Usage and Performance Insights. Get Started
Open In Polkadot JS

Public endpoint rate limit: 5 req/sec

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlock"}' 'https://astar.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlock"}' 'https://astar.api.onfinality.io/public'
HTTPs
https://astar.api.onfinality.io/public
https://astar.api.onfinality.io/public
Websocket
wss://astar.api.onfinality.io/public-ws
wss://astar.api.onfinality.io/public-ws
Sidecar
https://astar.api.onfinality.io/rest/public/blocks/head
https://astar.api.onfinality.io/rest/public/blocks/head

Go to Growth Plan

  • High Performance
  • Powerful RPC Analytics
  • Up to 500 rps
  • No daily response limit
  • Priority Support
  • Decentralized Servers
Get Started

OnFinality Astar RPC features

  • Substrate JSON-RPC protocol with HTTP and WebSocket transport
  • Archive node support for historical data queries
  • Dedicated nodes for high-throughput workloads
  • Global regions: Hong Kong and N. Virginia
  • Request analytics to monitor usage and errors

Build faster with Astar RPC endpoints

Use OnFinality's Astar RPC APIs to connect wallets, dApps, dashboards, bots, and backend services without operating your own node from day one.

Public endpoint testing

Start with the Astar public RPC endpoint for lightweight checks, prototypes, and quick integration tests.

Authenticated API access

Move production traffic to authenticated endpoints when you need clearer limits, analytics, and operational visibility.

Standard RPC methods

Query Astar blocks, transactions, balances, events, and chain state through HTTP and WebSocket workflows.

Operate Astar infrastructure with more control

Production teams need more than an endpoint URL. They need observability, predictable capacity, and a path from shared RPC access to isolated infrastructure.

Request visibility

Track usage patterns and response activity so your team can understand traffic growth before it becomes an incident.

Dedicated node path

Use dedicated Astar nodes when your workload needs isolated resources, custom operations, or stronger capacity planning.

Archive and historical data

Plan for archive access when analytics, audits, indexers, or advanced app features need older Astar state.

Choose the right Astar RPC setup

Different Astar products need different infrastructure. OnFinality gives teams a practical path from public RPC testing to production-grade API and node operations.

For prototypes

Use public RPC for simple reads, connection checks, and early experiments where strict performance guarantees are not required.

For live apps

Use authenticated API endpoints when users depend on stable request handling, monitoring, and scalable access.

For heavy workloads

Use dedicated nodes for sustained traffic, latency-sensitive services, validator tooling, exchange systems, and indexing pipelines.

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started