Get Match Result API
curl --request GET \
--url https://api.gamezop.com/v1/match-result \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v1/match-result"
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/v1/match-result', 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/v1/match-result",
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/v1/match-result"
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/v1/match-result")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v1/match-result")
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{
"data": {
"property_id": "1234",
"game_code": "rJWyhp79RS",
"room_id": "SNAKE_AND_LADDERS_5e0",
"match_id": "ab9ce5a2995c5da2047a",
"scores": [
{
"sub": "1257722",
"is_bot": false,
"rank": 1,
"score": 10
},
{
"sub": "3800",
"is_bot": true,
"rank": 2,
"score": 9
}
],
"match_status": "COMPLETED",
"match_start_time": "2025-06-11T06:00:00.000Z"
},
"success": true,
"message": ""
}{
"message": "match_id is invalid or missing.",
"success": false
}{
"message": "Bearer token is invalid or missing.",
"success": false
}Real-time multiplayer games
Get Match Result API
This API allows you to pull data from Gamezop’s systems for any multiplayer match played by your users.
GET
/
v1
/
match-result
Get Match Result API
curl --request GET \
--url https://api.gamezop.com/v1/match-result \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v1/match-result"
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/v1/match-result', 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/v1/match-result",
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/v1/match-result"
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/v1/match-result")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v1/match-result")
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{
"data": {
"property_id": "1234",
"game_code": "rJWyhp79RS",
"room_id": "SNAKE_AND_LADDERS_5e0",
"match_id": "ab9ce5a2995c5da2047a",
"scores": [
{
"sub": "1257722",
"is_bot": false,
"rank": 1,
"score": 10
},
{
"sub": "3800",
"is_bot": true,
"rank": 2,
"score": 9
}
],
"match_status": "COMPLETED",
"match_start_time": "2025-06-11T06:00:00.000Z"
},
"success": true,
"message": ""
}{
"message": "match_id is invalid or missing.",
"success": false
}{
"message": "Bearer token is invalid or missing.",
"success": false
}This feature is only available with paid plans. Contact us to know more.
About this API
In addition to us posting match winners’ data to you on your endpoint, you can use this API to pull data from Gamezop’s systems for any match played by your users. Thematch_id you query with is the same match_id that you return to us via your Create Match API.
API specification
Authorizations
You can find the Bearer token for this API under Settings & Admin > API Tokens within the Gamezop Business Dashboard.
Query Parameters
The match_id that you want match result for. This is the same match_id that you return to us via your Create Match API.
Was this page helpful?