Duel rounds
curl --request GET \
--url https://data.rekt.trading/v0/duel/roundsimport requests
url = "https://data.rekt.trading/v0/duel/rounds"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/duel/rounds', 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://data.rekt.trading/v0/duel/rounds",
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://data.rekt.trading/v0/duel/rounds"
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://data.rekt.trading/v0/duel/rounds")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/duel/rounds")
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{
"asOf": {
"generatedAt": "2023-11-07T05:31:56Z",
"archiveTailSlot": 123,
"archiveTailAt": "2023-11-07T05:31:56Z",
"stale": true,
"staleReason": "<string>",
"entryFeeBasis": "observed"
},
"tier": "public",
"window": {
"hours": 48,
"since": "2023-11-07T05:31:56Z",
"rule": "<string>"
},
"filters": {
"owner": "<string>",
"matchup": "<string>",
"status": "<string>",
"sinceSlot": "<string>",
"beforeSlot": "<string>",
"limit": 123
},
"matched": 123,
"sampleSize": 123,
"nextBeforeSlot": 123,
"totalInArchive": 123,
"rounds": [
{
"matchup": "<string>",
"anchorS": 123,
"openedSlot": 123,
"status": "live",
"entries": [
{
"wallet": "<string>",
"side": "long",
"stake": "<string>",
"seq": "<string>",
"enterSignature": "<string>",
"enteredSlot": 123,
"result": "profit",
"player": "<string>",
"autoplay": true,
"enteredAtUnix": 123,
"phase": "<string>",
"entryPrice": "<string>",
"exitPrice": "<string>",
"settleReason": "<string>",
"payout": "<string>",
"net": "<string>",
"settleSignature": "<string>",
"settledSlot": 123,
"settledAtUnix": 123,
"voided": {
"reason": "<string>",
"refundTotal": "<string>",
"signature": "<string>",
"slot": 123
},
"swept": {
"amount": "<string>",
"signature": "<string>"
},
"streak": {
"streak": 123,
"bonus": "<string>",
"signature": "<string>",
"slot": 123,
"bonusPaid": {
"amount": "<string>",
"signature": "<string>",
"slot": 123,
"paidAtUnix": 123
}
},
"streakEnded": {
"reason": "<string>",
"streakBefore": 123,
"signature": "<string>",
"slot": 123
},
"streakRestored": {
"wins": 123,
"streak": 123,
"signature": "<string>",
"slot": 123
}
}
],
"sides": {
"long": {
"entries": 123,
"stake": "<string>"
},
"short": {
"entries": 123,
"stake": "<string>"
}
},
"payout": "<string>",
"streakBonus": "<string>",
"market": "<string>",
"roundLenS": 123,
"bellUnix": 123,
"endedAtUnix": 123,
"outcome": {
"entryPrice": "<string>",
"exitPrice": "<string>",
"move": "up",
"winningSide": "long"
}
}
],
"units": "<string>",
"summary": {
"rounds": 123,
"live": 123,
"settled": 123,
"entries": 123,
"voided": 123
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Duel
Duel rounds
Duel rounds of the last 48 hours, newest first. A round that is still live is dated by its start. Each entry is a position on Knockout, and shows how Knockout settled it. A page holds at most 100 rounds.
GET
/
v0
/
duel
/
rounds
Duel rounds
curl --request GET \
--url https://data.rekt.trading/v0/duel/roundsimport requests
url = "https://data.rekt.trading/v0/duel/rounds"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/duel/rounds', 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://data.rekt.trading/v0/duel/rounds",
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://data.rekt.trading/v0/duel/rounds"
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://data.rekt.trading/v0/duel/rounds")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/duel/rounds")
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{
"asOf": {
"generatedAt": "2023-11-07T05:31:56Z",
"archiveTailSlot": 123,
"archiveTailAt": "2023-11-07T05:31:56Z",
"stale": true,
"staleReason": "<string>",
"entryFeeBasis": "observed"
},
"tier": "public",
"window": {
"hours": 48,
"since": "2023-11-07T05:31:56Z",
"rule": "<string>"
},
"filters": {
"owner": "<string>",
"matchup": "<string>",
"status": "<string>",
"sinceSlot": "<string>",
"beforeSlot": "<string>",
"limit": 123
},
"matched": 123,
"sampleSize": 123,
"nextBeforeSlot": 123,
"totalInArchive": 123,
"rounds": [
{
"matchup": "<string>",
"anchorS": 123,
"openedSlot": 123,
"status": "live",
"entries": [
{
"wallet": "<string>",
"side": "long",
"stake": "<string>",
"seq": "<string>",
"enterSignature": "<string>",
"enteredSlot": 123,
"result": "profit",
"player": "<string>",
"autoplay": true,
"enteredAtUnix": 123,
"phase": "<string>",
"entryPrice": "<string>",
"exitPrice": "<string>",
"settleReason": "<string>",
"payout": "<string>",
"net": "<string>",
"settleSignature": "<string>",
"settledSlot": 123,
"settledAtUnix": 123,
"voided": {
"reason": "<string>",
"refundTotal": "<string>",
"signature": "<string>",
"slot": 123
},
"swept": {
"amount": "<string>",
"signature": "<string>"
},
"streak": {
"streak": 123,
"bonus": "<string>",
"signature": "<string>",
"slot": 123,
"bonusPaid": {
"amount": "<string>",
"signature": "<string>",
"slot": 123,
"paidAtUnix": 123
}
},
"streakEnded": {
"reason": "<string>",
"streakBefore": 123,
"signature": "<string>",
"slot": 123
},
"streakRestored": {
"wins": 123,
"streak": 123,
"signature": "<string>",
"slot": 123
}
}
],
"sides": {
"long": {
"entries": 123,
"stake": "<string>"
},
"short": {
"entries": 123,
"stake": "<string>"
}
},
"payout": "<string>",
"streakBonus": "<string>",
"market": "<string>",
"roundLenS": 123,
"bellUnix": 123,
"endedAtUnix": 123,
"outcome": {
"entryPrice": "<string>",
"exitPrice": "<string>",
"move": "up",
"winningSide": "long"
}
}
],
"units": "<string>",
"summary": {
"rounds": 123,
"live": 123,
"settled": 123,
"entries": 123,
"voided": 123
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Query Parameters
Response
A page of Duel rounds.
A page of Duel rounds, newest first.
