Game Deals
Track game discounts across PC game stores.
Store IDs
| ID | Store |
|---|---|
| 1 | Steam |
| 7 | GOG |
| 11 | Humble Store |
| 25 | Epic Games Store |
| 31 | Blizzard Shop |
Full list: curl -s "https://www.cheapshark.com/api/1.0/stores" | jq '.[] | "\(.storeID): \(.storeName)"'
Commands
Search Game
curl -s "https://www.cheapshark.com/api/1.0/games?title=GAME_NAME&limit=5" | jq -r '.[] | "🎯 \(.external) - 最低价: $\(.cheapest)"'
Hot Deals
# Steam deals under $15
curl -s "https://www.cheapshark.com/api/1.0/deals?storeID=1&upperPrice=15&pageSize=10" | jq -r '.[] | "🔥 \(.title) - $\(.salePrice) (原价 $\(.normalPrice), -\(.savings | tonumber | floor)%%)"'
Filter Options
storeID=1— Steam onlyupperPrice=10— Max price $10sortBy=Savings&desc=1— Sort by discountonSale=1— Only items on sale
Price History
# Get gameID from search first
curl -s "https://www.cheapshark.com/api/1.0/games?id=GAME_ID" | jq '{cheapest: .cheapestPriceEver.price, current: .deals | map({store: .storeID, price: .price})}'
Price Alerts
Web-based only: https://www.cheapshark.com → Search game → "Set Alert" → Enter email + target price