X Layer logo

X Layer RPC Endpoint

Fast and reliable. X Layer is served on the Premium plan and needs a paid API key.

Operational
Premium endpoint
Public and Freemium access have been deprecated. This chain needs a Premium key.
JSON-RPC Endpoint
https://mainnet.xl...
Network Status

Block height

70,222,779
Across healthy nodes

Median latency

4 ms
Typical response

Global reach

5
Served from 5 global regions
Archive data
Network
Network name
X Layer
Token
OKB
Decimals
18
Chain ID
0xc4
Client
reth/v1.10.2-5101851 x86_64-unknown-linux-gnu

Quickstart

The X Layer endpoint is served on the Premium plan. Get a Premium key, then send your first request with the endpoint and that key.

List of nodes
The network is kept stable, using a backbone of multiple underlying nodes. The network is constantly monitored and traffic is automatically routed to the best suited nodes.
Node
Location
ankr.com
πŸ‡ΊπŸ‡Έ
New York
ankr.com
πŸ‡³πŸ‡±
Amsterdam
ankr.com
πŸ‡ΈπŸ‡¬
Singapore
ankr.com
πŸ‡ΊπŸ‡Έ
San Francisco
Plans
X Layer is served on the Premium plan. Upgrade for higher throughput and advanced methods, or talk to us about a custom Enterprise setup.
Free
  • No API key required
  • All standard JSON-RPC methods
  • Community rate limit
  • Best-effort availability
Premium
Popular
  • Everything in Free, plus a dedicated API key
  • Higher throughput and rate limits
  • Archive and trace methods
  • 99.9% uptime and priority routing
  • Usage analytics and support
Enterprise
  • Everything in Premium, plus custom throughput
  • Dedicated infrastructure and multi-region routing
  • Custom SLA and 24/7 support
  • Compliance and security add-ons
Ready for more? Upgrade to Premium Try ANKR

X Layer RPC: frequently asked questions

What is the X Layer RPC endpoint?

A JSON-RPC endpoint for the X Layer network, operated by Ankr. Public and Freemium access have been deprecated: X Layer is served on the Premium plan and needs a paid API key.

Is the X Layer RPC endpoint free to use?

No. X Layer is served on the Premium plan. Keyless and free-plan access to this network have been deprecated.

How do I connect to X Layer?

Get a Premium key on Ankr RPC, then take the endpoint with that key and set it as the provider URL in your library of choice (ethers.js, web3.js, viem, or any JSON-RPC client).

Need more? Explore Ankr RPC.
Made with by Ankr © 2026