Read last week’s activity for your published games
GET https://opengame.io/api/v1/analytics/public
Authentication: None.
No sign-in and no parameters. Covers the last complete ISO week, 7 days from Monday 00:00 UTC, frozen the first time it is read, for each published game listed in the gallery. A game with at least one and under 5 players shows null numbers. Games are ordered by a quality score built only from numbers that are shown, then by public ID. Only the 200 includes Access-Control-Allow-Origin: *; errors include no CORS header, so a page on another site sees only a failed request.
Request
cURL
Response 200
The weekly report.Errors
Read report mail and alert settings for one game
GET https://opengame.io/api/v1/analytics/preferences
Authentication: A creator token or a signed-in browser session.
Reads the mail and alert settings for one of your games, with a browser session or a token with the read scope. Defaults come back until the settings are first saved.
Parameters
Query
Request
cURL
Response 200
The settings.Errors
Save report mail and alert settings
PATCH https://opengame.io/api/v1/analytics/preferences
Authentication: A signed-in browser session.
Browser session only. Send each field; this replaces the settings for this game.
Parameters
Query
Body
Sent asapplication/json.
Request
cURL
Response 200
The saved settings.Errors
List saved reports for one game
GET https://opengame.io/api/v1/analytics/reports
Authentication: A creator token or a signed-in browser session.
Newest first, at most 100, from the last 90 days, with a browser session or a token with the read scope. Read one by ID for the numbers.
Parameters
Query
Request
cURL
Response 200
The reports.Errors
Ask for a snapshot report
POST https://opengame.io/api/v1/analytics/reports
Authentication: A signed-in browser session.
Browser session only. Queues a snapshot of the Stats report for this week and funnel, read at the week’s own receipt cutoff. It appears in the report list once it is built. Retrying with the same Idempotency-Key queues it once. Rejected while 20 reports, exports and deliveries for this account are already waiting.
Parameters
Query
Headers
Optional. Without one, each request queues another snapshot. 1 to 128 characters. Matches
^[A-Za-z0-9._:-]+$. Example: report-2026-w42.Body
Sent asapplication/json.
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.Accepted only when empty, for clients written before filters were removed. A filter in it is rejected as
filters_removed.Request
cURL
Response 200
Queued.Errors
Read one saved report
GET https://opengame.io/api/v1/analytics/reports/{id}
Authentication: A creator token or a signed-in browser session.
Reads one saved report and the numbers, with a browser session or a token with the read scope. Reports are kept 90 days. After that the answer is 410 report_expired until the report is deleted, and 404 not_found afterwards.
Parameters
Path
Request
cURL
Response 200
The report and the numbers.Errors
Export a saved report
POST https://opengame.io/api/v1/analytics/reports/{id}/exports
Authentication: A creator token or a signed-in browser session.
Queues a file of the report in the chosen format, with a browser session or a token with the read scope. Asking again for the same report and format answers with the same export and extends how long it is kept. Download it from downloadUrl. Exports are kept 7 days.
Parameters
Path
Body
Sent asapplication/json.
Request
cURL
Response 200
Queued.Errors
Download an export
GET https://opengame.io/api/v1/analytics/exports/{id}
Authentication: A creator token or a signed-in browser session.
With a browser session or a token with the read scope. JSON and CSV come back as an attachment; the JSON export is { snapshotId, window, watermark, insight, report }. Parquet is a redirect to a private download address that works for 60 seconds, or that address as JSON when the request sends Accept: application/json. The 200 and the 307 both include x-content-sha256, the hex SHA-256 of the file, so the bytes can be checked. For Parquet it is the hash of the file at the address, not of the JSON that names it.
Parameters
Path
Request
cURL
Response 200
The file, or for Parquet withAccept: application/json, the address.
Headers
Response 307
Parquet: the private download address.Headers
Errors
List where this game’s reports are sent
GET https://opengame.io/api/v1/analytics/webhooks
Authentication: A signed-in browser session.
Browser session only. A game has at most one endpoint per account, and it is listed even when turned off.
Parameters
Query
Request
cURL
Response 200
The endpoints.Errors
Send this game’s reports to an address
POST https://opengame.io/api/v1/analytics/webhooks
Authentication: A signed-in browser session.
Browser session only. A game has one endpoint per account, and saving turns it on. A new address, an endpoint that was turned off, or rotateSecret: true gets a new signing secret, shown in this answer and never again. Saving the same address otherwise keeps the secret your receiver already has and answers signingSecret: null.
Parameters
Query
Body
Sent asapplication/json.
A public
https:// address with no port, credentials or fragment, at most 2048 bytes. The name must resolve only to public addresses. Example: https://hooks.example.com/opengame.Request
cURL
Response 200
The endpoint, and the secret when it is new.Errors
Stop sending reports to an endpoint
DELETE https://opengame.io/api/v1/analytics/webhooks/{id}
Authentication: A signed-in browser session.
Browser session only. The endpoint is turned off, not deleted, so the delivery history stays readable. Turning off an endpoint that is already off answers the same.
Parameters
Path
Request
cURL
Response 200
Turned off.Errors
List recent webhook deliveries for one game
GET https://opengame.io/api/v1/analytics/deliveries
Authentication: A signed-in browser session.
Browser session only. Newest first, at most 100.
Parameters
Query
Request
cURL
Response 200
The deliveries.Errors
Read one delivery and the attempts
GET https://opengame.io/api/v1/analytics/deliveries/{id}
Authentication: A signed-in browser session.
Browser session only. A delivery is tried up to 8 times. This answer leaves out next_attempt_at.
Parameters
Path
Request
cURL
Response 200
The delivery.Errors
Send a delivery again
POST https://opengame.io/api/v1/analytics/deliveries/{id}/replay
Authentication: A signed-in browser session.
Browser session only. Queues a new delivery of the same report, which must still be kept, to an endpoint that is turned on. A report that already reached the webhook is not sent again, and asking while one is on the way answers with that one. Replaying to an endpoint that is turned off answers 503 today.
Parameters
Path
Request
cURL
Response 200
Queued, or already on the way.Errors
Read report changes since a cursor
GET https://opengame.io/api/v1/analytics/drains
Authentication: A creator token or a signed-in browser session.
For keeping a copy of this game’s reports in sync, with a browser session or a token with the read scope. Each page holds up to 20 changes in order. Start without cursor, then pass nextCursor until hasMore is false; keep the last cursor to read later changes. A cursor works only for the game, from and to it was issued for. Changes older than the kept history end the cursor with cursor_expired, and a new drain starts again from what is kept.
Parameters
Query
Only changes to reports of weeks starting on or after this day. Each change is filed under the week’s Monday. Example:
2026-10-14.Request
cURL
Response 200
A page of changes.Errors
List drain batches the webhook did not accept
GET https://opengame.io/api/v1/analytics/drain-batches
Authentication: A signed-in browser session.
Browser session only. Newest first, at most 100. A batch with blocking true has stopped this game’s feed: nothing newer is sent until it is delivered. Send it again with POST /api/v1/analytics/drains/{id}/replay.
Parameters
Query
Request
cURL
Response 200
The failed batches.Errors
Read one drain batch and the attempts
GET https://opengame.io/api/v1/analytics/drains/{id}
Authentication: A creator token or a signed-in browser session.
Reads one batch of drain changes sent to this game’s webhook, in any state, with each attempt. Takes a browser session or a token with the read scope.
Parameters
Path
Request
cURL
Response 200
The batch.Errors
Send a drain batch again
POST https://opengame.io/api/v1/analytics/drains/{id}/replay
Authentication: A signed-in browser session.
Browser session only. Queues the same changes to the webhook again. Changes that already reached it are not sent again, and asking while they are on their way answers with that batch.
Parameters
Path
Request
cURL