API Directory › 🎮 Games › CheapShark
No authHTTPSCORS

CheapShark API

Compare PC game prices and deals across many stores.

Category
Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open CheapShark docs ↗

What it does

CheapShark compares PC game prices across ~30 digital stores (Steam, GOG, Humble, Fanatical, Epic and more). Look up current deals, search games by title for their best price and price history, and build redirect links to the cheapest store.

Base URL

https://www.cheapshark.com/api/1.0

Authentication

None. Endpoints: /deals (filterable list), /games?title= or ?ids=, /stores, /deals?id={dealID} (single deal + game info). They ask you to send a descriptive User-Agent.

Code examples

curl
curl -s "https://www.cheapshark.com/api/1.0/deals?storeID=1&upperPrice=15&pageSize=5"
curl -s "https://www.cheapshark.com/api/1.0/games?title=celeste&limit=3"
Python
import requests

r = requests.get("https://www.cheapshark.com/api/1.0/games",
    params={"title": "hades", "limit": 1},
    headers={"User-Agent": "larzos-demo/1.0"}, timeout=10)
g = r.json()[0]
print(g["external"], "cheapest ever $", g["cheapest"])

Rate limits & quotas

No hard published limit, but it is a free service — cache deal lists for a few minutes and send a real User-Agent. /deals paginates with pageNumber and pageSize (max 60) and returns an X-Total-Page-Count header.

Key response fields

(deals) [].title / salePrice / normalPrice / savingsDeal pricing
(deals) [].storeID / dealIDStore id and the id to build a redirect: cheapshark.com/redirect?dealID=
(games) [].cheapest / cheapestDealIDLowest current price and its deal
(game detail) deals[]Every current store price for that game
(stores) [].storeName / imagesStore metadata and logos

Common errors

[] / emptyNo deals or games matched the filters — loosen upperPrice/title.
(stale prices)Prices are cached by CheapShark — verify on the store page before implying a purchase.
429Rare — you are polling too aggressively; add caching.

When to use it (and alternatives)

The pick for PC-game deal trackers, wishlists with price alerts and ‘is it cheaper elsewhere’ features. Combine with RAWG or the Steam Web API for artwork and metadata.

FAQ

How do I send users to buy the game?

Use the redirect endpoint: https://www.cheapshark.com/redirect?dealID={dealID}. It forwards to the correct store page and lets CheapShark track the click.

Can I set up price-drop alerts?

Yes — the /alerts endpoints let you register an email + game + target price. For your own app, poll /games?ids= and compare against stored prices.

Which stores are covered?

About 30 legitimate digital PC stores. Call /stores for the current list with ids and whether each is active.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Games APIs

← Back

More Games APIs · All 196 APIs