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
}{
"message": "Invalid or missing token.",
"success": false
}INTEGRATE GAMEZOP
All Games API
Gamezop’s All Games API allows you to access data on our games 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
}{
"message": "Invalid or missing token.",
"success": false
}If you wish to open Gamezop’s games within an iframe in your website, ask your Gamezop Account Manager to whitelist your Property ID for iframe usage. By default, Gamezop games do not work within iframes.
Data from this API changes infrequently. We recommend caching the response on your own server rather than calling our API directly for every user request from your app or site. Refreshing your cache once every 24 hours is sufficient.
Authorizations
You can find the Bearer token for this API under Settings & Admin > API Tokens within the Gamezop Business Dashboard.
Query Parameters
ISO 639-1 language code. A full list of valid language codes is available in the IANA Language Subtag Registry (filter for Type: language). If translations are unavailable for the requested language, English values are returned.
Required string length:
2Was this page helpful?