Get My Referral Stats
curl --request GET \
--url https://api.limitless.exchange/referral/usdc/me \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/me"
headers = {"lmts-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'lmts-api-key': '<api-key>'}};
fetch('https://api.limitless.exchange/referral/usdc/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.limitless.exchange/referral/usdc/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"lmts-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.limitless.exchange/referral/usdc/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("lmts-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.limitless.exchange/referral/usdc/me")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["lmts-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tiers": [
{
"minBasisRaw": "25000000000",
"name": "Bronze",
"rate": "0.18"
}
],
"totalBasisRaw": "31500000000",
"totalEarnedRaw": "184250000",
"customTier": "Gold"
}Referral
Get My Referral Stats
Your own referral standing: cumulative CLOB trading volume (the tier basis), total USDC earned from the referral program, and the active tier ladder. The current tier is not sent - resolve it as the highest ladder entry whose minBasisRaw your totalBasisRaw clears.
GET
/
referral
/
usdc
/
me
Get My Referral Stats
curl --request GET \
--url https://api.limitless.exchange/referral/usdc/me \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/me"
headers = {"lmts-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'lmts-api-key': '<api-key>'}};
fetch('https://api.limitless.exchange/referral/usdc/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.limitless.exchange/referral/usdc/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"lmts-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.limitless.exchange/referral/usdc/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("lmts-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.limitless.exchange/referral/usdc/me")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["lmts-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tiers": [
{
"minBasisRaw": "25000000000",
"name": "Bronze",
"rate": "0.18"
}
],
"totalBasisRaw": "31500000000",
"totalEarnedRaw": "184250000",
"customTier": "Gold"
}Money and volume fields are raw USDC with 6 decimals, returned as strings — divide by
1e6 for the dollar amount.tiers entry whose minBasisRaw your totalBasisRaw clears. When a customTier pin is present it acts as a floor: the effective tier is the higher of the pin and the volume-derived tier.
currentRate (optional) is the live materialized referral rate from your open tier-state row; it already reflects any pin or rate floor and any promotion past it, and is absent until a tier state has been materialized. customTierRate (optional, exclusive with customTier) is an ops rate floor: when it is higher than your volume tier’s ladder rate, your current tier is a custom tier at this rate, and volume can still promote you past it.
totalEarnedRaw is your accrued referral earnings. Earnings become payable once the underlying markets resolve and are then included in the daily payout — see the Referral Program guide.Authorizations
Response
Referral stats for the authenticated user