Final Results API
curl --request GET \
--url https://api.gamezop.com/v2/tournaments/{tournament_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v2/tournaments/{tournament_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gamezop.com/v2/tournaments/{tournament_id}/results', 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.gamezop.com/v2/tournaments/{tournament_id}/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gamezop.com/v2/tournaments/{tournament_id}/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gamezop.com/v2/tournaments/{tournament_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v2/tournaments/{tournament_id}/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"results": {
"total_players": 18234
},
"entries": [
{
"rank": 1,
"puid": "player_987",
"score": 98200
},
{
"rank": 2,
"puid": "player_456",
"score": 97100
}
]
}
}
Tournaments
Final Results API
Returns the final ranked results after a tournament has ended, capped at the top 10,000 entries. Rate limit: 24 requests per 24 hours, per tournament.
GET
/
v2
/
tournaments
/
{tournament_id}
/
results
Final Results API
curl --request GET \
--url https://api.gamezop.com/v2/tournaments/{tournament_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v2/tournaments/{tournament_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gamezop.com/v2/tournaments/{tournament_id}/results', 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.gamezop.com/v2/tournaments/{tournament_id}/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gamezop.com/v2/tournaments/{tournament_id}/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gamezop.com/v2/tournaments/{tournament_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v2/tournaments/{tournament_id}/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"results": {
"total_players": 18234
},
"entries": [
{
"rank": 1,
"puid": "player_987",
"score": 98200
},
{
"rank": 2,
"puid": "player_456",
"score": 97100
}
]
}
}
Tournaments module is only available with paid plans. Contact us to know more.
About this API
Returns the final ranked results after a tournament has ended. Results are only available once processing is complete — if you call this API too early, you will receive aRESULTS_NOT_READY error with a Retry-After header (approximately 30 seconds).
The results list is capped at the top 10,000 entries.
The rate limit on this API (24 requests per 24 hours) is counted per tournament, not per token. Fetch the results once into your own backend and serve them from there.
API specification
Authorizations
You can find the Bearer token for this API under Settings & Admin > API Tokens within the Gamezop Business Dashboard.
Path Parameters
The tournament to fetch final results for.
Was this page helpful?