Skip to main content
GET
/
bets
Get bets
curl --request GET \
  --url https://v2.55-tech.com/bets \
  --header 'x-api-key: <api-key>'
import requests

url = "https://v2.55-tech.com/bets"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://v2.55-tech.com/bets', 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://v2.55-tech.com/bets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-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://v2.55-tech.com/bets"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-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://v2.55-tech.com/bets")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://v2.55-tech.com/bets")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "status": "success",
  "bets": [
    {
      "betId": 67890,
      "orderId": 12345,
      "bookmaker": "pinnacle",
      "betStatus": "CONFIRMED",
      "settlementStatus": "UNSETTLED",
      "clientName": "demo",
      "testBet": false,
      "requestUuid": "eb45b192-317b-42d5-9f65-af497b9fa8c1",
      "bookmakerBetId": "3332684214",
      "placedPrice": 1.97,
      "placedStake": 10,
      "placedCurrency": "USD",
      "placedAt": "2026-02-07T17:29:32+00:00",
      "userRef": "bettor1234",
      "account": "pinnacle_main",
      "sentData": {
        "stake": 10,
        "price": 1.95
      },
      "receivedData": {
        "betId": "3332684214",
        "status": "accepted",
        "price": 1.97
      },
      "currencyInfo": {
        "currency": "USD",
        "currencyValue": 1,
        "updatedAt": "2026-02-07T17:29:32+00:00"
      }
    },
    {
      "betId": 67889,
      "orderId": 12344,
      "bookmaker": "betfair-ex",
      "betStatus": "CONFIRMED",
      "settlementStatus": "WON",
      "clientName": "demo",
      "testBet": false,
      "requestUuid": "fb5f2dd9-c855-4ba9-8ef9-4c2278ca2f1d",
      "bookmakerBetId": "234567890",
      "placedPrice": 1.94,
      "placedStake": 50,
      "placedCurrency": "GBP",
      "placedAt": "2026-02-07T16:00:00+00:00",
      "settledAt": "2026-02-07T18:30:00+00:00",
      "userRef": "bettor1234",
      "account": "betfair_user",
      "currencyInfo": {
        "currency": "GBP",
        "currencyValue": 0.73,
        "updatedAt": "2026-02-07T17:29:32+00:00"
      }
    }
  ],
  "count": 2,
  "hasMore": true,
  "nextCursor": 67889
}

Authorizations

x-api-key
string
header
required

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

Query Parameters

betIds
string | null

Comma-separated bet IDs

orderIds
string | null

Comma-separated order IDs

userRef
string | null

User reference to filter by

afterBetId
integer | null

Cursor for pagination: fetch bets with betId less than this value

limit
integer
default:50

Maximum number of bets to return per page

Required range: 1 <= x <= 1000

Response

Successfully retrieved bets

status
string

Always 'success'

bets
object[]
count
integer

Number of bets in this response

hasMore
boolean

Whether more bets are available

nextCursor
integer | null

Pass as afterBetId to fetch the next page