# XRPL WebSocket API (Mainnet)

**Canonical:** https://apis.io/apis/xrpl/xrpl-websocket-api-mainnet/  
**Provider:** XRP Ledger — https://apis.io/providers/xrpl/  
**Base URL:** wss://xrplcluster.com/  
**Documentation:** https://xrpl.org/docs/references/http-websocket-apis/

XRPL WebSocket API (Mainnet) is one of 4 APIs that [XRP Ledger](https://apis.io/providers/xrpl/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include WebSocket, Mainnet, Subscription, Real-Time, and Streaming. The published artifact set on APIs.io includes API documentation.

WebSocket interface to the XRP Ledger mainnet supporting all JSON-RPC methods plus real-time subscriptions for ledger closes, transactions, account activity, order book updates, and payment path finding. Clients maintain a persistent connection for push notifications.

## Machine-readable artifacts (3)

- **Documentation** — https://xrpl.org/docs/references/http-websocket-apis/
- **PublicServers** — https://xrpl.org/docs/tutorials/public-servers
- **RateLimiting** — https://raw.githubusercontent.com/api-evangelist/xrpl/refs/heads/main//rate-limits/rate-limits.yml

## Other XRP Ledger APIs (3)

- [XRPL JSON-RPC API (Mainnet)](https://apis.io/apis/xrpl/xrpl-json-rpc-api-mainnet/)
- [XRPL JSON-RPC API (Testnet)](https://apis.io/apis/xrpl/xrpl-json-rpc-api-testnet/)
- [XRPL WebSocket API (Testnet)](https://apis.io/apis/xrpl/xrpl-websocket-api-testnet/)

## Tags

WebSocket, Mainnet, Subscription, Real-Time, Streaming

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/xrpl/xrpl-websocket-api-mainnet/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/xrpl/.
