> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get RAY total supply

> Fetch RAY token total coin supply.



## OpenAPI

````yaml /api-reference/openapi/api-v1.yaml get /ray/totalcoins
openapi: 3.0.3
info:
  title: Api V1 V2 (Legacy)
  description: >
    Legacy Raydium API serving pool info, prices, SDKs data, and farm details.

    Primarily used for backwards compatibility and SDK clients.


    **Migrate to API v3:** Most endpoints here have newer equivalents in [API
    v3](/en/api-reference/api-v3).

    For new integrations, prefer the v3 endpoints which offer better performance
    and stability.
  version: 1.0.0
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://api.raydium.io
    description: Mainnet only
security: []
tags:
  - name: Ray Token
    description: RAY token supply endpoints
paths:
  /ray/totalcoins:
    get:
      tags:
        - Ray Token
      summary: Get RAY total supply
      description: Fetch RAY token total coin supply.
      operationId: getRayTotalCoins
      responses:
        '200':
          description: Total supply as plain text number
          content:
            text/plain:
              schema:
                type: string

````