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, generate a free API key and include it as an X-Api-Key header.

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

Rate Limits & Tiers

The free tier is plenty for a single developer. Scale up when you ship to production:

TierPriceMonthly creditsReq/sec
AnonymousFree10
Free (with key)Free1M10
Developer$49 / mo10M50
Business$499 / mo100M200
Professional$999 / mo200M500
EnterpriseInvite onlyUnlimited1000+

Every 429 response carries a Link header and a hint field pointing to the signup page so client-side error handling can route users to an upgrade automatically.

Start Building