/gog/products/search
curl --request POST \
--url https://api.anysite.io/api/gog/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"query": "<string>",
"order": "bestselling",
"product_type": [],
"genres": [],
"tags": [],
"systems": [],
"features": [],
"languages": [],
"release_statuses": [],
"discounted": false,
"free": false,
"price_min": 1,
"price_max": 1,
"release_year_min": 1981,
"release_year_max": 1981,
"country": "US",
"locale": "en-US",
"currency": "USD"
}
'import requests
url = "https://api.anysite.io/api/gog/products/search"
payload = {
"count": 2,
"timeout": 300,
"query": "<string>",
"order": "bestselling",
"product_type": [],
"genres": [],
"tags": [],
"systems": [],
"features": [],
"languages": [],
"release_statuses": [],
"discounted": False,
"free": False,
"price_min": 1,
"price_max": 1,
"release_year_min": 1981,
"release_year_max": 1981,
"country": "US",
"locale": "en-US",
"currency": "USD"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
query: '<string>',
order: 'bestselling',
product_type: [],
genres: [],
tags: [],
systems: [],
features: [],
languages: [],
release_statuses: [],
discounted: false,
free: false,
price_min: 1,
price_max: 1,
release_year_min: 1981,
release_year_max: 1981,
country: 'US',
locale: 'en-US',
currency: 'USD'
})
};
fetch('https://api.anysite.io/api/gog/products/search', 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.anysite.io/api/gog/products/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'query' => '<string>',
'order' => 'bestselling',
'product_type' => [
],
'genres' => [
],
'tags' => [
],
'systems' => [
],
'features' => [
],
'languages' => [
],
'release_statuses' => [
],
'discounted' => false,
'free' => false,
'price_min' => 1,
'price_max' => 1,
'release_year_min' => 1981,
'release_year_max' => 1981,
'country' => 'US',
'locale' => 'en-US',
'currency' => 'USD'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/gog/products/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/gog/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/gog/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"game_title": "<string>",
"@type": "GogSearchProduct",
"slug": "<string>",
"product_type": "<string>",
"developers": [],
"publishers": [],
"operating_systems": [],
"genres": [],
"tags": [],
"features": [],
"price": {
"@type": "GogPrice",
"base_price": 123,
"final_price": 123,
"currency": "<string>",
"discount_percent": 123,
"bonus_wallet_funds": 123
},
"rating": 123,
"review_count": 123,
"release_date": "<string>",
"store_release_date": "<string>",
"image": "<string>",
"cover": "<string>",
"logo": "<string>",
"screenshots": [],
"store_url": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/gog
/gog/products/search
Search the GOG.com catalog with keyword and filters
Price: 5 credits per 48 results
POST
/
api
/
gog
/
products
/
search
/gog/products/search
curl --request POST \
--url https://api.anysite.io/api/gog/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"query": "<string>",
"order": "bestselling",
"product_type": [],
"genres": [],
"tags": [],
"systems": [],
"features": [],
"languages": [],
"release_statuses": [],
"discounted": false,
"free": false,
"price_min": 1,
"price_max": 1,
"release_year_min": 1981,
"release_year_max": 1981,
"country": "US",
"locale": "en-US",
"currency": "USD"
}
'import requests
url = "https://api.anysite.io/api/gog/products/search"
payload = {
"count": 2,
"timeout": 300,
"query": "<string>",
"order": "bestselling",
"product_type": [],
"genres": [],
"tags": [],
"systems": [],
"features": [],
"languages": [],
"release_statuses": [],
"discounted": False,
"free": False,
"price_min": 1,
"price_max": 1,
"release_year_min": 1981,
"release_year_max": 1981,
"country": "US",
"locale": "en-US",
"currency": "USD"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
query: '<string>',
order: 'bestselling',
product_type: [],
genres: [],
tags: [],
systems: [],
features: [],
languages: [],
release_statuses: [],
discounted: false,
free: false,
price_min: 1,
price_max: 1,
release_year_min: 1981,
release_year_max: 1981,
country: 'US',
locale: 'en-US',
currency: 'USD'
})
};
fetch('https://api.anysite.io/api/gog/products/search', 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.anysite.io/api/gog/products/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'query' => '<string>',
'order' => 'bestselling',
'product_type' => [
],
'genres' => [
],
'tags' => [
],
'systems' => [
],
'features' => [
],
'languages' => [
],
'release_statuses' => [
],
'discounted' => false,
'free' => false,
'price_min' => 1,
'price_max' => 1,
'release_year_min' => 1981,
'release_year_max' => 1981,
'country' => 'US',
'locale' => 'en-US',
'currency' => 'USD'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/gog/products/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/gog/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/gog/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"order\": \"bestselling\",\n \"product_type\": [],\n \"genres\": [],\n \"tags\": [],\n \"systems\": [],\n \"features\": [],\n \"languages\": [],\n \"release_statuses\": [],\n \"discounted\": false,\n \"free\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"release_year_min\": 1981,\n \"release_year_max\": 1981,\n \"country\": \"US\",\n \"locale\": \"en-US\",\n \"currency\": \"USD\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"game_title": "<string>",
"@type": "GogSearchProduct",
"slug": "<string>",
"product_type": "<string>",
"developers": [],
"publishers": [],
"operating_systems": [],
"genres": [],
"tags": [],
"features": [],
"price": {
"@type": "GogPrice",
"base_price": 123,
"final_price": 123,
"currency": "<string>",
"discount_percent": 123,
"bonus_wallet_funds": 123
},
"rating": 123,
"review_count": 123,
"release_date": "<string>",
"store_release_date": "<string>",
"image": "<string>",
"cover": "<string>",
"logo": "<string>",
"screenshots": [],
"store_url": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Required range:
20 <= x <= 1500Available options:
bestselling, trending, alphabetical, price_low, price_high, release_new, rating, discount Available options:
game, pack, dlc, extras Available options:
action, adventure, racing, rpg, shooter, simulation, sports, strategy, arcade, building, card-game, combat, economic, educational, fpp, metroidvania, pointandclick, puzzle, realtime, survival, tpp, teamsport, turnbased, visual-novel, chess, comedy, detective, espionage, exploration, fantasy, fighting, hidden-object, historical, horror, jrpg, managerial, modern, mystery, narrative, naval, offroad, open-world, pinball, platformer, programming, rally, rougelike, sandbox, scifi, shoot-em-up, soccer, stealth, tactical, touring, virtuallife Available options:
windows, osx, linux Available options:
single, multi, coop, achievements, leaderboards, controller_support, cloud_saves, overlay, galaxy_multiplayer Available options:
ar, br, cn, cz, da, de, en, es, es_mx, fi, fr, gk, hu, hr, id, it, jp, ko, nl, no, pl, pt, ro, ru, sv, th, tr, uk, vi, zh Available options:
new-arrival, upcoming, early-access Required range:
x >= 0Required range:
x >= 0Required range:
x >= 1980Required range:
x >= 1980Available options:
US, GB, CA, AU, DE, FR, IT, ES, NL, BE, AT, CH, SE, NO, DK, FI, IE, PT, PL, CZ, HU, RO, GR, UA, RU, TR, BR, MX, AR, CL, CO, JP, KR, CN, TW, HK, SG, ID, TH, VN, PH, MY, IN, AE, SA, IL, ZA, NZ Available options:
en-US, en-GB, de-DE, fr-FR, it-IT, es-ES, pt-BR, pl-PL, ru-RU, cs-CZ, hu-HU, ja-JP, ko-KR, zh-Hans, zh-Hant Available options:
USD, EUR, GBP, AUD, CAD, CHF, SEK, NOK, DKK, PLN, CZK, HUF, RUB, BRL, MXN, JPY, KRW, CNY, TRY, INR, ZAR, NZD Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes