Skip to main content
GET
/
pnl
Get profit and loss
curl --request GET \
  --url https://v2.55-tech.com/pnl \
  --header 'X-API-Key: <api-key>'
{
  "status": "success",
  "groupBy": "bookmaker",
  "pnl": [
    {
      "bookmaker": "pinnacle",
      "settledBets": 42,
      "wins": 23,
      "losses": 17,
      "voids": 1,
      "pushes": 1,
      "totalStaked": 2100,
      "totalWon": 2350,
      "totalLost": 850,
      "netPnl": 250,
      "winRate": 54.8
    },
    {
      "bookmaker": "sharpbet",
      "settledBets": 15,
      "wins": 9,
      "losses": 5,
      "voids": 1,
      "pushes": 0,
      "totalStaked": 750,
      "totalWon": 900,
      "totalLost": 250,
      "netPnl": 150,
      "winRate": 60
    }
  ],
  "count": 2,
  "totalNetPnl": 400,
  "totalStaked": 2850,
  "totalSettledBets": 57
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Contact contact@55-tech.com to obtain a key.

Query Parameters

groupBy
enum<string>
default:bookmaker

Group PnL by: bookmaker, account, or userRef

Available options:
bookmaker,
account,
userRef
bookmaker
string | null

Filter by bookmaker slug

userRef
string | null

Filter by user reference

account
string | null

Filter by account username

Response

Successfully retrieved PnL

status
string
groupBy
string
pnl
object[]
count
integer
totalNetPnl
number
totalStaked
number
totalSettledBets
integer