All Games API
curl --request GET \
--url https://api.gamezop.com/v3/games \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v3/games"
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/v3/games', 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/v3/games",
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/v3/games"
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/v3/games")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v3/games")
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": [
{
"code": "Ey5Wzu1MZ9l",
"url": "https://www.gamezop.com/g/Ey5Wzu1MZ9l",
"name": "Hextris",
"description": "Rotate the Hexagon to match colours, prevent the blocks from stacking on incorrect counterparts.",
"screen_orientation": "portrait",
"has_integrated_ads": true,
"category": {
"id": 1,
"name": "Arcade"
},
"images": {
"cover": "https://static.gamezop.com/Ey5Wzu1MZ9l/cover.jpg",
"brick": "https://static.gamezop.com/Ey5Wzu1MZ9l/brick.png",
"thumb": "https://static.gamezop.com/Ey5Wzu1MZ9l/thumb.png",
"wall": "https://static.gamezop.com/Ey5Wzu1MZ9l/wall.png",
"square": "https://static.gamezop.com/Ey5Wzu1MZ9l/square.png",
"tall": "https://static.gamezop.com/Ey5Wzu1MZ9l/450x800.png",
"screenshots": [
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-1.png",
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-2.png",
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-3.png"
]
}
}
],
"success": true
}Guides
All Games API
Get the games enabled for your Property ID, with each game’s URL, name, category, and images, so you can list them in your own UI.
GET
/
v3
/
games
All Games API
curl --request GET \
--url https://api.gamezop.com/v3/games \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gamezop.com/v3/games"
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/v3/games', 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/v3/games",
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/v3/games"
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/v3/games")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gamezop.com/v3/games")
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": [
{
"code": "Ey5Wzu1MZ9l",
"url": "https://www.gamezop.com/g/Ey5Wzu1MZ9l",
"name": "Hextris",
"description": "Rotate the Hexagon to match colours, prevent the blocks from stacking on incorrect counterparts.",
"screen_orientation": "portrait",
"has_integrated_ads": true,
"category": {
"id": 1,
"name": "Arcade"
},
"images": {
"cover": "https://static.gamezop.com/Ey5Wzu1MZ9l/cover.jpg",
"brick": "https://static.gamezop.com/Ey5Wzu1MZ9l/brick.png",
"thumb": "https://static.gamezop.com/Ey5Wzu1MZ9l/thumb.png",
"wall": "https://static.gamezop.com/Ey5Wzu1MZ9l/wall.png",
"square": "https://static.gamezop.com/Ey5Wzu1MZ9l/square.png",
"tall": "https://static.gamezop.com/Ey5Wzu1MZ9l/450x800.png",
"screenshots": [
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-1.png",
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-2.png",
"https://static.gamezop.com/Ey5Wzu1MZ9l/game-3.png"
]
}
}
],
"success": true
}To open Gamezop games in an iframe on your website, ask your Gamezop Account Manager to whitelist your Property ID for iframe use. By default, Gamezop games don’t work in iframes.
Data from this API changes infrequently, so cache the response on your own server instead of calling the API for every user request. Refreshing your cache once every 24 hours is enough.
Authorizations
You can find the Bearer token for this API under Settings & Admin > API Tokens within the Gamezop Business Dashboard.
Query Parameters
Was this page helpful?