Logo

Avalanche RPC Endpoints & API | OnFinality

Ava Labs

Blazingly Fast, Low Cost, and Eco-Friendly.

Connect to Avalanche in seconds with OnFinality RPC endpoints, request analytics, scalable rate limits, and 99.99% uptime for production Web3 apps.

Blazingly Fast, Low Cost, and Eco-Friendly.

Avalanche RPC Endpoint

The below example uses the public API endpoint*. This endpoint is only suitable for testing. To avoid rate limiting and service interruption, sign up now to get your own API key.
curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "platform.getHeight"}' 'https://avalanche.api.onfinality.io/public/ext/bc/P'
https://avalanche.api.onfinality.io/public/ext/bc/P
https://avalanche.api.onfinality.io/public/ext/bc/P

* The public endpoint is rate limited

RPC API Service

RPC API Features

ArchiveTrace

Avalanche RPC Endpoints on OnFinality

Avalanche is a high-performance Layer 1 blockchain platform known for its sub-second finality, low transaction fees, and eco-friendly consensus mechanism. It features a multi-chain architecture with three built-in blockchains: the Exchange Chain (X-Chain) for asset transfers, the Platform Chain (P-Chain) for validator coordination and subnet management, and the Contract Chain (C-Chain) which is fully EVM-compatible for smart contracts. This design enables developers to build scalable dApps, DeFi protocols, and custom subnets while benefiting from Avalanche's speed and security.

Why Use an Avalanche RPC Endpoint?

An RPC (Remote Procedure Call) endpoint is the gateway for applications to interact with the Avalanche blockchain. Developers use RPC endpoints to read on-chain data, submit transactions, deploy smart contracts, and connect backend services. Whether you are building a wallet, a DeFi dashboard, an NFT marketplace, or an analytics tool, a reliable RPC endpoint is essential for production-grade performance.

Avalanche RPC on OnFinality

OnFinality provides managed Avalanche RPC endpoints designed for production workloads. Our infrastructure supports HTTP and WebSocket transports, archive and trace capabilities, and offers request analytics to help you monitor usage. With OnFinality, you can focus on building your application without the overhead of running and maintaining your own Avalanche node.

Key Features

  • Network: Avalanche Mainnet (C-Chain, X-Chain, P-Chain)
  • Protocol: JSON-RPC over HTTP and WebSocket
  • Advanced Access: Archive and trace support for historical data and debugging
  • Observability: Request analytics and usage visibility
  • Scalability: Path from shared API endpoints to higher-capacity plans

How to Connect to Avalanche with OnFinality

  1. Create or sign in to your OnFinality account.
  2. Select Avalanche from the supported networks list.
  3. Create an API endpoint (or deploy a dedicated node if needed).
  4. Test the endpoint using a method like platform.getHeight or eth_blockNumber.
  5. Monitor request usage, errors, and limits before moving critical traffic.

Use Cases

  • dApps: Connect your frontend to Avalanche via a reliable RPC provider.
  • Wallets: Ensure stable access for transaction signing and balance queries.
  • DeFi: Access historical data with archive nodes for analytics and backtesting.
  • Backend Services: Integrate Avalanche data pipelines with scalable endpoints.

Comparison: Public vs OnFinality Avalanche RPC

Public endpoints are suitable for lightweight testing but often lack reliability and visibility for production use. OnFinality offers authenticated endpoints with clearer limits, request analytics, and a clear scaling path for growing projects.

RPC API SERVICE
Reliable RPC endpoints with high rate limits
Powerful RPC request analytics
99.99% uptime
Connect via HTTPS or websocket
Decentralised servers hosted globally
Full archive access at no extra cost
PRICING

Calculate Your Costs

Only pay for what you need.

Million Standard Requests
0100M200M300M400M
Total Cost
$49/ month

Recommended Plan: GROWTH

Continue with this plan

Latest Avalanche Updates!

Never Worry about Infrastructure Again

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

Get Started