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

# Get referee history

> **Limit: 10 requests per second**

`GET /v1/referral/referee_history`

Provides a summary of all referee activity for the requesting user.




## OpenAPI

````yaml orderly.openapi get /v1/referral/referee_history
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/referral/referee_history:
    get:
      tags:
        - private
      summary: Get referee history
      description: |
        **Limit: 10 requests per second**

        `GET /v1/referral/referee_history`

        Provides a summary of all referee activity for the requesting user.
      parameters:
        - name: start_date
          in: query
          description: start date range that you wish to query, in the format ‘YYYY-MM-DD’
          required: false
          example: ''
          schema:
            type: string
        - name: end_date
          in: query
          description: end date range that you wish to query, in the format ‘YYYY-MM-DD’
          required: false
          example: ''
          schema:
            type: string
        - name: page
          in: query
          description: the page you wish to query start from 1
          required: false
          example: ''
          schema:
            type: integer
        - name: size
          in: query
          description: 'the page size you wish to query (max: 500)'
          required: false
          example: ''
          schema:
            type: integer
        - $ref: '#/components/parameters/orderly_timestamp'
        - $ref: '#/components/parameters/orderly_account_id'
        - $ref: '#/components/parameters/orderly_key'
        - $ref: '#/components/parameters/orderly_signature'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRefereeHistoryResponse'
      deprecated: false
components:
  parameters:
    orderly_timestamp:
      name: orderly-timestamp
      in: header
      description: Timestamp of the signed request in milliseconds.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: '1649920583000'
    orderly_account_id:
      name: orderly-account-id
      in: header
      description: Account ID of the authenticated account.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: 6.858456565150415e+75
    orderly_key:
      name: orderly-key
      in: header
      description: Public orderly key used to sign the request.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: ed25519:8tm7dnKYkSc3FzgPuJaw1wztr79eeZpN35nHW5pL5XhX
    orderly_signature:
      name: orderly-signature
      in: header
      description: Signature of the request payload generated with the orderly key.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: >-
        dG4bkKiqG0dUYLzViRZkvbI6Sy239JxAdNMIBxFZ4w030Jofr0ORV06GHtvXZkaZaWUXE+XAU3fnzKN/5fDeBQ==
  schemas:
    GetRefereeHistoryResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              required:
                - rows
              properties:
                rows:
                  type: array
                  items:
                    type: object
                    properties:
                      volume:
                        type: number
                        example: 1229.12
                      referee_rebate:
                        type: number
                        example: 2.22
                      date:
                        type: string
                        example: '2023-11-14T00:00:00.000Z'
                meta:
                  type: object
                  properties:
                    records_per_page:
                      type: integer
                      example: 25
                    current_page:
                      type: integer
                      example: 1
                      description: start from 1
                    total:
                      type: integer
                      example: 50
    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

````