curl --request GET \
--url https://api.limitless.exchange/referral/usdc/leaderboard/friends \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/leaderboard/friends"
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/leaderboard/friends', 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/leaderboard/friends",
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/leaderboard/friends"
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/leaderboard/friends")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/leaderboard/friends")
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{
"entries": [
{
"account": "<string>",
"avatarAccount": "<string>",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"rank": 123,
"referredCount": 123,
"referrerProfileId": 123,
"username": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123,
"me": {
"entry": {
"account": "<string>",
"avatarAccount": "<string>",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"rank": 123,
"referredCount": 123,
"referrerProfileId": 123,
"username": "<string>"
},
"rank": 123
}
}Get Friends Leaderboard
The global leaderboard scoped to your own referred users: each row is that user’s own referral standing (their referred count and referral earnings), keeping the global ranking. Only referred users who are themselves earning referrers appear. The response never carries a me block.
curl --request GET \
--url https://api.limitless.exchange/referral/usdc/leaderboard/friends \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/referral/usdc/leaderboard/friends"
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/leaderboard/friends', 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/leaderboard/friends",
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/leaderboard/friends"
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/leaderboard/friends")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/referral/usdc/leaderboard/friends")
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{
"entries": [
{
"account": "<string>",
"avatarAccount": "<string>",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"rank": 123,
"referredCount": 123,
"referrerProfileId": 123,
"username": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123,
"me": {
"entry": {
"account": "<string>",
"avatarAccount": "<string>",
"displayName": "<string>",
"earnedRaw": "<string>",
"feesGeneratedRaw": "<string>",
"pfpUrl": "<string>",
"rank": 123,
"referredCount": 123,
"referrerProfileId": 123,
"username": "<string>"
},
"rank": 123
}
}me block.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).
1 <= x <= 100Offset into the result set.
0 <= x <= 10000Sort column.
earned, fees, referred Sort direction.
ASC, DESC Response
Ranked page of your referred users who are earning referrers
Show child attributes
Show child attributes
Total ranked referrers on the board.
Your own rank and entry, pinned even when outside the returned page. Present on the global board when the request is authenticated; null when you have no ranked position; omitted on the friends board.
Show child attributes
Show child attributes