> ## 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.

# Dapatkan statistik utama

> Mengambil TVL dan volume 24 jam untuk semua pool Raydium. Disimpan dalam cache selama 60 detik.



## OpenAPI

````yaml /id/api-reference/openapi/api-v3.yaml get /main/info
openapi: 3.0.3
info:
  title: Raydium API v3
  version: 3.0.0
  description: >-
    Raydium API v3 menyediakan endpoint REST untuk mengambil data liquidity
    pool, informasi mint, detail farm, IDO pool, dan metadata chain Solana.
    Digunakan oleh wallet, agregator, dan trader untuk mendapatkan feed harga,
    data pool, dan informasi routing.
servers:
  - url: https://api-v3.raydium.io
    description: Produksi (Mainnet)
  - url: https://api-v3-devnet.raydium.io
    description: Pengembangan (Devnet)
security: []
tags:
  - name: Main
    description: Endpoint API inti untuk informasi chain, TVL, dan konfigurasi
  - name: Mint
    description: Informasi mint token dan harga
  - name: Pools
    description: Info liquidity pool, kunci, dan data historis
  - name: Farms
    description: Informasi farm pool dan kunci
  - name: IDO
    description: Informasi IDO pool dan kunci
paths:
  /main/info:
    get:
      tags:
        - Main
      summary: Dapatkan statistik utama
      description: >-
        Mengambil TVL dan volume 24 jam untuk semua pool Raydium. Disimpan dalam
        cache selama 60 detik.
      operationId: getMainInfo
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          tvl:
                            type: number
                          volume24:
                            type: number
components:
  schemas:
    ApiResponse:
      type: object
      description: >-
        Amplop respons umum. Field `data` disediakan oleh skema respons
        masing-masing endpoint melalui `allOf` dan karena itu tidak
        dideklarasikan pada amplop dasar.
      required:
        - id
        - success
      properties:
        id:
          type: string
          description: ID permintaan (UUID)
        success:
          type: boolean
          description: Apakah permintaan berhasil
        msg:
          type: string
          description: Pesan kesalahan jika success bernilai false

````