Get Tournaments
curl --request GET \
--url https://api.16tms.com/api/v1/tournaments \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.16tms.com/api/v1/tournaments"
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://api.16tms.com/api/v1/tournaments', 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.16tms.com/api/v1/tournaments",
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://api.16tms.com/api/v1/tournaments"
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://api.16tms.com/api/v1/tournaments")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.16tms.com/api/v1/tournaments")
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{
"success": true,
"message": "Tournaments fetched successfully",
"data": {
"items": [
{
"tournamentId": "91598fb6-12f0-4fe1-aaec-6b408ab92565",
"tournamentName": "Auto Test Tournament",
"gameId": "03401d21-5109-4991-a39c-551a05bfa176",
"gameName": "BGMI",
"description": "This is an auto-filled tournament used for rapid testing scenarios.",
"enrollmentLimit": 32,
"maxTeamMembers": 4,
"minTeamMembers": 2,
"startTime": "2026-02-13T12:10:00Z",
"endTime": "2026-02-15T12:10:00Z",
"registrationDeadline": "2026-02-13T11:10:00Z",
"registrationOpen": true,
"isOnline": true,
"status": 1,
"matchType": 2,
"teamType": "squad",
"color": "#2563eb",
"prizePool": 5000,
"entryFee": 50,
"image": null,
"coverImage": null,
"isTrending": false,
"isFeatured": true,
"isPasswordProtected": false,
"instantRegistrations": false,
"entryFeeCurrencyId": "10282b10-2b44-4bbb-9c1d-155e0bb46e79",
"entryFeeCurrencyName": "d",
"entryFeeCurrencySymbol": "$",
"prizePoolCurrencyId": "10282b10-2b44-4bbb-9c1d-155e0bb46e79",
"prizePoolCurrencyName": "d",
"prizePoolCurrencySymbol": "$",
"hasJoined": null,
"canJoin": null,
"cannotJoinReason": null,
"teamsJoinedCount": 0
}
],
"totalCount": 1,
"pageNumber": 1,
"pageSize": 20,
"totalPages": 1
},
"meta": {
"traceId": "00-f125448ab05644fa80f36b22f1d71ac5-0124b07dc253ea94-00",
"elapsedMs": 70.26,
"serverTimestamp": "2026-02-12T11:21:26.4669586Z"
}
}API Reference
Get Tournaments
Fetch a list of tournaments with optional filters.
GET
/
tournaments
Get Tournaments
curl --request GET \
--url https://api.16tms.com/api/v1/tournaments \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.16tms.com/api/v1/tournaments"
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://api.16tms.com/api/v1/tournaments', 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.16tms.com/api/v1/tournaments",
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://api.16tms.com/api/v1/tournaments"
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://api.16tms.com/api/v1/tournaments")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.16tms.com/api/v1/tournaments")
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{
"success": true,
"message": "Tournaments fetched successfully",
"data": {
"items": [
{
"tournamentId": "91598fb6-12f0-4fe1-aaec-6b408ab92565",
"tournamentName": "Auto Test Tournament",
"gameId": "03401d21-5109-4991-a39c-551a05bfa176",
"gameName": "BGMI",
"description": "This is an auto-filled tournament used for rapid testing scenarios.",
"enrollmentLimit": 32,
"maxTeamMembers": 4,
"minTeamMembers": 2,
"startTime": "2026-02-13T12:10:00Z",
"endTime": "2026-02-15T12:10:00Z",
"registrationDeadline": "2026-02-13T11:10:00Z",
"registrationOpen": true,
"isOnline": true,
"status": 1,
"matchType": 2,
"teamType": "squad",
"color": "#2563eb",
"prizePool": 5000,
"entryFee": 50,
"image": null,
"coverImage": null,
"isTrending": false,
"isFeatured": true,
"isPasswordProtected": false,
"instantRegistrations": false,
"entryFeeCurrencyId": "10282b10-2b44-4bbb-9c1d-155e0bb46e79",
"entryFeeCurrencyName": "d",
"entryFeeCurrencySymbol": "$",
"prizePoolCurrencyId": "10282b10-2b44-4bbb-9c1d-155e0bb46e79",
"prizePoolCurrencyName": "d",
"prizePoolCurrencySymbol": "$",
"hasJoined": null,
"canJoin": null,
"cannotJoinReason": null,
"teamsJoinedCount": 0
}
],
"totalCount": 1,
"pageNumber": 1,
"pageSize": 20,
"totalPages": 1
},
"meta": {
"traceId": "00-f125448ab05644fa80f36b22f1d71ac5-0124b07dc253ea94-00",
"elapsedMs": 70.26,
"serverTimestamp": "2026-02-12T11:21:26.4669586Z"
}
}Authorizations
API key for authentication.
Query Parameters
Filter by Game ID
Filter by tournament status
Filter by featured status
Page number for pagination
Number of items per page
External ID of the user. If provided, user-specific fields like 'hasJoined' will be populated.
⌘I