Skip to main content
Users can retrieve the total supply of a token from the Magna platform. This endpoint returns the self-reported total supply from the cap table (the minted supply that the project reports), not the smart contract max supply.

This endpoint is designed for token data provider compatibility (ex. Coinmarketcap) and returns a plain text number for easy integration with external systems.
Access: Use a Statistics API Key (Read-Only) (EXTERNAL_STATS_READ scope) or a Full Access API Token. Generate a Statistics key under Settings → API keys to let third-party integrations read stats without full project access. See Authentication.
Example request:
curl -X GET https://app.magna.so/api/external/v1/tokens/{your_token_id}/total-supply?id={your_token_id} \
  -H 'Content-Type: application/json' \
  -H 'x-magna-api-token: magna_project_api_token'
  • magna_project_api_token (required) - replace with your actual Magna API token
  • your_token_id (required) - with your token id
Response example:
1000000000