Skip to main content

Algorand API Documentation

Overview

Bitquery's Algorand APIs let you query the chain through GraphQL — blocks, transactions, ALGO and ASA transfers, address balances, smart contract calls, parsed call arguments, and multi-hop fund flow. Replace the example addresses and asset IDs in any query with your own values to point them at real wallets and assets.

If you get stuck or need a data point that isn't covered here, reach out on Telegram.

Endpoint

Algorand GraphQL queries are served at https://graphql.bitquery.io.

What you can do with the Algorand API

  • Pull blocks by proposer, height, or time window with protocol version, rewards, and timestamps.
  • Get transactions with fees, types, senders, groups, and daily or per-address counts.
  • Track ALGO and ASA transfers filtered by asset ID, sender, receiver, or date range.
  • Look up native ALGO balances, multi-address snapshots, and smart contract bytecode.
  • Count and filter smart contract calls by transaction type (pay, acfg, and others).
  • Read parsed argument names, types, and values from smart contract calls and events.
  • Trace ALGO and ASA flows across multiple hops with Coinpath.

How the Algorand API differs from running your own node

Algorand node / indexerBitquery Algorand API
Raw chain state — you build the indexerPre-indexed and parsed: blocks, txs, transfers, app calls
No historical analytics out of the boxHistory, joins, aggregations, USD conversion on transfers
You decode transaction types and app args yourselfGraphQL response — pick the fields you need
Best for submitting transactions and full validationBest for analytics, dashboards, wallet UIs, and compliance work

Quick start

This query returns the 5 most recent Algorand blocks with height, hash, reward, proposer, and timestamp.

{
algorand(network: algorand) {
blocks(options: {desc: "height", limit: 5}) {
height
hash
reward
proposer {
address
}
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
}
}

API reference

Core data

Addresses and contracts

Fund tracing