User
Get user profile by account registration number
Public endpoint to view any user’s profile by their numeric account registration number (the sequential signup number). Kept separate from the by-username endpoint so the username and registration-number namespaces never collide (all-digit usernames stay valid). Returns the same shape as the by-username endpoint, including both username and registrationNumber. Only public profiles are returned (404 otherwise).
GET
/
v1
/
user
/
profile
/
regnumber
/
{registrationNumber}
Get user profile by account registration number
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}import requests
url = "https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}', 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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}"
req, _ := http.NewRequest("GET", url, nil)
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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"username": "johndoe",
"displayName": "John Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"bio": "Trader & investor",
"registrationNumber": 14,
"createdAt": "2025-01-15T10:00:00.000Z",
"socialLinks": [],
"showBadgesBehindName": true,
"tradingIdentity": [],
"showPnlAmount": true,
"pnlAsPercent": false
}
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "User not found",
"code": "USER_NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}Related topics
Get user profile by usernameGet a specific traderGet own user profileGet your organization profileDelete user profile⌘I
Get user profile by account registration number
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}import requests
url = "https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}', 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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}"
req, _ := http.NewRequest("GET", url, nil)
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.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile/regnumber/{registrationNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"username": "johndoe",
"displayName": "John Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"bio": "Trader & investor",
"registrationNumber": 14,
"createdAt": "2025-01-15T10:00:00.000Z",
"socialLinks": [],
"showBadgesBehindName": true,
"tradingIdentity": [],
"showPnlAmount": true,
"pnlAsPercent": false
}
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "User not found",
"code": "USER_NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}