Skip to main content
GET
/
positions
Get open positions
curl --request GET \
  --url https://v2.55-tech.com/positions \
  --header 'X-ABP-API-KEY: <api-key>'
{
  "groupBy": "<string>",
  "positions": [
    {
      "openBets": 123,
      "totalStake": 123,
      "bookmaker": "<string>",
      "account": "<string>",
      "userRef": "<string>",
      "avgPrice": 123,
      "fixtureIds": 123
    }
  ],
  "count": 123,
  "totalStake": 123,
  "totalOpenBets": 123,
  "status": "success"
}

Authorizations

X-ABP-API-KEY
string
header
required

API key for authentication. Contact admin to obtain a key.

Query Parameters

groupBy
string
default:bookmaker

Group positions by: bookmaker, account, or 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 positions

Response for the positions endpoint.

groupBy
string
required
positions
PositionEntry · object[]
required
count
integer
required
totalStake
number
required
totalOpenBets
integer
required
status
string
default:success