PnL Cards
List a public profile's PnL cards
Returns the public PnL cards for a user whose profile is public. Only visibility=public non-revoked cards are returned. 404 if the profile is private or does not exist.
GET
/
v1
/
user
/
profile
/
{username}
/
cards
List a public profile's PnL cards
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profile/{username}/cardsimport requests
url = "https://api.hyperprop.com/platform/v1/user/profile/{username}/cards"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile/{username}/cards', 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/{username}/cards",
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/{username}/cards"
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/{username}/cards")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile/{username}/cards")
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": {
"cards": [
{
"id": "<string>",
"snapshot": {
"symbol": "ES",
"contract": "ESM6",
"contractName": "E-mini S&P 500",
"side": "long",
"quantity": 2,
"entryPrice": 5210.25,
"exitPrice": 5215.75,
"openedAt": "2026-05-22T13:01:14.000Z",
"closedAt": "2026-05-22T13:42:09.000Z",
"pnlGross": 550,
"fees": 6,
"pnlNet": 544,
"pricePerPoint": 50,
"feePerSide": 1.5,
"currency": "USD",
"accountLabel": null
},
"description": "First trade with my new setup",
"createdAt": "<string>",
"owner": {
"username": "<string>",
"displayName": "<string>",
"avatarUrl": "<string>"
}
}
],
"owner": {
"username": "<string>",
"displayName": "<string>",
"avatarUrl": "<string>"
},
"total": 123,
"limit": 123,
"offset": 123,
"hasMore": true
}
}{
"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
List the authenticated user's PnL cardsPublic verification payload for a PnL cardRevoke (soft delete) a PnL cardCreate a verifiable PnL card from a closed tradeUpdate a PnL card (visibility and/or description)⌘I
List a public profile's PnL cards
curl --request GET \
--url https://api.hyperprop.com/platform/v1/user/profile/{username}/cardsimport requests
url = "https://api.hyperprop.com/platform/v1/user/profile/{username}/cards"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/platform/v1/user/profile/{username}/cards', 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/{username}/cards",
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/{username}/cards"
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/{username}/cards")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/profile/{username}/cards")
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": {
"cards": [
{
"id": "<string>",
"snapshot": {
"symbol": "ES",
"contract": "ESM6",
"contractName": "E-mini S&P 500",
"side": "long",
"quantity": 2,
"entryPrice": 5210.25,
"exitPrice": 5215.75,
"openedAt": "2026-05-22T13:01:14.000Z",
"closedAt": "2026-05-22T13:42:09.000Z",
"pnlGross": 550,
"fees": 6,
"pnlNet": 544,
"pricePerPoint": 50,
"feePerSide": 1.5,
"currency": "USD",
"accountLabel": null
},
"description": "First trade with my new setup",
"createdAt": "<string>",
"owner": {
"username": "<string>",
"displayName": "<string>",
"avatarUrl": "<string>"
}
}
],
"owner": {
"username": "<string>",
"displayName": "<string>",
"avatarUrl": "<string>"
},
"total": 123,
"limit": 123,
"offset": 123,
"hasMore": true
}
}{
"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"
}