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

XRPL API Guide - Free Token, Price & DEX Data API

Everything you need to build on the XRP Ledger. 200+ endpoints, real-time WebSocket streams, and no API key required for basic access.

What Is the XRPL.to API?

The XRPL.to API provides free, comprehensive access to XRP Ledger data through 200+ REST endpoints and real-time WebSocket streams. It serves as a modern replacement for the deprecated Ripple Data API v2, covering token prices, DEX trading, AMM pools, NFT marketplace data, holder analytics, and AI-powered transaction analysis.

The free tier requires no API key and supports generous rate limits. For higher throughput, API keys unlock increased limits and priority access. All data is sourced directly from the XRP Ledger with sub-second update frequency.

API Overview

Tokens

Prices, lists, search, tags, sparklines, RSI

Trading

Trade history, orderbooks, swap quotes, pairs

AMM Pools

Pool lists, APY, TVL, fees, LP positions

NFTs

Collections, marketplace, holders, activity

Account

Balances, trustlines, portfolio, history

Analytics

Trending, gainers, volume, whale tracking

AI Analysis

Transaction explainer, market insights

WebSocket

Real-time token updates, price streams

Quick Start

Fetch the top 5 tokens by 24-hour volume with a single request:

curl https://api.xrpl.to/v1/tokens?sortBy=vol24hxrp&limit=5

Or use fetch in JavaScript:

const res = await fetch('https://api.xrpl.to/v1/tokens?sortBy=vol24hxrp&limit=5');
const data = await res.json();
console.log(data.tokens); // Array of token objects

No API key, no signup, no rate limit headers needed for basic requests.

XRPL.to API vs Alternatives

FeatureXRPL.toCoinGeckoOnTheDEXXRPL MetaBithomp
Endpoints200+50+20+30+40+
Free TierYesLimitedYesYesLimited
Real-time WSYesNoNoNoNo
AMM DataYesNoNoNoNo
NFT DataYesNoNoYesYes
Token LaunchYesNoNoNoNo
Price DataOHLC + SparkOHLCOHLCBasicBasic

Authentication

The free tier works without any API key. Simply make requests to the base URL and you are ready to go. For applications that need higher rate limits, you can generate an API key from the API documentation page and include it as an X-Api-Key header.

curl -H "X-Api-Key: YOUR_KEY" https://api.xrpl.to/v1/tokens

Start Building