Real PC game prices including store fees and payment-method surcharges, the cheapest way to play, all-time lows and Game Pass leave dates. Base URL: https://api.fairly.gg/v1. Version: v1.
Interactive reference (needs JavaScript) · OpenAPI schema · Developers: free key, examples, versioning policy · Plain-text endpoint list with examples
GET endpoint and the MCP server work without a key, limited per IP to 10 requests per minute and 100 per day (UTC).POST /v1/keys or fairly.gg/developers; send it as X-Api-Key. Higher per-minute and daily limits.Retry-After (seconds). Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds until the window resets).{ data, fetched_at, data_age_seconds, stale }. Prices older than 24 hours are flagged stale, older than 72 hours are not returned.https://fairly.gg. Game cover images are not covered by CC BY; they belong to their publishers.https://mcp.fairly.gg (streamable HTTP), the same data as tools for AI assistants.POST /v1/alerts no key neededCreate a price alert (double opt-in)
Sends a confirmation email. Always answers 202 for a valid request, whether or not the address is already registered. `game_id` is a Steam AppID or `igdb:N`; `edition` defaults to `standard`; `region` defaults to the region of `currency`. No API key; limited per IP and per address.
GET /v1/alerts/confirm no key neededConfirm a price alert
`token` comes from the confirmation email and works once.
GET /v1/discover/deal-of-the-day no key neededDeal of the day for the region
One game per region and UTC day, picked on the first request and stored (a game is not picked again for 7 days). Candidates: top-500 popularity, Steam reviews >= 85%, an authorized, fresh, discounted offer measured in the region, real price >= $2 (converted to the requested currency). Score is discount % x ln(1 + 500 / popularity rank). 404 when no game qualifies.
GET /v1/discover/historical-lows no key neededGames at their historical low
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does.
| Parameter | In | Required | Description |
|---|---|---|---|
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100. Default: no filter. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/discover/leaving/{service} no key neededSubscription games leaving within 30 days (game-pass, ps-plus)
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does.
| Parameter | In | Required | Description |
|---|---|---|---|
service | path | yes | |
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100. Default: no filter. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/discover/play-with/{service} no key neededGames you can play with a subscription (game-pass, ps-plus)
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does.
| Parameter | In | Required | Description |
|---|---|---|---|
service | path | yes | |
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100. Default: no filter. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/discover/popular no key neededMost popular games with a usable offer
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does. Popularity order (Steam most played, wishlists, owners), free-to-play games excluded, only games with a fresh offer measured in the region. The list has a fixed short length (the home page chips); `page_size` can only shorten it.
| Parameter | In | Required | Description |
|---|---|---|---|
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100. Default: no filter. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/discover/this-week no key neededThis week's picks
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does.
| Parameter | In | Required | Description |
|---|---|---|---|
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100. Default: no filter. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/discover/tiers no key neededUnder tiers ($3, $5, $10) as applied in the requested currency
`data` lists `usd` (3, 5 or 10) and `threshold` (Money: exactly the USD amount in USD; converted from USD and rounded to a round number in other currencies, e.g. TRY 100/200/400). The same amount filters /discover/under/{amount}. `euros` is a deprecated alias of `usd`.
GET /v1/discover/under/{amount} no key neededGames under $3, $5 or $10 (rounded to a round number in the requested currency)
Parameters: `sort` (default, hours_per_dollar, discount, popularity, reviews), `page` (from 1), `page_size` (1-100, default 50), `min_review` (0-100; 0 turns the filter off). `data` holds `rows`, `total`, `at_low_count`, `best_value`, `page` and `page_size`. On under lists `default` and `hours_per_dollar` order by hours per dollar while any row has a time-to-beat, and by real price (ascending) when none does. `min_review` defaults to 75 here.
| Parameter | In | Required | Description |
|---|---|---|---|
amount | path | yes | |
sort | query | no | default, hours_per_dollar, discount, popularity or reviews. |
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-100. Default 50. |
min_review | query | no | Minimum positive review percent, 0-100; 0 turns the filter off. Default 75. |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
hide_owned | query | no | With `owned`: true leaves out games that are already included in an owned subscription. Default false. |
GET /v1/games no key neededSearch games by title
Title search (pg_trgm), first 20 results.
| Parameter | In | Required | Description |
|---|---|---|---|
q | query | no |
GET /v1/games/index API key requiredIndexable games for the sitemap
Games with at least one active offer or active subscription entry, ordered by id. `id` is the URL id (`730` or `igdb:123`); `updated_at` is the latest offer fetch or subscription addition (sitemap `lastmod`). `page_size` defaults to 1000, max 5000.
| Parameter | In | Required | Description |
|---|---|---|---|
page | query | no | Page number from 1 (at most 1000). |
page_size | query | no | Rows per page, 1-5000. Default 1000. |
GET /v1/games/{id} no key neededGame with offers, subscriptions, cheapest way to play and historical lows
`id` is a Steam AppID (`730`) or an IGDB id (`igdb:123`). `time_to_beat_minutes` is the main story length (IGDB time to beat, hastily); null when unknown, for free-to-play, multiplayer-only and live-service games, or outside 2-100 hours. `is_free_to_play` marks games that cost nothing to start: they have no price and are left out of price lists. SteamSpy playtime is never used as main story. `other_region_offers` lists offers measured in other regions for editions with at most one offer measured in the visitor region; they are labelled with `measured_in` and never enter `cheapest_way` or the ranking.
| Parameter | In | Required | Description |
|---|---|---|---|
id | path | yes | |
owned | query | no | Comma-separated subscription codes the caller already owns (e.g. `gp_pc,psplus_extra`). An owned subscription costs nothing, so a game in its catalog is "already included" instead of a buy recommendation. Nothing is stored. Unknown codes are rejected. |
GET /v1/games/{id}/history no key neededAuthorized-store price history, daily minimum list price (before store fees)
| Parameter | In | Required | Description |
|---|---|---|---|
id | path | yes | |
days | query | no |
POST /v1/keys no key neededCreate a developer API key
Returns the key once, in plain text. Only its SHA-256 hash is stored. Limited to 3 keys per IP per day.
GET /v1/meta/status no key neededSource health: last successful fetch, age, consecutive failures and whether it is overdue (no key needed)
POST /v1/newsletter no key neededSubscribe to the weekly email (double opt-in)
Sends a confirmation email. Always answers 202 for a valid request. No API key; limited per IP and per address.
GET /v1/newsletter/confirm no key neededConfirm the weekly email subscription
`token` comes from the confirmation email and works once.
POST /v1/plan no key neededSubscription rotation plan: the smartest way to play a list of games
Month-by-month plan for up to 30 games: buy at the cheapest measured real price, or play inside a subscription month while the game is in the catalog. Honors weekly hours (default 10, a subscription month is 4 weeks), announced leave dates and the subscriptions you already own (`owned_subscriptions`, marginal cost 0). Totals compare against buying every game at its cheapest measured price, never list price. Games without a reliable main-story length (free to play, live service, multiplayer only, missing) are left out of every time-based calculation and listed in `excluded`. Future months assume a game stays in its catalog unless a leave date is known (`assumes_catalog_stays`). `assumptions` repeats the inputs; every price carries `buy_price_fetched_at`. No API key needed; the keyless per-IP limits apply. Nothing is stored.
POST /v1/reports no key neededReport a wrong price, a wrong match or a dead link
`kind` is wrong_price, wrong_match or dead_link. No API key; limited per IP.
GET /v1/stores no key neededStores with type, fee rules and verification dates
GET /v1/subscriptions no key neededSubscription summaries by region
Price per month in the region, catalog size (all games we list, the same number the site shows everywhere), new this week and leaving within 30 days.
GET /v1/subscriptions/{code}/catalog no key neededSubscription catalog by region
| Parameter | In | Required | Description |
|---|---|---|---|
code | path | yes |
GET /v1/unsubscribe/{token} no key neededUnsubscribe from an alert or the weekly email
GET is the human click. POST is RFC 8058 one-click: the body must be `List-Unsubscribe=One-Click` (application/x-www-form-urlencoded). Both delete the subscription and answer 200 for any well-formed token.
| Parameter | In | Required | Description |
|---|---|---|---|
token | path | yes |
POST /v1/unsubscribe/{token} no key neededUnsubscribe from an alert or the weekly email
GET is the human click. POST is RFC 8058 one-click: the body must be `List-Unsubscribe=One-Click` (application/x-www-form-urlencoded). Both delete the subscription and answer 200 for any well-formed token.
| Parameter | In | Required | Description |
|---|---|---|---|
token | path | yes |
curl "https://api.fairly.gg/v1/games/1245620?region=us¤cy=USD"
Attribution: Fairly (https://fairly.gg).