Ripple Data API v2 Replacement: Migration to XRPL.to API
Ripple's Data API v2 no longer answers most of its routes. Here is where each one's data lives now on the XRPL.to API, with a before-and-after example.
Ripple Data API v2 Is Deprecated
The Ripple Data API v2 at data.ripple.com no longer answers most of its routes: on 16 October 2026 its exchange, account and ledger routes returned an authentication error, and only the XRP distribution figures still answered. Developers who relied on it for exchange data, account balances, and ledger queries need a replacement.
The XRPL.to API covers what most applications used it for, in its own response formats, and adds AMM pools, NFTs and real-time WebSocket streams. It is free to start without a key.
Migration Mapping
Use this table to find the XRPL.to equivalent for each Ripple Data API v2 endpoint you were using:
What XRPL.to Adds
Beyond matching the original Ripple Data API, XRPL.to provides features that were never available in the old API:
Quick Migration Example
Here is a before-and-after comparison showing how to update your code:
Before (Ripple Data API v2 - no longer works):
// This endpoint is dead
fetch('https://data.ripple.com/v2/accounts/rAddress.../balances')
.then(res => res.json())
.then(data => console.log(data.balances));After (XRPL.to API):
// XRP balance + account info
fetch('https://api.xrpl.to/v1/account/balance/rAddress...')
.then(res => res.json())
.then(data => console.log(data));
// Token holdings (trustlines with USD values)
fetch('https://api.xrpl.to/v1/trustlines/rAddress...')
.then(res => res.json())
.then(data => console.log(data));Attribution Is Required
The API is free to call, but not unconditional. Any app, website, bot or dashboard that displays xrpl.to data must show a visible, clickable Data by xrpl.to credit on the same screen as that data — not buried in an about page. This applies on every tier, including calls made with no API key. Storing our data and re-serving it from your own API or dataset needs written permission first. Full terms are in the API documentation.
Start Migrating
The XRPL.to API is free and requires no registration for basic access. Check the full documentation for endpoint details, rate limits, and authentication options: