Skip to content

Indexer

We have several offerings for getting indexed data from the Aptos blockchain.

  1. Query the Indexer API to get basic data about transactions, fungible assets, and tokens
  2. Index your custom contract with the Indexer SDK
  3. Stream raw transactions from Transaction Stream Service to your processor or service

The Aptos Indexer is an API you can use to get:

  1. Aggregate data (ex. How many NFTs exist?)
  2. Historical data (ex. What transactions has this account submitted?)
  3. Data that is hard to get from the simpler Aptos Node API (ex. What account owns a token named “ExampleToken”?).

For example, you can use the Indexer API to look up the fungible asset balances of any account like so:

Learn how to use the Indexer API, what each table represents, and the architecture.

To help get you started, here are the most common queries the Indexer is used for.

If the hosted Indexer API is not enough or if you want to index your custom contract, you can create a processor with the Indexer SDK.

Transaction Stream Service is a GRPC service that streams raw transactions to your processor or service. If you’re using the Indexer SDK, you’ll need an authorization token to connect to Transaction Stream Service.

Find information about the legacy indexer here.