Get your profile
curl --request GET \
--url https://api.limitless.exchange/profiles/{account} \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/profiles/{account}"
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/profiles/{account}', 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/profiles/{account}",
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/profiles/{account}"
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/profiles/{account}")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/profiles/{account}")
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{
"id": 42,
"account": "0x27b4afBD88fE7c88c6897BB0b4ADE338D0401E37",
"username": "trader123",
"displayName": "Trader 123",
"bio": "<string>",
"client": "eoa",
"pfpUrl": "<string>",
"smartWallet": "<string>",
"isCreator": true,
"isOnboarded": true,
"socialUrl": "<string>",
"hasTraded": true,
"tradeWalletOption": "eoa",
"tradeWalletChoosen": true,
"embeddedAccount": "<string>",
"mode": "simple",
"referralCode": "<string>",
"points": 15000,
"accumulativePoints": 50000,
"effectiveFeeRateBps": 150,
"rank": {
"id": 123,
"name": "Gold",
"feeRateBps": 200
},
"referralData": [
{
"createdAt": "<string>",
"id": 123,
"referredProfileId": 123,
"pfpUrl": "<string>",
"displayName": "<string>"
}
],
"referredUsersCount": 123,
"enrolledInPointsProgram": true,
"leaderboardPosition": 123,
"isTop100": true,
"isCaptain": true
}Portfolio
Get Your Profile
Retrieve the authenticated user’s private profile by address, including effectiveFeeRateBps for signing on fee-enabled markets and numeric id for ownerId. You can only access your own profile; requesting another user’s address returns 403. If you do not want to pass an address, use GET /profiles/me.
GET
/
profiles
/
{account}
Get your profile
curl --request GET \
--url https://api.limitless.exchange/profiles/{account} \
--header 'lmts-api-key: <api-key>'import requests
url = "https://api.limitless.exchange/profiles/{account}"
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/profiles/{account}', 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/profiles/{account}",
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/profiles/{account}"
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/profiles/{account}")
.header("lmts-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.limitless.exchange/profiles/{account}")
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{
"id": 42,
"account": "0x27b4afBD88fE7c88c6897BB0b4ADE338D0401E37",
"username": "trader123",
"displayName": "Trader 123",
"bio": "<string>",
"client": "eoa",
"pfpUrl": "<string>",
"smartWallet": "<string>",
"isCreator": true,
"isOnboarded": true,
"socialUrl": "<string>",
"hasTraded": true,
"tradeWalletOption": "eoa",
"tradeWalletChoosen": true,
"embeddedAccount": "<string>",
"mode": "simple",
"referralCode": "<string>",
"points": 15000,
"accumulativePoints": 50000,
"effectiveFeeRateBps": 150,
"rank": {
"id": 123,
"name": "Gold",
"feeRateBps": 200
},
"referralData": [
{
"createdAt": "<string>",
"id": 123,
"referredProfileId": 123,
"pfpUrl": "<string>",
"displayName": "<string>"
}
],
"referredUsersCount": 123,
"enrolledInPointsProgram": true,
"leaderboardPosition": 123,
"isTop100": true,
"isCaptain": true
}This endpoint returns your internal user ID (
id) and effective fee rate (effectiveFeeRateBps). For fee-enabled markets, use effectiveFeeRateBps in the signed order, not rank.feeRateBps: a profile-specific cap can lower the rank rate. For fee-disabled markets, sign with feeRateBps: 0. If effectiveFeeRateBps is null, the profile has no rank and cannot supply a fee rate for a fee-enabled order.The account path parameter must be your wallet address exactly as stored on your profile (case-sensitive; a lowercase or otherwise re-cased address returns 403). Prefer GET /profiles/me.GET /profiles/me.Authorizations
Response
User profile with fee rate and rank information
Private user profile including trading rank and effective fee rate