---
title: "Returns ReferralCode and statistics for the user"
method: GET
path: "/api/referral/info"
tags: ["Referral"]
---

# Returns ReferralCode and statistics for the user

`GET /api/referral/info`

## Request

- Base URL: `https://sky.coflnet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sky.coflnet.com/api/referral/info`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `GoogleToken`

## Response `200`

OK

- ReferralInfo: Contains referral statistics and inviter details.
  - `referedCount` integer, required: Gets or sets the refered count.
  - `validatedMinecraft` integer, required: Gets or sets the validated minecraft.
  - `purchasedCoins` integer, required: Gets or sets the purchased coins.
  - `purchasedCoinAmount` integer, required: Gets or sets the purchased coin amount.
  - `referredBy` string, nullable: Gets or sets the referred by.
  - `inviterMinecraftName` string, nullable: Gets or sets the inviter minecraft name.
  - `oldInfo` OldRefInfo
    - `refId` string, nullable, required
    - `count` integer, required
    - `receivedTime` string, date-span, required
    - `receivedHours` integer, required
    - `bougthPremium` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-08-04** `41f7cdd4406b`: 31 info
  - the endpoint scheme security `Bearer` was added to the API
  - the endpoint scheme security `GoogleToken` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - …27 more
- **2024-01-10** `64a743ab7c2a`: 6 info
  - added the optional property `inviterMinecraftName` to the response with the `200` status (media type: text/plain)
  - added the optional property `inviterMinecraftName` to the response with the `200` status (media type: application/json)
  - added the optional property `inviterMinecraftName` to the response with the `200` status (media type: text/json)
  - added the optional property `purchasedCoinAmount` to the response with the `200` status (media type: text/plain)
  - …2 more

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/referral/info/get.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
