Steam Deals
Deals for a Steam game
This query returns the storefront deals for one Steam game. A filter specifies that game's appid. It includes deals on the game itself and group sales the game belongs to.
dealType is a slug such as weekend, daily, midweek, weeklong, free_weekend, franchise, publisher, publisher_weekend, or developer. priceBase and priceCurrent are US cents. discountPercent is the stored percent, including 0, and is null when no discount was recorded. banner is the Steam capsule text, such as WEEKEND DEAL, and is null when Steam did not show one.
For a deal on the game itself, groupName is null. When the game is a member of a group sale, groupName is that sale's name. The deal type, dates, and banner then come from the sale, and the prices and discount come from the game's membership.
query SteamAppDeals {
steamApps(first: 1, filter: {appid: {equals: 1250410}}) {
edges {
node {
appid
name
deals {
dealType
dealStart
dealEnd
priceBase
priceCurrent
discountPercent
banner
groupName
}
}
}
}
}