xrpl.to now uses embedded non-custodial wallets. Xaman, Crossmark & GEM Wallet login is no longer supported.Now using embedded wallets. Xaman, Crossmark & GEM no longer supported.
Insights

Ripple Data API v2 Replacement: Migration to XRPL.to API

The official Ripple Data API v2 has been shut down. Here is how to migrate your application to the XRPL.to API with minimal code changes.

Ripple Data API v2 Is Deprecated

The Ripple Data API v2 at data.ripple.com has been permanently shut down. All endpoints return errors. Developers who relied on it for exchange data, account balances, and ledger queries need a replacement.

The XRPL.to API provides equivalent functionality for every Ripple Data API v2 endpoint, plus significantly expanded coverage including AMM pools, NFT data, AI analysis, and real-time WebSocket streams. The API is free to use and requires no migration of data formats.

Migration Mapping

Use this table to find the XRPL.to equivalent for each Ripple Data API v2 endpoint you were using:

Ripple Data API v2
XRPL.to API
Purpose
GET /v2/exchanges
GET /v1/history
Trade history and exchange data
GET /v2/network/exchange_volume
GET /v1/stats
Network-wide volume statistics
GET /v2/accounts/{address}/balances
GET /v1/account/balance/:account + /v1/trustlines/:account
XRP balance and token holdings
GET /v2/accounts/{address}/transactions
GET /v1/account/tx/:account
Account transaction history
GET /v2/accounts/{address}/orders
GET /v1/account/offers/:account
Open DEX orders
GET /v2/ledgers
GET /v1/ledger
Ledger information

What XRPL.to Adds

Beyond matching the original Ripple Data API, XRPL.to provides features that were never available in the old API:

AMM pool data with APY, fees, and liquidity metrics
NFT marketplace with collection analytics and holder distribution
AI-powered transaction analysis and trading assistant
Token launch platform with automated liquidity
WebSocket streams for real-time price and orderbook data
Trader analytics with buy/sell breakdowns and whale tracking
RSI indicators and technical analysis data
OHLC candlestick data at multiple timeframes

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));

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: