How to Access Algorand via Indexer API

Learn how to access Algorand via Indexer API.

Step 1: To access Algorand, use the native access endpoint with /indexer at the end:

  • Network: Algorand Mainnet
  • Request Type: GET
https://svc.blockdaemon.com/algorand/mainnet/native/indexer

Step 2: You should authorize your request. Learn more: Authentication Guide

Step 3: Add an Algorand method at the end of the query:

https://svc.blockdaemon.com/algorand/mainnet/native/indexer/YOUR_METHOD

Step 4: For POST requests, specify the data required by the method in the request body.

Example Request for Indexer API

Here is a cURL example for using GET /health to get the status information of Algorand Mainnet:

curl -X \
GET https://svc.blockdaemon.com/algorand/mainnet/native/indexer/health \
-H 'Authorization: Bearer YOUR_API_KEY'

The following is a typical response you will get:

{
    "data": {
        "migration-required": false,
        "read-only-mode": true
    },
    "db-available": true,
    "is-migrating": false,
    "message": "22987920",
    "round": 22987920,
    "version": "2.12.1"
}

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.