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

Avalanche RPC Endpoint and API

Connect EVM applications to C-Chain; use the separate P-Chain API for validator and staking data.

Ava Labs

Use OnFinality's Avalanche C-Chain RPC at https://avalanche.api.onfinality.io/public/ext/bc/C/rpc for EVM applications on chain ID 43114. Validator and staking queries use a separate P-Chain endpoint.

Chain ID43114
CurrencyAVAX
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.

Public endpoint rate limit: 5 req/sec

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' 'https://avalanche.api.onfinality.io/public/ext/bc/C/rpc'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}' 'https://avalanche.api.onfinality.io/public/ext/bc/C/rpc'
HTTPs
https://avalanche.api.onfinality.io/public/ext/bc/C/rpc
https://avalanche.api.onfinality.io/public/ext/bc/C/rpc
GET CONNECTED

Connect to Avalanche

Use OnFinality Avalanche C-Chain RPC with chain ID 43114 and JSON-RPC examples. Find the separate P-Chain API for staking data and choose your app access plan.

Try the public interface

First request
curl 'https://avalanche.api.onfinality.io/public/ext/bc/C/rpc' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}'

Use the interface and request shown above for an initial check, then test the methods and traffic pattern your application actually needs.

02

Create your own access

  1. Open the dashboard and select this network.
  2. Create an endpoint and copy the access details supplied by the dashboard.
  3. Validate your application's methods, peak traffic and error handling before production.
Create an RPC endpoint for Avalanche
RPC API

RPC API plans & response units

Choose a shared RPC plan by response-unit allowance and peak throughput. Method weights and network-specific availability still apply.

Developer

Free
Included response units
400,000/day
Rate limit
Up to 40 RU/s
Extra RU
Not available

Accelerate

$249/month
Included response units
100 million/month
Rate limit
500 RU/s
Extra RU
$3.75/million
Compare RPC plans

Plan figures checked 8 November 2026. RU are not always raw requests; WebSocket responses also count toward limits. Check the current pricing and this network's method documentation. Node charges and applicable taxes are additional.

NETWORK REFERENCE

Avalanche C-Chain RPC and P-Chain API

Use C-Chain for EVM wallets, Solidity contracts, balances and transaction receipts. Use P-Chain for validator and staking data. These APIs use different URL paths and methods.

Avalanche endpoint details

APIHTTPS endpointFirst method to check
C-Chain EVM RPChttps://avalanche.api.onfinality.io/public/ext/bc/C/rpceth_chainId, then eth_blockNumber
P-Chain APIhttps://avalanche.api.onfinality.io/public/ext/bc/Pplatform.getHeight

C-Chain mainnet uses chain ID 43114 (0xa86a) and AVAX for gas. The P-Chain URL is not an EVM wallet RPC URL; do not use it for eth_* calls or wallet network configuration.

Check the C-Chain connection

The quick-start examples above use eth_blockNumber on C-Chain. Run eth_chainId against the same URL and confirm 0xa86a before querying contracts or submitting signed transactions.

C-Chain chain ID and block reads were verified on October 21, 2026. Endpoint availability and block height change over time.

Create an authenticated Avalanche endpoint

Create an OnFinality account, select Avalanche and copy the endpoint for the chain your application uses. Replace the anonymous public URL with your authenticated URL and keep its chain path intact. Review RPC plans for request limits and usage analytics.

Test the exact historical queries or trace methods your workload needs on your selected plan. The public connection details here describe HTTPS access; a P-Chain HTTPS address is not a WebSocket subscription URL.

Choose the right API for your workload

  • EVM wallets and dApps: C-Chain for eth_call, balances, signed transactions and receipts.
  • Validator and staking dashboards: P-Chain for platform.* methods.
  • Analytics: confirm method coverage and historical range before scheduling large backfills.

Refer to the Avalanche developer documentation for C-Chain method semantics, and the Avalanche RPC guide for provider selection.

NETWORK REFERENCE

Next steps:

BUILT FOR YOUR WORKLOAD

Build with Avalanche

Plan access around the requests, operational requirements and release workflow your application needs.

Integration

Start with a connection check, then validate the reads, transactions or data workflows required by your application.

Usage planning

Review method-specific limits, plan allowances and usage before increasing traffic. Different methods can consume different response units.

Operations

Use your real client region and request pattern when evaluating latency, retries and service availability.

Never Worry about Infrastructure Again

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

Get Started