STELLAR API · GraphQL · Kafka · gRPC · Cloud export

The Stellar API for anchors, assets and remittance.

You shouldn't have to run a validator just to read a swap. We run Stellar nodes and index every block, so StellarX, SDEX and Aquarius trades, Stellar asset transfers, balances and NFTs all live in one schema you can query — or stream in real time.

Trusted on Stellar byNansen0xLukka
stellar.paymentsPayments for Stellar via the Bitquery GraphQL API.Docs →
payments.graphqlCopy
query {
    stellar(network: stellar) {
      payments(
        options: {desc: "timestamp.time", limit: 10, offset: 0}
        time: {since: "2025-07-01", till: "2026-07-01"}
      ) {
        timestamp {
          time
        }
        block
        transaction {
          index
        }
        currencyFrom {
          symbol
          name
        }
        currencyTo {
          symbol
          name
        }
        amountFrom
        amountTo
        receiver {
          address
          annotation
        }
        sender {
          address
          annotation
        }
        success
      }
    }
  }
responseSTREAMING
AccountCounterpartyAmount
200 · GraphQL · 240msgraphql.bitquery.io
01 Forget the RPC

Most Stellar 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 Stellar RPC
Bitquery Stellar API
One wallet's full trade history
Thousands of chained calls
A single GraphQL query
Reading StellarX / SDEX trades
You write every parser
Decoded for every program
Peak SDEX volume
Dropped data & rate limits
No miss, sub-300ms streams
Historical depth
Pruned after ~2 days
Complete history in the $250/mo data pack, or as Data Store files
Infrastructure to run
Validators, RPC, reorgs
None — fully managed
02 Delivery channels

Four ways to get Stellar data — one schema underneath.

Model your query once in GraphQL and the same Stellar fields come back over GraphQL streams, Kafka, gRPC or a bulk cloud export. There's no second schema to learn; you just pick the channel that matches your latency and volume.

03 DEX & program coverage

Every major Stellar venue, decoded into one feed.

A single DEXTrades query spans every venue below. Filter by mint, pair, market, wallet or program ID — and aggregate to OHLCV, top traders or pool volume.

VenueTypeWhat you get
RStellarX logoStellarXAMM · CLMMSwaps, new pools, OHLCV, LP events
PSDEX logoSDEXLaunchpadNew mints, market, graduations
JAquarius logoAquariusAggregatorRouted swaps across every market
OStellarTerm logoStellarTermWhirlpoolsConcentrated-liquidity trades & pools
PhLumenswap logoLumenswapOrder bookFills, book events, market data
MUltra logoUltraDLMMDynamic-bin swaps & liquidity
+ every new program we add →
04 Build it this weekend

The Stellar products people ship on us.

Each one is a filter on the same indexed data — subscribe over WebSocket, gRPC or fixed-cost Kafka on Enterprise for bots, or query GraphQL for dashboards.

gRPC · Kafka

Snipe new SDEX mints

Stream token-creation events the instant they launch and filter by market cap or creator wallet.

subscribe TokenSupplyUpdates
  where: { MarketCap: { ge: 5000 } }
Read the docs →
WebSocket

Copy-trade any wallet

Subscribe to a target wallet's swaps across every DEX and mirror them in real time for copy-trading or alerts.

stellar.DEXTrades
  where: { Trade.Account: "<wallet>" }
Read the docs →
GraphQL

Build OHLCV charts

Aggregate raw trades into candlesticks per pair and interval — the feed behind TradingView-style Stellar charts.

DEXTradeByTokens {
  Trade: { close: PriceInUSD ... }
} # 1m / 5m / 1h
Read the docs →

What teams say about our Stellar 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
157B+
Stellar rows indexed / week
<300ms
Kafka & gRPC stream latency
30×
Bigger than any other chain we serve
Also building on Stellar data0x3CommasLukkaNansen

Pricing

Stellar data is self-service.

Stellar 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

Stellar data

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

$250/mo

or $200/mo billed yearly · save 20%

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

Need more than the data pack?

Enterprise adds fixed-cost Kafka streaming, Coinpath® money flow, bulk S3 export and SLAs across 40+ chains.

Talk to salesScope Enterprise for Stellar and other chains

Compare every data pack on the pricing page.

Bitquery Data Store

Stellar 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

Stellar questions, answered.

How can I get Stellar blockchain data with Bitquery?
Bitquery provides historical and real-time Stellar data through GraphQL APIs, WebSocket subscriptions, Kafka streams and gRPC. We run our own Stellar validators, so you get sub-second latency on blocks, transactions, instructions, DEX trades and Stellar asset token transfers. The full chain archive is a self-service data pack at $250/mo ($200/mo billed yearly).
How do I query StellarX, SDEX, Aquarius and other DEX trades?
Use the Stellar DEXTrades query in our Stellar API to get trades from StellarX, SDEX, Aquarius, StellarTerm, Lumenswap, Ultra. Filter by token mint, pair, market, wallet or program ID and aggregate to OHLCV, top traders or volume per pool.
Can I track new SDEX token launches in real-time?
Yes. Subscribe to new token creation events on SDEX via GraphQL subscription or stream them in real time (WebSocket/gRPC on supported plans; fixed-cost Kafka on Enterprise). Filter by market-cap thresholds, new-pool / listing events on StellarX, or specific creator wallets. See our SDEX API.
How do I stream Stellar data using Kafka or gRPC?
Bitquery operates Stellar validators that stream blocks, transactions, transfers and DEX trades into gRPC on supported plans and Kafka on Enterprise with sub-300ms latency. Ideal for trading bots, copy trading, sniping new tokens and high-frequency analytics.
Does Bitquery support Stellar asset tokens, NFTs and balance tracking?
Yes. We index every Stellar asset token transfer on Stellar with full holder, balance and price history. NFT and collectible transfers are indexed with mint, transfer and sale events where the chain supports them. Track wallet balances and PnL across thousands of Stellar asset tokens through a single GraphQL schema.
How do I monitor a Stellar wallet for copy trading or alerts?
Filter DEXTrades, Transfers or Instructions queries by wallet address to get a wallet's full Stellar history. Subscribe to GraphQL or Kafka streams for real-time alerts on a target wallet's swaps and transfers — ideal for copy-trading bots or whale-watching dashboards.

Get Stellar data without running a node.

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

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

Explore every blockchain Bitquery supports

Browse the full chain directory and coverage matrix — the same GraphQL schema, real-time streams and cloud datasets across every network we index.