Query token prices, sorted lists, holder data, OHLC candles, and distribution analytics for every token on the XRP Ledger.
The XRPL.to API provides a full suite of token data endpoints. Key routes include:
GET /tokens - List all tokens with sorting and filteringGET /token/:id - Single token details by slug, md5, or issuer+currencyPOST /search - Full-text token searchGET /tags - Available category tags for filteringRetrieve a paginated, sorted list of all XRPL tokens. Supports sorting by volume, market cap, price change, holders, and more.
fetch('https://api.xrpl.to/v1/tokens?sortBy=vol24hxrp&sortType=desc&limit=10')
.then(res => res.json())
.then(data => {
data.tokens.forEach(t => {
console.log(t.name, t.currency, t.issuer);
console.log(' Price:', t.exch, 'Change:', t.pro24h + '%');
console.log(' Volume:', t.vol24h, 'MCap:', t.marketcap);
console.log(' Holders:', t.holders);
});
});Each token object includes name, currency, issuer, exchange rate, percentage changes, volume, market cap, and holder count.
Get detailed information for a single token. You can look up tokens by slug, md5 hash, or issuer_currency combination.
curl https://api.xrpl.to/v1/token/SOLO
The md5 identifier is computed as md5(issuer + '_' + currency). You can use either the slug (e.g. "SOLO") or the md5 hash to reference tokens across all endpoints. See the API docs for all available fields.
Access historical price data through OHLC candles, sparklines, and RSI analysis:
GET /ohlc/:md5 - OHLC candlestick data with configurable intervalsGET /sparkline/:md5 - Compact price history for thumbnail chartsGET /rsi - Relative Strength Index calculationscurl https://api.xrpl.to/v1/ohlc/TOKEN_MD5?interval=1h&limit=100
Analyze token holder distribution, top holders, and holder count trends over time.
GET /holders/info/:md5 - Holder summary statsGET /holders/list/:md5 - Paginated list of top holdersGET /holders/graph/:md5 - Holder count history for chartscurl https://api.xrpl.to/v1/holders/list/TOKEN_MD5?page=1&limit=20
Track token distribution from the creator wallet to understand how supply is distributed. The flow endpoint maps transfers from the issuing account through intermediary wallets.
curl https://api.xrpl.to/v1/token/flow/TOKEN_ID
Useful for detecting concentrated holdings, wash trading patterns, and verifying fair token distribution.