OnFinality
New RPC users get 35% off their first monthView the offer
Stellar logo

Stellar RPC Endpoint and API

Stellar is Where Blockchain Meets the real world

OnFinality provides managed Stellar RPC endpoints and dedicated node infrastructure for developers building on the Stellar network. Whether you are creating payment applications, wallets, or backend services, OnFinality offers reliable blockchain connectivity with observability and scaling options.

Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.
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":"getLatestLedger"}' 'https://stellar.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"getLatestLedger"}' 'https://stellar.api.onfinality.io/public'
HTTPs
https://stellar.api.onfinality.io/public
https://stellar.api.onfinality.io/public
Websocket
wss://stellar.api.onfinality.io/public-ws
wss://stellar.api.onfinality.io/public-ws
GET CONNECTED

Connect to Stellar

Use the OnFinality Stellar RPC endpoint for Mainnet. Verify the ledger and network passphrase, and choose Stellar RPC or Horizon for your app's data needs.

Try the public interface

First request
curl 'https://stellar.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"getLatestLedger"}'

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 Stellar
NETWORK REFERENCE

Verify Stellar Mainnet and the latest ledger

Use Stellar JSON-RPC to read ledger entries and simulate Soroban transactions. The public HTTPS URL accepts Stellar RPC methods. Horizon offers a separate REST interface for indexing and history workflows.

bash
curl -sS 'https://stellar.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"getLatestLedger","params":{}}'

The response contains the latest ledger sequence. Before signing, use getNetwork and check its network passphrase against the passphrase configured in your SDK. Mainnet and Testnet use different passphrases.

For provider evaluation, check the OnFinality Stellar method reference. Use getLatestLedger to check the endpoint's current ledger. For older history, verify the retention of your endpoint and use an indexer if you need longer coverage.

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

Stellar service details

NetworkCAPABILITIES
NetworkStellar
ProtocolStellar JSON-RPC
API capabilitiesFull / Archive
RegionsN.Virginia
BUILT FOR YOUR WORKLOAD

Build with Stellar

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