> ## 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 pasar perp

> Mengembalikan volume perdagangan dan open interest 24h/7d/30d (long/short/total).



## OpenAPI

````yaml /id/api-reference/openapi/perp-api-v1.yaml get /main/info
openapi: 3.0.3
info:
  title: API Perp Raydium V1
  version: 1.0.0
  description: >
    Layanan konfigurasi dan metadata untuk Raydium Perpetual Futures. API ini
    menyediakan konfigurasi frontend, ketersediaan aset, pembatasan regional,
    dan endpoint RPC. Penempatan order didelegasikan ke API Orderly Network.


    Semua endpoint mengembalikan amplop standar:

    - **Sukses**: `{ id: string, success: true, data: {...} }`

    - **Error**: `{ id: string, success: false, msg: string }`
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://api-perp-v1.raydium.io
    description: Production
security: []
tags:
  - name: Main
    description: Informasi layanan inti (versi, RPC, statistik, pemeriksaan region).
  - name: Pool
    description: Konfigurasi pool pasar perp.
  - name: Campaign
    description: Data kampanye dan leaderboard.
  - name: Share
    description: Endpoint berbagi posisi dan P&L.
paths:
  /main/info:
    get:
      tags:
        - Main
      summary: Dapatkan statistik pasar perp
      description: >-
        Mengembalikan volume perdagangan dan open interest 24h/7d/30d
        (long/short/total).
      operationId: getMarketInfo
      responses:
        '200':
          description: Informasi pasar diambil.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketInfoResponse'
components:
  schemas:
    MarketInfoResponse:
      type: object
      properties:
        id:
          type: string
        success:
          type: boolean
        data:
          type: object
          properties:
            volume:
              type: object
              properties:
                24h:
                  type: number
                  description: Volume perdagangan 24 jam.
                7d:
                  type: number
                  description: Volume perdagangan 7 hari.
                30d:
                  type: number
                  description: Volume perdagangan 30 hari.
            openInterest:
              type: object
              properties:
                long:
                  type: number
                  description: Total open interest long.
                short:
                  type: number
                  description: Total open interest short.
                all:
                  type: number
                  description: Gabungan open interest.

````