Overview
CheapShark is a free, public price-tracking API that aggregates game deals across digital storefronts including Steam, GOG, Humble, and others. No API key or authentication is required. The bot queries CheapShark once per pipeline run to fetch a raw candidate pool of Steam deals, which then pass through the two-layer hybrid filter. Base URL:https://www.cheapshark.com/api/1.0
Authentication: None
Timeout: 10 seconds (cheapsharkTimeoutMs)
Endpoint: GET /deals
Fetches a paginated list of game deals sorted by deal rating.Query parameters
Storefront to query. Always
"1" for Steam.Maximum sale price in USD. Controlled by the
MAX_PRICE_USD environment variable (default: 60).Sort order for results. Always
"Deal Rating" — CheapShark’s composite deal quality score.Filter to only active sales. Always
1.Number of results to return. Controlled by
DEALS_PAGE_SIZE (default: 60, maximum: 60).Metacritic score is not filtered upstream in this request. The
rulesFilter layer applies
Metacritic and Steam Rating thresholds using OR logic, which requires the full candidate universe
to be present before any score-based filtering.Sample response item
The endpoint returns an array of deal objects. Each item has the following shape:Response fields
Display name of the game.
Metacritic review score as a numeric string (e.g.
"86"). Empty string if no score exists.Steam user review category label, e.g.
"Very Positive", "Overwhelmingly Positive", "Mixed".Percentage of positive Steam reviews as a numeric string (e.g.
"79").Current discounted price in USD (e.g.
"19.99").Original price in USD before the sale (e.g.
"59.99").Discount percentage as a decimal string (e.g.
"66.661110"). Parsed and rounded to an integer in FilteredDeal.savingsPercent.Steam application ID. Used as the canonical identifier throughout the pipeline.
CheapShark deal hash. Used to construct the redirect URL.
URL of the game’s Steam capsule thumbnail image.
Deal redirect URLs
Direct purchase links are constructed from thedealID field: