Skip to main content
A player’s play history is private to that player, who can read, share or erase it. Creators get counts of signed-in players across their games, not names. Authentication covers each credential, and errors covers the JSON error body.

Read your own play history

GET https://opengame.io/api/v1/audience/passport Authentication: A signed-in browser session. Browser session only; a token is not read. Any signed-in account can read the history, whether or not it has platform access, and the platform flag does not apply. Covers the signed-in account and nobody else.

Parameters

Query

integer
The recap year: four digits, from 1970 to this year in UTC. Defaults to this year. At least 1970.

Request

cURL

Response 200

The passport.

Errors

Erase your play history

DELETE https://opengame.io/api/v1/audience/passport Authentication: A signed-in browser session. Browser session only, from the OpenGame site. Deletes your measured play time, turns off both sharing settings, and takes you out of any overlap a creator has already been shown. Achievements unlocked before now stop appearing. Reviews you wrote stay up without the play time measured beside them, and friends stop seeing the games you played before now. Your scores stay on their boards and in leaderboards.

Request

cURL

Response 200

Erased.

Errors

Choose what your play history shares

PATCH https://opengame.io/api/v1/audience/preferences Authentication: A signed-in browser session. Browser session only, from the OpenGame site. Send both settings. Passport sharing is off for now, so both must be false.

Body

Sent as application/json.
boolean
required
Show lifetime totals on your public profile. Off for now: true is rejected. Example: false.
boolean
required
Include your play in the overlap between games that creators see. Off for now: true is rejected. Example: false.

Request

cURL

Response 200

Saved.

Errors

Count signed-in players across all your games

GET https://opengame.io/api/v1/audience/creator Authentication: A creator token or a signed-in browser session. Requires the read scope on an account-wide token or a browser session; a game-pinned token is rejected. Reads the same complete UTC weeks as game stats, and filters are rejected as filters_removed. Counts only signed-in players whose play was measured, and none smaller than 5. A week’s totals are frozen the first time they are released, so each later read of it answers the same.

Parameters

Query

string
default:"week"
Only week. Always week, one ISO week from Monday to Sunday in UTC. A week is readable 6 hours after it ends, and each read of it counts the same receipts. day, month and all are rejected as invalid_range, and the message names window=week and period.
string
Which ISO week, such as 2026-W43. Defaults to the newest complete week. At most 104 weeks back, and never a week starting before 2026-08-01. A week that starts more than 90 days ago has numbers only if it was read before then; otherwise they are null and freshness.unavailable names why. Example: 2026-W43.

Request

cURL

Response 200

The totals.

Errors

Compare players before and after one of your updates

GET https://opengame.io/api/v1/audience/updates/{versionId} Authentication: A creator token or a signed-in browser session. Same access as the audience totals. Compares signed-in players in the ISO week before and the ISO week after the week a version was published, leaving out the release week itself, so both sides are windows a creator can also read on their own. The week after is counted once it has settled. available is false for a version that was never published, and partial is true when the week after has not settled or recorded history does not cover both weeks.

Parameters

Path

string (uuid)
required
A published version of one of your games. Example: 0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17.

Request

cURL

Response 200

The comparison.

Errors