How To Access Algorand via Algod API

Learn how to access Algorand via Algod API.

Step 1: To access Algorand via the available Algod methods, use the following native access endpoint:

  • Network: Algorand Mainnet
  • Request Type: GET / POST / DELETE

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

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

Example Request for Algod API

Here is a cURL example for using GET /v2/ledger/supply to get the current supply reported by the ledger in Algorand Mainnet:

curl -X GET \ \
-H 'Authorization: Bearer YOUR_API_KEY'

The following is a typical response you will get:

    "current_round": 22988124,
    "online-money": 2388091813708583,
    "total-money": 7314443768632736