---
title: "Free Claim"
method: POST
path: "/api/track/free-claim"
tags: ["track"]
---

# Free Claim

`POST /api/track/free-claim`

## Request

- Base URL: `https://api.getcheapgames.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getcheapgames.com/api/track/free-claim`
- Auth: none declared

Count one press of a free "Claim" or "Play now" button, on a card or the game page.

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

Not counted when the browser says the call came from another site
(`Sec-Fetch-Site`), so another page cannot press our buttons through its
visitors. Older browsers send no such header and are let through: the
count is anonymous and the game must exist, so the most a forger gets is
a number on our own dashboard.

## Response `204`

Successful Response

---

[API](https://skmtc.dev/getcheapgames/apis/getcheapgames-api.md) · [All operations](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/revisions/962824bb76da?raw)
