> ## 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 RAY stake pool

> Mengambil pool staking token RAY. Disimpan dalam cache selama 60 detik.



## OpenAPI

````yaml /id/api-reference/openapi/api-v3.yaml get /main/stake-pools
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/stake-pools:
    get:
      tags:
        - Main
      summary: Dapatkan RAY stake pool
      description: Mengambil pool staking token RAY. Disimpan dalam cache selama 60 detik.
      operationId: getMainStakePools
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
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

````