Get My Referred Users
curl --request GET \
--url https://api.limitless.exchange/referral/usdc/referrals \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/referrals"
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/referrals', 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/referrals",
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/referrals"
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/referrals")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/referrals")
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{
"counts": {
"all": 123,
"awaiting": 123,
"earning": 123
},
"entries": [
{
"account": "<string>",
"avatarAccount": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"referredProfileId": 123,
"username": "<string>",
"volumeRaw": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123
}Referral
Get My Referred Users
Your own referred users, paginated, filtered, and sorted server-side. counts covers all your referred users regardless of the active filter; total counts only rows matching the current status filter.
GET
/
referral
/
usdc
/
referrals
Get My Referred Users
curl --request GET \
--url https://api.limitless.exchange/referral/usdc/referrals \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/referrals"
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/referrals', 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/referrals",
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/referrals"
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/referrals")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/referrals")
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{
"counts": {
"all": 123,
"awaiting": 123,
"earning": 123
},
"entries": [
{
"account": "<string>",
"avatarAccount": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"referredProfileId": 123,
"username": "<string>",
"volumeRaw": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123
}Money and volume fields are raw USDC with 6 decimals, returned as strings — divide by
1e6 for the dollar amount.status filter distinguishes referred users who have traded (earning) from those who have signed up but not traded yet (awaiting). counts always covers all your referred users regardless of the active filter, so filter chips stay accurate across pages; total counts only the rows matching the current status filter.Authorizations
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Query Parameters
Number of items per page (1-100).
Required range:
1 <= x <= 100Offset into the result set.
Required range:
x >= 0Filter by activity: awaiting = has not traded yet, earning = has traded.
Available options:
all, awaiting, earning Sort column.
Available options:
createdAt, earned, fees, volume Sort direction.
Available options:
ASC, DESC