Search by

superduperbundle / game-prices

eslamsaker100

PHP client for the free SuperDuperBundle Game Price API: lowest listed PC game key prices by name, Steam app ID or store URL.

v1.0.0 2026-10-22 20:44 UTC

This package is not auto-updated.

Last update: 2026-10-23 19:46:40 UTC


README

composer require superduperbundle/game-prices
use SuperDuperBundle\GamePrices;

$api = new GamePrices();                       // optional: new GamePrices('sdb_your_free_key', 'my-app')
$g = $api->lookup('Elden Ring');               // name, nickname ("rdr2") or typo
if ($g && $g['state'] === 'price') {
    printf("%s: $%.2f at %s (%d stores) %s\n", $g['name'], $g['lowest']['price'], $g['lowest']['store_name'], $g['store_count'], $g['url']);
}
$games = $api->bySteamIds([1245620, 1091500]); // up to 50 per request
$g = $api->byUrl('https://store.steampowered.com/app/1091500/');

The lowest listed PC key price in US dollars across the official stores and key stores SuperDuperBundle compares, with the store, how many stores were compared, when the price was checked and a link to the full comparison. No key needed; a free key raises the rate limit. Errors throw SuperDuperBundle\ApiError (status, errorCode, retryAfter).

WordPress sites: use the plugin instead. Other languages (JavaScript, Python, Go, MCP): game-price-api. Docs and terms: https://superduperbundle.com/tools/api/

Code: MIT. When you show a price, link it to the game's url (attribution required by the API terms). Prices are listed prices; stores set fees and the final total at checkout.