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

# الحصول على إحصائيات سوق العقود الدائمة

> يُرجع حجم التداول مدى 24 ساعة و 7 أيام و 30 يوماً والفائدة المفتوحة (طويل/قصير/إجمالي).



## OpenAPI

````yaml /ar/api-reference/openapi/perp-api-v1.yaml get /main/info
openapi: 3.0.3
info:
  title: Raydium Perps API V1
  version: 1.0.0
  description: >
    خدمة التكوين والبيانات الوصفية لعقود Raydium الدائمة. توفر هذه الواجهة تكوين
    الواجهة الأمامية، وتوفر الأصول، والقيود الإقليمية، ونقاط نهاية RPC. يتم
    تفويض وضع الطلبات إلى واجهة Orderly Network API.


    جميع نقاط النهاية تُرجع غلافاً قياسياً:

    - **النجاح**: `{ id: string, success: true, data: {...} }`

    - **الخطأ**: `{ 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: معلومات الخدمة الأساسية (الإصدار، RPC، الإحصائيات، فحص المنطقة).
  - name: Pool
    description: تكوين مجمع سوق العقود الدائمة.
  - name: Campaign
    description: بيانات الحملات ولوحات الترتيب.
  - name: Share
    description: نقاط نهاية مشاركة المركز و P&L.
paths:
  /main/info:
    get:
      tags:
        - Main
      summary: الحصول على إحصائيات سوق العقود الدائمة
      description: >-
        يُرجع حجم التداول مدى 24 ساعة و 7 أيام و 30 يوماً والفائدة المفتوحة
        (طويل/قصير/إجمالي).
      operationId: getMarketInfo
      responses:
        '200':
          description: تم استرجاع معلومات السوق.
          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: حجم التداول لمدة 24 ساعة.
                7d:
                  type: number
                  description: حجم التداول لمدة 7 أيام.
                30d:
                  type: number
                  description: حجم التداول لمدة 30 يوماً.
            openInterest:
              type: object
              properties:
                long:
                  type: number
                  description: إجمالي الفائدة المفتوحة الطويلة.
                short:
                  type: number
                  description: إجمالي الفائدة المفتوحة القصيرة.
                all:
                  type: number
                  description: إجمالي الفائدة المفتوحة.

````