Skip to main content

Multi-Chain Trading Data Streams (Protobuf)

Broker setup, SASL authentication, consumer groups, and general Kafka behavior are covered in Bitquery Kafka Streams — Understanding Concepts.

All Kafka topics documented there deliver messages in protobuf format (JSON data samples for inspection: kafka-data-sample).

Multi-chain trading topics​

The trading namespace defines two Kafka topics. Both use the same credentials as your subscription:

Both trading topics keep messages for 24 hours. A consumer can replay from an offset inside that window. For older data, use the Trading API, which covers about the last 30 days.

See also​

  • Kafka streaming concepts — brokers, protobuf streams, partitioning, duplicates, retention (24 hours on the trading topics), and limitations vs GraphQL subscriptions.
  • Chain-prefixed protobuf topics (<BLOCKCHAIN_NAME>.<MESSAGE_TYPE>, etc.) are listed under Complete List of Topics on that same page. Individual chain layouts are the Chain-specific Stream items in this sidebar (Bitcoin, EVM, Solana, TRON).
Build with Bitquery

Ready to run this in production?

Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.