Skip to content
Alchemy Logo

Aptos gRPC overview

Aptos gRPC provides access to the Aptos Transaction Stream API (aptos.indexer.v1) using Protocol Buffers and gRPC. It streams complete, ordered transaction data in real time, making it the recommended way to build indexers, analytics pipelines, and any service that needs to process every transaction on chain.

Aptos gRPC offers advantages over polling the REST API:

  • Real-time push: Transactions are streamed to your client as they are processed — no polling loop required
  • Strongly typed: Protocol Buffers provide strict typing and schema validation for every transaction field
  • Efficient serialization: Binary encoding reduces payload size compared to JSON
  • Ordered and resumable: Transactions arrive in version order, and streams can resume from any historical version
  • Server-side filtering: Optionally filter the stream so only matching transactions are delivered

Stream raw transactions through the RawData service.

gRPC methodREST equivalent
GetTransactionsGET /v1/transactions (paginated polling)

gRPC server reflection is not supported on Alchemy endpoints. Clients must supply the Aptos proto definitions directly — see the quickstart for setup instructions.

Check out the quickstart guide to make your first gRPC call.

Was this page helpful?