DeprecatedCosmos is no longer part of our actively supported networks. See supported chains →
COSMOS API · GraphQL · Kafka · gRPC · Cloud export

The Cosmos data API that follows value across IBC.

You shouldn't have to run a validator just to read a swap. We run Cosmos nodes and index every block, so Osmosis, Crescent and Astroport trades, CW20 transfers, balances and NFTs all live in one schema you can query — or stream in real time.

Trusted on Cosmos byNansen0xLukka
cosmos.messagesMessage for Cosmos via the Bitquery GraphQL API.Docs
message.graphqlCopy
query {
    cosmos(network: cosmoshub) {
      messages(options: {asc: "date.date"}, date: {since: "2025-07-01", till: "2026-07-01"}) {
        date: date {
          date(format: "%Y-%m-%d")
        }
        count: countBigInt
      }
    }
  }
responseSTREAMING
AccountCounterpartyAmount
200 · GraphQL · 240msgraphql.bitquery.io
01 Forget the RPC

Most Cosmos 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 Cosmos RPC
Bitquery Cosmos API
One wallet's full trade history
Thousands of chained calls
A single GraphQL query
Reading Osmosis / Crescent trades
You write every parser
Decoded for every program
Peak Crescent volume
Dropped data & rate limits
No miss, sub-300ms streams
Historical depth
Pruned after ~2 days
Genesis → now, queryable
Infrastructure to run
Validators, RPC, reorgs
None — fully managed
02 Delivery channels

Four ways to get Cosmos data — one schema underneath.

Model your query once in GraphQL and the same Cosmos 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.

03DEX & program coverage

Every major Cosmos 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
ROsmosis logoOsmosisAMM · CLMMSwaps, new pools, OHLCV, LP events
PCrescent logoCrescentLaunchpadNew mints, market, graduations
JAstroport logoAstroportAggregatorRouted swaps across every market
OKujira FIN logoKujira FINWhirlpoolsConcentrated-liquidity trades & pools
PhWhite Whale logoWhite WhaleOrder bookFills, book events, market data
MDuality logoDualityDLMMDynamic-bin swaps & liquidity
+ every new program we add
04 Build it this weekend

The Cosmos products people ship on us.

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

gRPC · Kafka

Snipe new Crescent mints

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

subscribe Pump.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.

cosmos.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 Cosmos charts.

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

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

Pricing

Cosmos is available on Enterprise

Cosmos is not included in our 9-chain self-service plans (Personal, Pro, Scale). Enterprise delivers complete history, unlimited streams and bulk delivery across 40+ chains — including Cosmos.

Enterprise

Enterprise

Full history, unlimited streams and bulk delivery at a predictable flat platform fee — no metering surprises.

Custom platform fee

flat fee — modelled, not metered

◆ Committed envelope · S3 Parquet · Kafka · datashares
  • Complete history · 40+ chains full platform coverage
  • Unlimited WebSocket streaming no stream-min or GB limit
  • Custom points & rate limits
  • Kafka fixed-cost · S3 bulk export
  • Coinpath® money flow
  • SLA · SSO · dedicated support
Talk to sales →

Self-service covers 9 core chains

Personal ($49), Pro ($99) and Scale ($299) include real-time data on Solana, Ethereum, Tron, Base, Arbitrum, Optimism, BSC, Polygon and Robinhood. Need a smaller entry point on those chains?

See platform pricingCompare Personal, Pro, Scale & Enterprise side by side

Every paid self-service plan includes a 7-day free trial with full streaming — no card required.

06 FAQ

Cosmos questions, answered.

How can I get Cosmos blockchain data with Bitquery?
Bitquery provides historical and real-time Cosmos data through GraphQL APIs, WebSocket subscriptions, Kafka streams and gRPC. We run our own Cosmos validators, so you get sub-second latency on blocks, transactions, instructions, DEX trades and CW20 token transfers. Start with a 7-day free trial at account.bitquery.io.
How do I query Osmosis, Crescent, Astroport and other DEX trades?
Use the Cosmos DEXTrades query in our Cosmos API to get trades from Osmosis, Crescent, Astroport, Kujira FIN, White Whale, Duality. Filter by token mint, pair, market, wallet or program ID and aggregate to OHLCV, top traders or volume per pool.
Can I track new Crescent token launches in real-time?
Yes. Subscribe to new token creation events on Crescent via GraphQL subscription or stream them through Kafka with sub-second latency. Filter by market-cap thresholds, graduation events to PumpSwap or Osmosis, or specific creator wallets. See our Crescent API.
How do I stream Cosmos data using Kafka or gRPC?
Bitquery operates Cosmos validators that stream blocks, transactions, transfers and DEX trades into Kafka and gRPC with sub-300ms latency. Ideal for trading bots, copy trading, sniping new tokens and high-frequency analytics.
Does Bitquery support CW20 tokens, NFTs and balance tracking?
Yes. We index every CW20 token transfer on Cosmos with full holder, balance and price history. NFT support covers Tensor, Magic Eden and other marketplaces with mint, list, sale and bid events. Track wallet balances and PnL across thousands of CW20 tokens through a single GraphQL schema.
How do I monitor a Cosmos wallet for copy trading or alerts?
Filter DEXTrades, Transfers or Instructionsqueries by wallet address to get a wallet's full Cosmos 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.

Your first Cosmos query is five minutes away.

Start free in the GraphQL IDE — no card, no sales call. Scale to Kafka or gRPC when you're ready, and we'll shape a Cosmos feed around your stack.

Osmosis · Crescent · Astroport · Kujira FIN · Duality · White Whale · CW20 · NFTs · + 40,000 developers
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.