composer require superduperbundle/game-pricesuse 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.