Algorand Transactions API
The Transactions API returns transaction-level data on Algorand: block context, fees, types, senders, groups, and currency metadata. Use it for paginated transaction feeds, daily activity dashboards, sender analytics, and hash-based lookups.
Algorand GraphQL queries are served at https://graphql.bitquery.io.
Get the latest Algorand transactions
Returns the 10 most recent transactions after a given date with block height, timestamp, currency, fee, group, hash, sender, subtype, and type.
{
algorand(network: algorand) {
transactions(
date: {after: "2023-08-05"}
options: {desc: "block.timestamp.iso8601", limit: 10}
) {
block {
height
timestamp {
iso8601
}
}
currency {
address
name
}
fee
group
hash
index
sender {
address
}
subtype
type
}
}
}
Get transactions in a date range
Paginated query for all transactions in a specific window. Run query
query MyQuery {
algorand(network: algorand) {
transactions(
options: {desc: "block.height", limit: 10, offset: 0}
date: {since: "2024-07-08", till: "2024-07-09"}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
currency {
tokenType
tokenId
symbol
name
decimals
address
}
fee
firstRound
poolerror
note
lastRound
index
hash
group
genesisId
genesisHash
subtype
type
sender {
address
annotation
}
}
}
}
Get daily transaction counts for recent days
Returns the number of transactions per day over the last 10 days, ordered by date descending. Run query
query MyQuery {
algorand(network: algorand) {
transactions(options: {desc: "date.date", limit: 10}) {
date {
date
}
count
}
}
}
Count unique senders for a single day
Counts distinct transaction senders on a specific date. Run query
query MyQuery {
algorand(network: algorand) {
transactions(date: {is: "2024-07-08"}) {
Unique_senders: count(uniq: senders)
}
}
}
Count transactions sent from an address
Returns the total number of transactions sent by a specific address.
{
algorand(network: algorand) {
transactions(
txSender: {is: "ADDRESS_HERE"}
) {
count
}
}
}
Look up a transaction by hash
Returns block context, currency, sender, subtype, and type for a single transaction hash.
{
algorand(network: algorand) {
transactions(
txHash: {is: "TXN_HASH_HERE"}
) {
block {
height
timestamp {
iso8601
}
}
currency {
address
name
}
sender {
address
}
subtype
type
}
}
}
Video: Algorand transaction data with Bitquery
Related resources
- Algorand Transfers API — ALGO and ASA transfer history
- Algorand Blocks API — block-level context for each transaction