Home Products Changelog

More Information

Is there a GOG DB API?

All data stored is exposed at /data and can be requested using plain HTTP. GOG DB uses plain JSON files, sometimes gziped, to store data and an SQLite index for faster load times and they're all in that directory. If you want to operate on the full dataset, either use the index file or download a dump from /backups_v3. 100 small requests already generate a lot more server load than a single big one, so please use the backup downloads whenever possible. There is no documentation, read the source code to figure out what something means or ask me directly.

Can I scrape the website for data?

Please don't! All the collected data is available in machine readable JSON format, see "Is there a GOG DB API?". There is no hidden data that is only accessible through the website, so you would only be wasting server resources.

Which APIs does GOG DB monitor?

GOG DB uses the following GOG APIs calls to collect its data:

https://www.gog.com/games/ajax/filtered?mediaType=game&page={page_num}&sort=popularity
https://api.gog.com/products/prices?ids={ids_str}&countryCode={country_code}
https://api.gog.com/products/{prod_id}?locale=en_US&expand=downloads,screenshots,videos,changelog
https://api.gog.com/v2/games/{prod_id}?locale=en-US
https://content-system.gog.com/products/{prod_id}/os/{system}/builds?generation=2
https://cdn.gog.com/content-system/v1/manifests/{prod_id}/{system}/{legacy_build_id}/repository.json
https://cdn.gog.com/content-system/v2/meta/{meta_id}

Can you help me with GOG related programming?

Probably, feel free to contact me and tell me what you're trying to achieve and I will try my best to help.

Contact

If you found bugs or want to request a feature, you can contact me on Discord (Yepoleb#6459), Steam or post them in the GOG community topic.

Source code

Source code is hosted on Github.