RIPPLE API · GraphQL · Cloud export

The Ripple data API for the XRP Ledger.

You shouldn't have to run a rippled node just to read a payment. We index every XRP Ledger block, so payments, DEX offers, trust lines, NFT offers and balances all live in one schema you can query.

Trusted on Ripple byNansen0xLukka
ripple.accountRootsAccount root changes for one account: balance, sequence and owner count.Docs →
roots.graphqlCopy
query MyQuery {
  ripple(network: ripple) {
    accountRoots(
      account: {is: "rocwwPiFPgytt5Yhe3ctdZTnWw92Resy5"}
      options: {limit: 10, desc: "prevLedgerSequence"}
    ) {
      account {
        address
        annotation
      }
      transferRate
      sequence
      prevTxnId
      prevLedgerSequence
      prevBalance
      ownerCount
      operation
      flags
      domain
      balance
    }
  }
}
responseSAMPLE
AccountCounterpartyAmount
200 · GraphQLgraphql.bitquery.io
01 Forget the RPC

Most Ripple questions don't map to a single RPC call.

"What did this wallet trade?" sounds simple, but on raw RPC it turns into thousands of chained calls, instruction decoders you maintain yourself, and data that gets dropped exactly when volume spikes. We've already done that work, so you can skip to the answer.

What you're doing
Raw Ripple RPC
Bitquery Ripple API
One wallet's full trade history
Thousands of chained calls
A single GraphQL query
Reading DEX offers
You write every parser
Offers by account and currency pair
Historical depth
Non-archive nodes keep only recent history
Complete history in the $250/mo data pack, or as Data Store files
Infrastructure to run
Nodes, indexer, storage
None — fully managed
02 Delivery channels

Two ways to get Ripple data: GraphQL queries or a bulk cloud export.

Query Ripple data in GraphQL, or take it as a bulk cloud export.

03 Datasets

What the Ripple API covers.

Each row is one GraphQL query. Filter any of them by address, asset, block or date.

DatasetQueryWhat you get
PPaymentspaymentsXRP and issued-currency payments with the delivered amount
ODEX offersoffersOrder-book offers by account and currency pair
TLTrust linesrippleStatesTrust line balances between accounts
NNFT offersnftokenOffersNFT buy and sell offers with price
EEscrows and checksescrows · checksEscrowed and check payments with their release terms
CCoinpathcoinpathFund flows between accounts, hop by hop (Enterprise)
See the full schema in the docs →
04 Build it this weekend

The Ripple products people ship on us.

Each one is a filter on the same indexed data, queried over GraphQL.

GraphQL

Follow any wallet

Query a target wallet's activity and poll for new rows to drive alerts.

ripple.payments
  receiver: { is: "<account>" }
Read the docs →
GraphQL

Read the DEX order book

Pull the offers placed against XRP or any issued currency, by account and pair, to build an order-book view.

ripple.offers
  takerPaysCurrencySymbol: { is: "XRP" }
Read the docs →

What teams say about our Ripple data

"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."

A
Alexander Karsten
Nansen
2013→now
Complete history in the data pack
1 schema
One GraphQL schema for all Ripple data
14 datasets
From payments to blocks, in one schema
Also building on Ripple data0x3CommasLukkaNansen

Pricing

Ripple data is self-service.

Ripple is sold as a full data pack with complete history included: an add-on to any self-service plan, bought in your account with no sales call.

Data pack

Ripple data

The full chain archive with complete history, one pack per chain.

$250/mo

or $175/mo billed yearly · save 30%

◆ History included · no separate archive add-on
  • Full chain archive complete history
  • Monthly or yearly $175/mo billed yearly
  • Bought in billing no sales call
Add in billing →

Need more than the data pack?

Enterprise adds Coinpath® money flow, bulk S3 export and SLAs.

Talk to salesVolume or custom pricing

Compare every data pack on the pricing page.

Bitquery Data Store

XRP Ledger history as files

Need history for a backtest or an audit? Buy it as Parquet files you keep instead of paging through the API. Every dataset has a free sample file, and you can pay by card or bank transfer.

Need other tables or a custom range? Request a custom extract

06 FAQ

Ripple questions, answered.

How can I get Ripple blockchain data with Bitquery?
Bitquery provides historical and recent Ripple data through our GraphQL API: blocks, transactions, payments, DEX offers, trust lines, NFT offers and balances. The full chain archive is a self-service data pack at $250/mo ($175/mo billed yearly).
How do I query XRP Ledger DEX trades?
Use the offers query for order-book offers by account and currency pair, and payments for cross-currency payments, in our Ripple API.
Can I stream Ripple data in real time?
Not as a live stream. The Ripple API answers GraphQL queries. To pick up new data, run your query again on a timer. See the Ripple API docs.
Does Bitquery support issued currencies, NFTs and balance tracking?
Yes. Payments and transfers cover XRP and issued currencies (IOUs). NFT offers come from the nftokenOffers query, and balances come from the balances and trust line (rippleStates) queries.
How do I monitor a Ripple wallet for copy trading or alerts?
Filter the payments or transactions query by wallet address to get its XRP Ledger history. Poll that query on a timer to alert on new activity, for copy-trading bots or whale-watching dashboards.

Get Ripple data without running a node.

Ripple is sold self-service as a full data pack: the complete chain archive, history included, for $250/mo ($175/mo billed yearly). Add it in your account, no sales call needed.

Self-service · $250/mo · History included · SLAs on Enterprise
40+ chains · one platform

Explore every blockchain Bitquery supports

Browse the chain directory and coverage matrix to see which interfaces each chain supports.