Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: getcheapgames Consent API
description: Game key price comparison. All money is integer cents; rankings are on the price each store lists, without the service fee a marketplace adds at checkout.
version: 0.1.0
tags:
- name: consent
paths:
/api/consent:
post:
tags:
- consent
summary: Record Consent
description: 'Keep one cookie decision. 204 and nothing else: the site does not wait.
The body is parsed by hand rather than as a typed parameter so it is read
whatever content type it comes with — a keepalive `fetch` sends JSON, and
`navigator.sendBeacon` with a string sends `text/plain` — and so its size
is capped before it is parsed.
Refused with 403 when the browser says the call came from another site
(`Sec-Fetch-Site`): a page elsewhere must not be able to write consent
records through its visitors'' browsers. Older browsers send no such header
and are let through; the most a forger gets is a row that names a random
id nobody holds, and no visitor''s own answer (in their browser) changes.'
operationId: record_consent_api_consent_post
responses:
'204':
description: Successful Response