XRPL WebSocket API (Mainnet)

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.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xrpl-websocket-api-mainnet"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
name: XRPL WebSocket API (Mainnet)
description: 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.
image: https://xrpl.org/img/xrp-ledger-logo.svg
humanURL: https://xrpl.org/docs/references/http-websocket-apis/
baseURL: wss://xrplcluster.com/
tags:
- WebSocket
- Mainnet
- Subscription
- Real-Time
- Streaming
tags_raw:
- WebSocket
- Mainnet
- Subscriptions
- Real-time
- Streaming
properties:
- type: Documentation
  url: https://xrpl.org/docs/references/http-websocket-apis/
- type: PublicServers
  url: https://xrpl.org/docs/tutorials/public-servers
- type: RateLimiting
  url: /rate-limits/rate-limits.yml
contact:
- FN: XRPL Community
  url: https://xrpl.org/community
meta:
- key: subscriptions
  value: ledger, transactions, transactions_proposed, accounts, accounts_proposed, order_book, peer_status,
    consensus