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

# Check referral code

> **Limit: 10 requests per 1 second per IP address**


`GET /v1/public/referral/check_ref_code`




## OpenAPI

````yaml orderly.openapi get /v1/public/referral/check_ref_code
openapi: 3.0.1
info:
  title: EVM
  description: ''
  version: 1.0.0
servers:
  - url: https://api.orderly.org
    description: Mainnet
  - url: https://testnet-api.orderly.org
    description: Testnet
security: []
tags:
  - name: public
  - name: private
paths:
  /v1/public/referral/check_ref_code:
    get:
      tags:
        - public
      summary: Check referral code
      description: |
        **Limit: 10 requests per 1 second per IP address**


        `GET /v1/public/referral/check_ref_code`
      parameters:
        - name: account_id
          in: query
          description: ''
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckReferralCodeResponse'
      deprecated: false
components:
  schemas:
    CheckReferralCodeResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              properties:
                referral_code:
                  type: string
                  example: code
    BasicResponse:
      required:
        - success
      type: object
      properties:
        success:
          description: Indicates whether the request was successful.
          type: boolean
          example: true
        timestamp:
          description: Server timestamp in milliseconds.
          type: integer
          example: 1702989203989

````