Fairly API reference

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

Access and limits

Endpoints

POST /v1/alerts no key needed

Create 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 needed

Confirm a price alert

`token` comes from the confirmation email and works once.

GET /v1/discover/deal-of-the-day no key needed

Deal 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 needed

Games 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.

ParameterInRequiredDescription
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100. Default: no filter.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/discover/leaving/{service} no key needed

Subscription 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.

ParameterInRequiredDescription
servicepathyes
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100. Default: no filter.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/discover/play-with/{service} no key needed

Games 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.

ParameterInRequiredDescription
servicepathyes
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100. Default: no filter.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/discover/popular no key needed

Most 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.

ParameterInRequiredDescription
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100. Default: no filter.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/discover/this-week no key needed

This 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.

ParameterInRequiredDescription
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100. Default: no filter.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/discover/tiers no key needed

Under 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 needed

Games 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.

ParameterInRequiredDescription
amountpathyes
sortquerynodefault, hours_per_dollar, discount, popularity or reviews.
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-100. Default 50.
min_reviewquerynoMinimum positive review percent, 0-100; 0 turns the filter off. Default 75.
ownedquerynoComma-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_ownedquerynoWith `owned`: true leaves out games that are already included in an owned subscription. Default false.

GET /v1/games no key needed

Search games by title

Title search (pg_trgm), first 20 results.

ParameterInRequiredDescription
qqueryno

GET /v1/games/index API key required

Indexable 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.

ParameterInRequiredDescription
pagequerynoPage number from 1 (at most 1000).
page_sizequerynoRows per page, 1-5000. Default 1000.

GET /v1/games/{id} no key needed

Game 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.

ParameterInRequiredDescription
idpathyes
ownedquerynoComma-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 needed

Authorized-store price history, daily minimum list price (before store fees)

ParameterInRequiredDescription
idpathyes
daysqueryno

POST /v1/keys no key needed

Create 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 needed

Source health: last successful fetch, age, consecutive failures and whether it is overdue (no key needed)

POST /v1/newsletter no key needed

Subscribe 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 needed

Confirm the weekly email subscription

`token` comes from the confirmation email and works once.

POST /v1/plan no key needed

Subscription 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 needed

Report 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 needed

Stores with type, fee rules and verification dates

GET /v1/subscriptions no key needed

Subscription 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 needed

Subscription catalog by region

ParameterInRequiredDescription
codepathyes

GET /v1/unsubscribe/{token} no key needed

Unsubscribe 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.

ParameterInRequiredDescription
tokenpathyes

POST /v1/unsubscribe/{token} no key needed

Unsubscribe 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.

ParameterInRequiredDescription
tokenpathyes

Example

curl "https://api.fairly.gg/v1/games/1245620?region=us&currency=USD"

Attribution: Fairly (https://fairly.gg).