{"docsOrigin":"https://docs.marked.gg","apiOrigin":"https://api.marked.gg","apiBaseUrl":"https://api.marked.gg/v3","title":"Marked.gg API reference","brand":{"brandName":"Marked.gg","accent":"#ff1a1a","logoHash":null},"revision":1,"cacheControl":"no-store","operations":[{"id":"discords","method":"GET","path":"/v3/discords/{id}","title":"Flagged servers of a user","summary":"Which flagged Discord servers somebody is in, and what roles they hold there.","description":"The core lookup. Give it a Discord user id and it answers with every flagged server that user is a member of, including the roles they hold in each one.","requiresAuth":true,"scope":"Discord","permission":"discord","cost":"1","params":[{"name":"id","type":"string","required":true,"description":"Discord user id — 5 to 20 digits, no leading zero"},{"name":"games","type":"string","required":false,"description":"Only return entries belonging to one of these games. Leave it out for everything."}],"response":{"id":"123456789012345678","username":"exampleuser","avatarUrl":"https://cdn.discordapp.com/avatars/123456789012345678/abc.png","servers":[{"serverId":"1153737141403254794","serverName":"Example Cheat Hub","iconUrl":"https://cdn.discordapp.com/icons/1153737141403254794/def.png?size=1024","lastSeenAt":"2026-09-13T08:42:10.000Z","roles":[{"roleId":"1153737141403254800","roleName":"Customer","lastSeenAt":"2026-09-13T08:42:10.000Z"}],"games":["fivem"]}]},"answers":[{"status":404,"when":"we hold no flagged servers for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no discord permission","body":{"error":{"code":"no_permission","message":"This key may not read discord."}}}],"notes":["servers[].games is every game the server is mapped to, sorted, and empty only when it is mapped to none. A games filter picks the servers; it does not shorten this list.","servers[] is the whole list. lastSeenAt is when we last saw them in that server, or holding that role; a role is never later than its server. null when no time is known.","While they are still in a server it only moves when one of our bots covers it. Leaving while offline can take about 15 days to show.","A games filter reduces servers[]; if nothing survives, the answer is 404.","The avatar and each server icon come with it. v1 and v2 split those across two calls."],"testable":{"placeholder":"123456789012345678","hint":"A Discord user id"},"cached":true},{"id":"cheater","method":"GET","path":"/v3/cheater/{id}","title":"Cheat record","summary":"Everything recorded against a user, with one entry per detection.","description":"found[] is the short list of sources. details[] is the long form: one chronological entry per detection, each saying where it came from.","requiresAuth":true,"scope":"Cheater","permission":"cheater","cost":"1","params":[{"name":"id","type":"string","required":true,"description":"Discord user id — 5 to 20 digits, no leading zero"},{"name":"games","type":"string","required":false,"description":"Only return entries belonging to one of these games. Leave it out for everything."}],"response":{"id":"123456789012345678","found":["Example Cheat Hub"],"details":[{"reason":"aimbot","type":"submit","server":"Example Cheat Hub","games":["fivem"],"found":"manuel - aimbot","detectedAt":"2026-08-14T15:22:29.777Z"}]},"answers":[{"status":404,"when":"we hold no cheat record for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no cheater permission","body":{"error":{"code":"no_permission","message":"This key may not read cheater."}}}],"notes":["detectedAt is when the detection was recorded. It is not when they were last seen."],"testable":{"placeholder":"123456789012345678","hint":"A Discord user id"},"cached":true},{"id":"identifier","method":"GET","path":"/v3/identifier/{identifier}","title":"Linked identifiers","summary":"Every identifier we have tied to the same person.","description":"Give it one identifier as type:value and it answers with every other identifier linked to it — other Discord accounts, Steam ids, Rockstar licences.","requiresAuth":true,"scope":"Identifier","permission":"identifier","cost":"1","params":[{"name":"identifier","type":"string","required":true,"description":"type:value — discord:, steam:, license:, license2:, fivem:, xbox:, live: (steamid: and xbl: are accepted too)"}],"response":{"identifiers":{"discord":["123456789012345678"],"steam":["1100001abcdef01"],"license":["a3dc0f1e2b3c4d5e6f708192a3b4c5d6e7f80912"]}},"answers":[{"status":400,"when":"the prefix is not an identifier type we know","body":{"error":{"code":"bad_request","message":"Unknown identifier type."}}},{"status":404,"when":"we hold no identifier for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no identifier permission","body":{"error":{"code":"no_permission","message":"This key may not read identifier."}}}],"notes":["Only the types we actually hold appear. An unknown type prefix is a 400."],"testable":{"placeholder":"discord:123456789012345678","hint":"type:value"},"cached":true},{"id":"gamedata","method":"GET","path":"/v3/gamedata","title":"Game Data","summary":"Source-scoped game statistics for a Discord or Steam identifier.","description":"Returns a raw array of game groups. Each data object contains version-one records, source states and connection evidence. This separate lookup does not change Check User or cheat findings.","requiresAuth":true,"scope":"Identifier","permission":"identifier","cost":"1","params":[{"name":"identifier","type":"string","required":true,"description":"Discord ID, SteamID64 or FiveM steam:hex. Explicit discord:, steamid: and steam64: prefixes are accepted. A bare valid SteamID64 is treated as Steam; use discord: to resolve numeric ambiguity."},{"name":"game","type":"string","required":false,"description":"Optional comma-separated game keys (games is also accepted). Empty means all known or retained games; unknown keys return an empty array without external calls."}],"response":[{"game":"wardogs","data":{"version":1,"identifier":{"type":"steamid","value":"76561197960265729"},"records":[{"sourceId":"community","sourceName":"Example community","sourceUrl":"https://example.com/stats","gameId":"wardogs","gameName":"WARDOGS","playerId":"76561197960265729","scope":{"kind":"community","id":"example","label":"Example community"},"period":{"from":null,"to":null},"metrics":{"playSeconds":45240,"kills":42,"deaths":0,"kd":null},"observedAt":"2026-11-01T12:00:00.000Z","updatedAt":"2026-11-01T12:00:00.000Z","stale":false,"lastSeenAt":null,"measurement":null}],"sources":[{"id":"community","name":"Example community","gameId":"wardogs","url":"https://example.com/stats","status":"ok","checkedAt":"2026-11-01T12:00:00.000Z","lastSuccessAt":"2026-11-01T12:00:00.000Z","import":null,"error":null}],"connections":{"status":"unknown","checkedAt":null,"links":[]}}}],"answers":[{"status":403,"when":"your key has no identifier permission","body":{"error":{"code":"no_permission","message":"This key may not read identifier."}}},{"status":400,"when":"identifier or game query is invalid","body":{"error":{"code":"bad_request","message":"Invalid Game Data query."}}},{"status":429,"when":"the quota for this window is spent, or a usage-based key has nothing left until you top up in your panel; for a per-minute rate limit, wait for Retry-After","body":{"error":{"code":"quota_exceeded","message":"Usage quota reached."}}}],"notes":["GET /v3/gamedata/{identifier} is a compatible alias. Use either game or games, not both.","Records retain separate source, scope and period. Never add overlapping providers into a global total. Missing metrics are null; deaths of zero leave K/D null.","measurement says how playSeconds was obtained: reported-session is measured from the join and leave times a FiveM server reported through the FiveM server resource, sampled-presence counts the time between bounded presence samples, and null is a value a statistics provider supplied.","Source status distinguishes not_found, not_configured, partial, error and stale. Stored data survives source outages and retains last-success timestamps.","Only explicit verified OAuth evidence establishes a verified Discord–Steam connection. Server identifiers and legacy associations remain observed evidence. No scan login scope is added."],"testable":{"placeholder":"steamid:76561197960265729","hint":"Discord ID, SteamID64 or steam:hex; explicit prefixes resolve ambiguity"}},{"id":"tickets","method":"GET","path":"/v3/tickets/{id}","title":"Support tickets","summary":"Tickets this user opened in servers we track.","description":"One entry per ticket, with the server it was opened in and the channels it ran through.","requiresAuth":true,"scope":"Ticket","permission":"ticket","cost":"1","params":[{"name":"id","type":"string","required":true,"description":"Discord user id — 5 to 20 digits, no leading zero"},{"name":"games","type":"string","required":false,"description":"Only return entries belonging to one of these games. Leave it out for everything."}],"response":{"id":"123456789012345678","tickets":[{"id":"1486400747816882260","guildId":"1453858127429763114","guildName":"Example Support","games":["fivem"],"channelId":"1486400747816882260","channelNames":["ticket-0007"],"createdAt":"2026-07-02T10:00:00.000Z"}]},"answers":[{"status":404,"when":"we hold no tickets for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no ticket permission","body":{"error":{"code":"no_permission","message":"This key may not read ticket."}}}],"notes":["tickets[].games is every game the ticket’s server is mapped to, sorted, and empty only when it is mapped to none. A games filter picks the tickets; it does not shorten this list."],"testable":{"placeholder":"123456789012345678","hint":"A Discord user id"},"cached":true},{"id":"messages","method":"GET","path":"/v3/messages/{id}","title":"Stored messages","summary":"What this user wrote in the channels we log.","description":"Every message we hold, newest first, plus a link to the viewer so you can hand a human the readable version.","requiresAuth":true,"scope":"Messages","permission":"messages","cost":"1","params":[{"name":"id","type":"string","required":true,"description":"Discord user id — 5 to 20 digits, no leading zero"},{"name":"games","type":"string","required":false,"description":"Only return entries belonging to one of these games. Leave it out for everything."},{"name":"limit","type":"number","required":false,"description":"Only this many, newest first. Leave it out for all of them. Max 1000: a bigger number is clamped to 1000, and anything that is not a positive number falls back to 1000."},{"name":"cursor","type":"string","required":false,"description":"pagination.nextCursor from the previous page. A cursor that cannot be decoded is ignored, and you get the first page."}],"response":{"id":"123456789012345678","url":"https://viewer.example.com/messages/AbC123","messages":[{"id":"1507770895970865357","serverId":"957138191582892032","serverName":"Example Hub","games":["fivem"],"channelId":"957138191582892032","channelName":"chat","content":"gg","attachments":["https://cdn.example/att.png"],"timestamp":"2026-05-23T15:43:14.628Z"}],"pagination":{"limit":"all","nextCursor":null}},"answers":[{"status":404,"when":"we hold no messages for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no messages permission","body":{"error":{"code":"no_permission","message":"This key may not read messages."}}}],"notes":["messages[].games is every game the message’s server is mapped to, sorted, and empty only when it is mapped to none. A games filter picks the messages; it does not shorten this list.","Newest first. Attachments are their own array — v1 and v2 glued them onto the end of content, and they no longer are.","Without a limit you get everything, up to 100000 in one answer. ?limit=all says the same thing out loud.","Past that ceiling the answer carries a nextCursor like any other page, so follow it and nothing is lost. A non-null nextCursor is the only signal that more exists — never the absence of a limit.","The viewer link is made fresh on every call and stops working after about a day. Fetch it again rather than storing it.","A follow-up page whose cursor sits at the end is a 200 with an empty list and a null url, not a 404.","A limit above 1000 is clamped to 1000. A limit that is not a positive number falls back to 1000. A cursor that cannot be decoded is ignored."],"testable":{"placeholder":"123456789012345678","hint":"A Discord user id"},"cached":true},{"id":"expose","method":"GET","path":"/v3/expose/{id}","title":"Expose network mentions","summary":"Where this user is named in the expose channels we watch.","description":"One entry per message that mentions them, with the server, the channel and everyone else named in it.","requiresAuth":true,"scope":"Expose","permission":"expose","cost":"1","params":[{"name":"id","type":"string","required":true,"description":"Discord user id — 5 to 20 digits, no leading zero"},{"name":"games","type":"string","required":false,"description":"Only return entries belonging to one of these games. Leave it out for everything."}],"response":{"id":"123456789012345678","entries":[{"id":"1399887770469535884","guildId":"1153737141403254794","guildName":"Example Hub","channelId":"957138191582892032","channelName":"logs","content":"seen cheating","attachments":[],"users":["123456789012345678"],"games":["fivem"],"timestamp":"2026-01-06T21:46:40.000Z"}]},"answers":[{"status":404,"when":"we hold no mentions for that id, or the games filter left nothing","body":{"error":{"code":"not_found","message":"Nothing on record for that id."}}},{"status":403,"when":"your key has no expose permission","body":{"error":{"code":"no_permission","message":"This key may not read expose."}}}],"notes":["A record that stores a single user instead of a list is reported as a one-element users list, so it is never dropped. The same record is counted in /v3/stats."],"testable":{"placeholder":"123456789012345678","hint":"A Discord user id"},"cached":true},{"id":"masscheck","method":"POST","path":"/v3/masscheck","title":"Many ids at once","summary":"Run several checks over a list of ids in one call.","description":"The batch form of the lookups above. Ask for the checks you want, get one result object per id. Each check is gated by its own permission — the ones your key may not read are listed under skipped, and you are not billed for them.","requiresAuth":true,"scope":"Any valid key","permission":null,"cost":"ids × delivered checks","params":[{"name":"ids","type":"string[]","required":true,"description":"Discord user ids, at most 1000"},{"name":"checks","type":"object","required":true,"description":"discord, identifier, cheater, ticket, messages, expose, gamedata — set the ones you want to true"},{"name":"games","type":"string[]","required":false,"description":"The same filter as the single lookups."},{"name":"messageLimit","type":"number","required":false,"description":"Cap the per-id message list. Leave it out and you get all of them — so you do for a value below 1, or one that is not a number or \"all\"."}],"exampleBody":{"ids":["123456789012345678","234567890123456789"],"checks":{"discord":true,"messages":true,"cheater":true},"games":["fivem"]},"response":{"cost":6,"count":2,"requested":["discord","messages","cheater"],"delivered":["discord","messages","cheater"],"skipped":[],"results":{"123456789012345678":{"discord":[{"serverId":"1153737141403254794","serverName":"Example Cheat Hub","iconUrl":"https://cdn.discordapp.com/icons/1153737141403254794/def.png","lastSeenAt":"2026-09-13T08:42:10.000Z","roles":[],"games":["fivem"]}],"messages":{"url":"https://viewer.example.com/messages/AbC123","messages":[],"truncated":false},"cheater":{"found":[],"details":[]}},"234567890123456789":{"discord":[],"messages":null,"cheater":null}}},"answers":[{"status":400,"when":"ids is empty or over 1000, checks is not an object or names no check, games is not a list of strings, or X-Use-Cache is neither true nor false","body":{"error":{"code":"bad_request","message":"ids must be a non-empty array."}}},{"status":429,"when":"the quota for this window is spent, or a usage-based key has nothing left until you top up","body":{"error":{"code":"quota_exceeded","message":"Usage quota reached."}}}],"notes":["gamedata is opt-in: checks.gamedata=true returns the same raw [{game,data}] array for each Discord ID and uses the identifier permission. Existing default checks do not include it. Game Data is never added to a normal Check User or scan. Game Data units bypass the response cache so privacy is checked again.","cost is what this call actually billed. It is the same number the X-Request-Cost header carries.","An id we hold nothing for still gets an entry, not a 404 — the call itself succeeded. Checks that answer with a list come back empty; checks that answer with an object come back null.","An id that is not a valid Discord id is not an error here: it is answered like an id with no data, without a lookup. It still counts towards count and cost.","The entries carry the same games arrays as the single lookups: servers in discord, tickets, messages and the details of cheater.","Set messageLimit and truncated tells you whether more exist; fetch the rest from /v3/messages/:id. A messageLimit below 1, or one that is not a number or \"all\", means all.","One batch loads at most 500000 message documents in total, across every id, and no single id more than 100000. Ids are worked on side by side, so an id that arrives while the budget is lent out waits for it. Only when the budget is really used up is that id’s truncated true: a cut-off id is never mistaken for one with nothing.","With the response cache on, only the id × check units that are not already known are computed and billed, so a repeated batch can cost less, or nothing. See Caching."],"cached":true},{"id":"games","method":"GET","path":"/v3/games","title":"Game keys","summary":"The values the games filter accepts.","description":"Every key you may put in ?games=. The generic_ ones come first, then the rest ranked by how many tracked servers use them.","requiresAuth":true,"scope":"Any valid key","permission":null,"cost":"1","params":[{"name":"limit","type":"number","required":false,"description":"Only the top n, or all. Leave it out for all of them; a value that is not a positive number returns all of them too."}],"response":{"count":34,"total":34,"games":["generic_bypass","generic_cleaner","fivem","rust"]}},{"id":"info","method":"GET","path":"/v3/info","title":"About your key","summary":"What your key may do, and how much of it you have left.","description":"Everything about the key you are calling with. The key comes from the header and is never echoed back. This call is free.","requiresAuth":true,"scope":"Any valid key","permission":null,"cost":"0","params":[],"response":{"keyId":"example-server-bf91d9","master":false,"perms":{"discord":true,"identifier":true,"cheater":false,"ticket":false,"messages":true,"expose":false},"paused":false,"expiresAt":null,"rateLimit":"unlimited","quota":{"limit":100000,"used":2037,"remaining":97963,"windowMs":604800000,"resetAt":"2026-09-01T00:00:00.000Z"},"cache":{"useCache":false}},"notes":["quota is null when your key has no usage quota.","It costs nothing, so the usage quota never applies to it. The only 429 it can answer with is rate_limited, the per-minute limit.","It is never cached: it shows your live quota.","On a usage-based key the quota is your prepaid requests and never resets: limit is everything you have bought, remaining is what is left, and resetAt lies far in the future. Topping up in your panel raises limit."]},{"id":"stats","method":"GET","path":"/v3/stats","title":"What the database holds","summary":"Totals across the whole dataset, or across some games.","description":"Aggregate counts, for all games or only for the games you name in ?games=. Nothing here is about any one account.","requiresAuth":true,"scope":"Any valid key","permission":null,"cost":"1","params":[{"name":"games","type":"string","required":false,"description":"Count only the figures of these games, comma separated (GET /v3/games lists the names). Several games are a union. Leave it out for all games."}],"response":{"discords":{"users":7715965},"servers":{"count":3213},"messages":{"count":34127546,"users":1168678},"identifiers":{"count":2598224,"users":635861},"cheaters":{"count":298227},"tickets":{"count":1255669,"users":441705},"expose":{"count":4128,"users":2971},"anticheat":{"bans":335405}},"notes":["One group per subsystem. Inside a group, count is always how many records and users always how many distinct Discord accounts appear in them.","Somebody tracked in three subsystems is counted once per group, never deduplicated across groups. The groups overlap on purpose, so do not add them up.","discords carries only users, because its records are accounts. servers carries only a count, because no accounts are involved. anticheat carries bans.","Every group and every field in it is always there and always a number. There is no null anywhere in this answer.","A metric is 0 when it is zero, or when nothing has been counted yet, right after a restart. Once a figure has been counted you keep getting the last one until a newer one replaces it.","Values come from a 60 second cache, so two calls within a minute return the same numbers.","With ?games=fivem,rust the figures that depend on servers are counted over the servers of those games only. Several games are a union: a user, message, ticket or cheater record counts when it belongs to any of them, and only once.","Per group with games: discords.users are users on at least one server of the games, servers.count the tracked servers among them, messages and tickets those on these servers with their users, cheaters.count the records with a detail on such a server or naming one of the games. identifiers are never filtered. expose and anticheat belong to FiveM: their normal figures when fivem is among the games, otherwise 0.","A name that is no game selects nothing, so those figures are 0 (still a 200). More than 200 games, or a games value that is not a list of names, is a 400. Spaces, repeats and the order of the games do not matter.","Each combination is counted from memory and kept for 30 seconds. Right after a restart of the API, while its memory copies are being built, a filter that selects something answers 503 with Retry-After: 30. That answer is not billed; ask again.","The figures are those of the data your key can access, with or without a filter."]},{"id":"health","method":"GET","path":"/v3/health","title":"Is it up","summary":"A liveness check that needs no key.","description":"The only endpoint that takes no key. It costs nothing, is not counted, and is not cached.","requiresAuth":false,"scope":null,"permission":null,"cost":"0","params":[],"response":{"status":"ok"}}],"supporting":[{"id":"errors","title":"Errors","content":["Errors use an error envelope with a code, message and requestId.","400 means invalid input. 401 and 403 mean authentication or permission was refused. 429 means a rate or usage limit was reached.","A completed 404 lookup means no matching data and may be billed. A failed or degraded lookup is never evidence that an account is clean."]},{"id":"limits","title":"Limits and billing","content":["Rate protection and billable usage are separate. The X-Request-Cost header reports the actual billed units.","Completed ordinary 404 lookups are billed. Cache hits cost zero and still require current authorization and rate protection.","A batch is charged for its delivered billable units. Skipped checks and failed work do not consume purchased units.","Purchased request inventory requires explicit allocation to an access. A credit top-up alone does not allocate requests."]},{"id":"shapes","title":"Response shapes","content":["Keep Discord identifiers as strings, including in JSON. Converting them to numbers can change their value.","null means no value. An empty list is an array with no entries. Timestamps use ISO 8601.","Only delivered checks are present in a batch result. A missing check is different from a completed check with no matching data."]},{"id":"games-filter","title":"Games filter","content":["Lookup game filters use a comma-separated games query parameter. Game Data accepts game (or games) with its identifier query.","The batch operation accepts games as an array of names in its JSON body.","Game filters select matching records and do not shorten the games arrays contained in a returned record."]}],"navigation":[{"id":"discords","title":"Flagged servers of a user"},{"id":"cheater","title":"Cheat record"},{"id":"identifier","title":"Linked identifiers"},{"id":"gamedata","title":"Game Data"},{"id":"tickets","title":"Support tickets"},{"id":"messages","title":"Stored messages"},{"id":"expose","title":"Expose network mentions"},{"id":"masscheck","title":"Many ids at once"},{"id":"games","title":"Game keys"},{"id":"info","title":"About your key"},{"id":"stats","title":"What the database holds"},{"id":"health","title":"Is it up"},{"id":"errors","title":"Errors"},{"id":"limits","title":"Limits and billing"},{"id":"shapes","title":"Response shapes"},{"id":"games-filter","title":"Games filter"}],"search":[{"id":"discords","text":"Flagged servers of a user Which flagged Discord servers somebody is in, and what roles they hold there. The core lookup. Give it a Discord user id and it answers with every flagged server that user is a member of, including the roles they hold in each one."},{"id":"cheater","text":"Cheat record Everything recorded against a user, with one entry per detection. found[] is the short list of sources. details[] is the long form: one chronological entry per detection, each saying where it came from."},{"id":"identifier","text":"Linked identifiers Every identifier we have tied to the same person. Give it one identifier as type:value and it answers with every other identifier linked to it — other Discord accounts, Steam ids, Rockstar licences."},{"id":"gamedata","text":"Game Data Source-scoped game statistics for a Discord or Steam identifier. Returns a raw array of game groups. Each data object contains version-one records, source states and connection evidence. This separate lookup does not change Check User or cheat findings."},{"id":"tickets","text":"Support tickets Tickets this user opened in servers we track. One entry per ticket, with the server it was opened in and the channels it ran through."},{"id":"messages","text":"Stored messages What this user wrote in the channels we log. Every message we hold, newest first, plus a link to the viewer so you can hand a human the readable version."},{"id":"expose","text":"Expose network mentions Where this user is named in the expose channels we watch. One entry per message that mentions them, with the server, the channel and everyone else named in it."},{"id":"masscheck","text":"Many ids at once Run several checks over a list of ids in one call. The batch form of the lookups above. Ask for the checks you want, get one result object per id. Each check is gated by its own permission — the ones your key may not read are listed under skipped, and you are not billed for them."},{"id":"games","text":"Game keys The values the games filter accepts. Every key you may put in ?games=. The generic_ ones come first, then the rest ranked by how many tracked servers use them."},{"id":"info","text":"About your key What your key may do, and how much of it you have left. Everything about the key you are calling with. The key comes from the header and is never echoed back. This call is free."},{"id":"stats","text":"What the database holds Totals across the whole dataset, or across some games. Aggregate counts, for all games or only for the games you name in ?games=. Nothing here is about any one account."},{"id":"health","text":"Is it up A liveness check that needs no key. The only endpoint that takes no key. It costs nothing, is not counted, and is not cached."},{"id":"errors","text":"Errors Errors use an error envelope with a code, message and requestId. 400 means invalid input. 401 and 403 mean authentication or permission was refused. 429 means a rate or usage limit was reached. A completed 404 lookup means no matching data and may be billed. A failed or degraded lookup is never evidence that an account is clean."},{"id":"limits","text":"Limits and billing Rate protection and billable usage are separate. The X-Request-Cost header reports the actual billed units. Completed ordinary 404 lookups are billed. Cache hits cost zero and still require current authorization and rate protection. A batch is charged for its delivered billable units. Skipped checks and failed work do not consume purchased units. Purchased request inventory requires explicit allocation to an access. A credit top-up alone does not allocate requests."},{"id":"shapes","text":"Response shapes Keep Discord identifiers as strings, including in JSON. Converting them to numbers can change their value. null means no value. An empty list is an array with no entries. Timestamps use ISO 8601. Only delivered checks are present in a batch result. A missing check is different from a completed check with no matching data."},{"id":"games-filter","text":"Games filter Lookup game filters use a comma-separated games query parameter. Game Data accepts game (or games) with its identifier query. The batch operation accepts games as an array of names in its JSON body. Game filters select matching records and do not shorten the games arrays contained in a returned record."}],"examples":[{"operationId":"discords","call":{"url":"https://api.marked.gg/v3/discords/123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/discords/123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"cheater","call":{"url":"https://api.marked.gg/v3/cheater/123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/cheater/123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"identifier","call":{"url":"https://api.marked.gg/v3/identifier/discord%3A123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/identifier/discord%3A123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"gamedata","call":{"url":"https://api.marked.gg/v3/gamedata?identifier=discord%3A123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/gamedata?identifier=discord%3A123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"tickets","call":{"url":"https://api.marked.gg/v3/tickets/123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/tickets/123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"messages","call":{"url":"https://api.marked.gg/v3/messages/123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/messages/123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"expose","call":{"url":"https://api.marked.gg/v3/expose/123456789012345678","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/expose/123456789012345678' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"masscheck","call":{"url":"https://api.marked.gg/v3/masscheck","method":"POST","body":{"ids":["123456789012345678"],"checks":{"discord":true},"games":["fivem"]},"authHeader":true,"cacheHeader":null},"curl":"curl -X POST 'https://api.marked.gg/v3/masscheck' \\\n  -H 'Authorization: Bearer YOUR_API_KEY' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"ids\":[\"123456789012345678\"],\"checks\":{\"discord\":true},\"games\":[\"fivem\"]}'"},{"operationId":"games","call":{"url":"https://api.marked.gg/v3/games","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/games' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"info","call":{"url":"https://api.marked.gg/v3/info","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/info' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"stats","call":{"url":"https://api.marked.gg/v3/stats","method":"GET","body":null,"authHeader":true,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/stats' \\\n  -H 'Authorization: Bearer YOUR_API_KEY'"},{"operationId":"health","call":{"url":"https://api.marked.gg/v3/health","method":"GET","body":null,"authHeader":false,"cacheHeader":null},"curl":"curl -X GET 'https://api.marked.gg/v3/health'"}],"tester":{"operations":[{"id":"discords","method":"GET","path":"/v3/discords/{id}"},{"id":"cheater","method":"GET","path":"/v3/cheater/{id}"},{"id":"identifier","method":"GET","path":"/v3/identifier/{identifier}"},{"id":"gamedata","method":"GET","path":"/v3/gamedata"},{"id":"tickets","method":"GET","path":"/v3/tickets/{id}"},{"id":"messages","method":"GET","path":"/v3/messages/{id}"},{"id":"expose","method":"GET","path":"/v3/expose/{id}"},{"id":"masscheck","method":"POST","path":"/v3/masscheck"},{"id":"games","method":"GET","path":"/v3/games"},{"id":"info","method":"GET","path":"/v3/info"},{"id":"stats","method":"GET","path":"/v3/stats"},{"id":"health","method":"GET","path":"/v3/health"}]},"openapi":{"openapi":"3.1.0","info":{"title":"Marked.gg API reference","version":"3"},"servers":[{"url":"https://api.marked.gg"}],"paths":{"/v3/discords/{id}":{"get":{"description":"The servers a Discord user was seen in, with roles and games, the user's own avatar and every server's icon. Optional `?games=` filter.","operationId":"discords","parameters":[{"description":"The Discord id to look up. Anything else is `400 bad_request`.","in":"path","name":"id","required":true,"schema":{"examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"}},{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"id":"137524095053987840","username":"exampleuser","avatarUrl":"https://cdn.discordapp.com/avatars/137524095053987840/abc.png","servers":[{"serverId":"111111111111111111","serverName":"Example Cheat Hub","iconUrl":"https://cdn.discordapp.com/icons/111111111111111111/def.png?size=1024","lastSeenAt":"2026-09-13T08:42:10.000Z","roles":[{"roleId":"222222222222222222","roleName":"Customer","lastSeenAt":"2026-09-13T08:42:10.000Z"}],"games":["fivem"]}]},"schema":{"$ref":"#/components/schemas/Discord"}}},"description":"The user and the servers they were seen in.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed Discord id. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `discord` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No data for this user. Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Discord user lookup","tags":["Lookups"],"x-auth":"perm:discord","x-cost":1,"x-permission":"discord"}},"/v3/cheater/{id}":{"get":{"description":"The cheat-customer record of a Discord user. Optional `?games=` filter (details of other games are removed).","operationId":"cheater","parameters":[{"description":"The Discord id to look up. Anything else is `400 bad_request`.","in":"path","name":"id","required":true,"schema":{"examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"}},{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"id":"137524095053987840","found":["Example Cheat Hub"],"details":[{"reason":"aimbot","type":"submit","server":"Example Cheat Hub","games":["fivem"],"found":"manuel - aimbot","detectedAt":"2026-08-14T15:22:29.777Z"}]},"schema":{"$ref":"#/components/schemas/Cheater"}}},"description":"The record.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed Discord id. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `cheater` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No record for this user. Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Cheat-customer record","tags":["Lookups"],"x-auth":"perm:cheater","x-cost":1,"x-permission":"cheater"}},"/v3/identifier/{identifier}":{"get":{"description":"Every identifier linked to the given one (Discord, Steam, license, FiveM, ...). Only identifier types that carry values appear in the answer.","operationId":"identifier","parameters":[{"description":"An identifier as `type:value`. Types: discord, steam, license, license2, fivem, xbox, live, steamid, xbl (`steamid` and `xbl` are accepted aliases of `steam` and `xbox`). Anything else is `400 bad_request`.","in":"path","name":"identifier","required":true,"schema":{"examples":["discord:137524095053987840"],"pattern":"^(?:discord|steam|license|license2|fivem|xbox|live|steamid|xbl):\\S.*$","type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"identifiers":{"discord":["137524095053987840"],"steam":["1100001abcdef01"],"license":["a3dcb1f5e2"]}},"schema":{"$ref":"#/components/schemas/Identifier"}}},"description":"The linked identifiers by type.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed identifier (unknown type or empty value). An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `identifier` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No data for this identifier. Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Identifier graph lookup","tags":["Lookups"],"x-auth":"perm:identifier","x-cost":1,"x-permission":"identifier"}},"/v3/gamedata":{"get":{"description":"An array of game groups; data retains version, normalized identifier, records, sources and account evidence. Accepts Discord IDs, SteamID64, discord:, steamid:, steam64: and steam:FiveM-hex. Bare values in the valid SteamID64 range mean Steam; use discord: to disambiguate a numeric Discord ID. Optional game or games is a comma-separated game filter independent of the Discord server catalog. Unknown games return an empty array. Does not launch a full import. Source failures preserve durable stale values. Protected and unknown identities share neutral groups and global source health. No response-cache or clean-on-outage fallback.","operationId":"gamedata","parameters":[{"in":"query","name":"identifier","required":true,"schema":{"maxLength":140,"type":"string"}},{"in":"query","name":"game","required":false,"schema":{"maxLength":2599,"pattern":"^\\s*[a-z0-9][a-z0-9_-]{0,63}\\s*(?:,\\s*[a-z0-9][a-z0-9_-]{0,63}\\s*){0,39}$","type":"string"}},{"in":"query","name":"games","required":false,"schema":{"maxLength":2599,"pattern":"^\\s*[a-z0-9][a-z0-9_-]{0,63}\\s*(?:,\\s*[a-z0-9][a-z0-9_-]{0,63}\\s*){0,39}$","type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"example":[{"game":"fivem","data":{"version":1,"identifier":{"type":"steamid","value":"76561197971718620"},"records":[],"sources":[],"connections":{"status":"unknown","checkedAt":null,"links":[]}}}],"schema":{"$ref":"#/components/schemas/GameData"}}},"description":"Source-scoped groups, including explicit unavailable sources and empty records.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"The identifier or game filter is malformed. Error code: `bad_request`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `identifier` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Game statistics grouped by game","tags":["Game Data"],"x-auth":"perm:identifier","x-cost":1,"x-permission":"identifier"}},"/v3/tickets/{id}":{"get":{"description":"Support tickets a Discord user opened. Optional `?games=` filter.","operationId":"tickets","parameters":[{"description":"The Discord id to look up. Anything else is `400 bad_request`.","in":"path","name":"id","required":true,"schema":{"examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"}},{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"id":"137524095053987840","tickets":[{"id":"333333333333333333","guildId":"444444444444444444","guildName":"Example Support","games":["fivem"],"channelId":"333333333333333333","channelNames":["ticket-0007"],"createdAt":"2026-07-02T10:00:00.000Z"}]},"schema":{"$ref":"#/components/schemas/Tickets"}}},"description":"The tickets.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed Discord id. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `ticket` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No tickets for this user. Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Support tickets of a user","tags":["Lookups"],"x-auth":"perm:ticket","x-cost":1,"x-permission":"ticket"}},"/v3/messages/{id}":{"get":{"description":"A user's stored messages, newest first. Everything by default, up to a ceiling of 100 000 per request; `?limit=<n>` (max 1000) paginates and `?cursor=` fetches the next page. A non-null `pagination.nextCursor` is the only signal that more exists. Optional `?games=` filter.","operationId":"messages","parameters":[{"description":"The Discord id to look up. Anything else is `400 bad_request`.","in":"path","name":"id","required":true,"schema":{"examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"}},{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"description":"Page size, 1-1000, or `all` (the same as omitting it). A number above 1000 is clamped to 1000; a value that is not a positive number falls back to 1000.","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"const":"all","type":"string"}]}},{"description":"The opaque `pagination.nextCursor` of the previous page. Honoured with or without `limit`. A token that cannot be decoded is ignored (the first page is returned).","in":"query","name":"cursor","required":false,"schema":{"minLength":1,"type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"id":"137524095053987840","url":"https://viewer.example.com/messages/AbC123","messages":[{"id":"555555555555555555","serverId":"957138191582892032","serverName":"Example Hub","games":["fivem"],"channelId":"957138191582892032","channelName":"chat","content":"gg","attachments":["https://cdn.example/att.png"],"timestamp":"2026-05-23T15:43:14.628Z"}],"pagination":{"limit":"all","nextCursor":null}},"schema":{"$ref":"#/components/schemas/Messages"}}},"description":"A page of messages (the whole list, up to the ceiling, when no limit was asked for).","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed Discord id. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `messages` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No messages for this user (first page). Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. A follow-up page whose cursor sits at the end is a 200 with an empty list, not a 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Stored messages of a user","tags":["Lookups"],"x-auth":"perm:messages","x-cost":1,"x-permission":"messages"}},"/v3/expose/{id}":{"get":{"description":"Messages of the expose network that mention a Discord user. Optional `?games=` filter.","operationId":"expose","parameters":[{"description":"The Discord id to look up. Anything else is `400 bad_request`.","in":"path","name":"id","required":true,"schema":{"examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"}},{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"responses":{"200":{"content":{"application/json":{"example":{"id":"137524095053987840","entries":[{"id":"666666666666666666","guildId":"111111111111111111","guildName":"Example Hub","channelId":"957138191582892032","channelName":"logs","content":"seen cheating","attachments":[],"users":["137524095053987840"],"games":["fivem"],"timestamp":"2026-01-06T21:46:40.000Z"}]},"schema":{"$ref":"#/components/schemas/ExposeList"}}},"description":"The entries.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"Malformed Discord id. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired, or does not hold the `expose` permission. Error codes: `key_unknown`, `key_paused`, `key_expired`, `no_permission`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"No expose entries for this user. Hidden ids (the always-clean list), and ids outside the key's data scope are all answered exactly like an id with no data: this 404. Error code: `not_found`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Expose-network messages mentioning a user","tags":["Lookups"],"x-auth":"perm:expose","x-cost":1,"x-permission":"expose"}},"/v3/masscheck":{"post":{"description":"Looks up up to 1000 ids across several checks in one request. Any valid key may call it; each check is gated by its own permission. Billed `ids x delivered checks`; skipped checks are never charged. One masscheck loads at most 500 000 message documents in total and no single id more than 100 000 - when the shared budget runs out, that id's `messages.truncated` is `true`. With the response cache on (`X-Use-Cache`) the unit of caching is one id x one check: only the ones not asked within the last hour are computed and billed, `cost` is what was billed (equal to `X-Request-Cost`), and `X-Cache` is `HIT` only when every unit came from the cache. Game Data is an explicit opt-in requiring identifier permission. It reads persisted records only, always rechecks privacy, bypasses the response cache and is billed every time. Its storage failures return an explicit upstream_unavailable object instead of an empty array. The per-minute rate limit is charged for the whole batch (`ids x delivered checks`) whether or not the cache knows its units.","operationId":"masscheck","parameters":[{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/UseCache"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MasscheckRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"cost":6,"count":2,"requested":["discord","messages","cheater"],"delivered":["discord","messages","cheater"],"skipped":[],"results":{"137524095053987840":{"discord":[{"serverId":"111111111111111111","serverName":"Example Cheat Hub","iconUrl":null,"lastSeenAt":"2026-09-13T08:42:10.000Z","roles":[],"games":["fivem"]}],"messages":{"url":"https://viewer.example.com/messages/AbC123","messages":[],"truncated":false},"cheater":{"found":[],"details":[]}},"699473099911233567":{"discord":[],"messages":null,"cheater":null}}},"schema":{"$ref":"#/components/schemas/MasscheckResponse"}}},"description":"One result per id. Existing checks retain their empty fallback; a Game Data failure is an explicit upstream_unavailable object.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"ids is not a non-empty array of at most 1000 strings, checks is not an object, no valid check was requested, or games is not an array of strings. An `X-Use-Cache` value other than `true` or `false` is a 400 as well. Error code: `bad_request`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired. Error codes: `key_unknown`, `key_paused`, `key_expired`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment, or the write did not go through. Error code: `internal`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment, or the write did not go through. Error code: `upstream_unavailable`.","headers":{"Age":{"$ref":"#/components/headers/Age"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Batch lookup","tags":["Batch"],"x-auth":"any","x-cost":"ids x delivered checks"}},"/v3/games":{"get":{"description":"The game names accepted by the `?games=` filter. All of them by default; `?limit=<n>` returns only the top `n`.","operationId":"games","parameters":[{"description":"Return only the top `n` games, or `all` (the same as omitting it). A value that is not a positive number returns all of them.","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"minimum":1,"type":"integer"},{"const":"all","type":"string"}]}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"example":{"count":4,"total":4,"games":["generic_bypass","generic_cleaner","fivem","rust"]},"schema":{"$ref":"#/components/schemas/Games"}}},"description":"The game names.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired. Error codes: `key_unknown`, `key_paused`, `key_expired`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"Game names for the games filter","tags":["Meta"],"x-auth":"any","x-cost":1}},"/v3/info":{"get":{"description":"Permissions, limits, usage, expiry and response-cache default of the CALLING key. The key comes from the header and is never echoed. Costs nothing.","operationId":"info","parameters":[{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"example":{"keyId":"detect-ac-bf91d9","master":false,"perms":{"discord":true,"identifier":true,"cheater":false,"ticket":false,"messages":true,"expose":false},"paused":false,"expiresAt":null,"rateLimit":"unlimited","quota":{"limit":100000,"used":2037,"remaining":97963,"windowMs":604800000,"resetAt":"2026-09-01T00:00:00.000Z"},"cache":{"useCache":false}},"schema":{"$ref":"#/components/schemas/KeyInfo"}}},"description":"The key view.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired. Error codes: `key_unknown`, `key_paused`, `key_expired`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Per-minute rate limit exceeded. The usage quota never applies: this endpoint costs 0 units. Error code: `rate_limited`.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `upstream_unavailable`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}}},"security":[{"apiKey":[]}],"summary":"About the calling key","tags":["Meta"],"x-auth":"any","x-cost":0}},"/v3/stats":{"get":{"description":"Aggregate database metrics, one group per subsystem. The numbers cover the data the calling key can access; the shape of the response does not depend on the key.\n\n`?games=fivem,rust` counts the figures that depend on the servers over the servers of those games only - any combination, several games are a union (\"any of them\", as on the other routes). `discords.users`, `servers`, `messages`, `tickets` and `cheaters` follow the games (a cheater record counts when one of its details is on a server of the games or names one of them itself). `identifiers` are global and not filtered. `expose` and `anticheat` belong to FiveM: they carry their normal figures when `fivem` is among the games, else `0`. A name that is no game selects nothing: all those figures are `0` (still `200`).\n\nCounted from memory in a few tens of milliseconds whichever games are named; the same combination is kept for 30 seconds. Right after a restart, until the copies are read (a few minutes; seconds from a saved copy), a filter that selects something answers `503` with `Retry-After`.","operationId":"stats","parameters":[{"description":"Comma-separated game names (see `GET /v3/games`), e.g. `fivem,rust`. Reduces the answer to what belongs to at least one of them; when nothing is left the answer is the same `404` as for a user with no data. Absent or empty = no filter.","in":"query","name":"games","required":false,"schema":{"examples":["fivem,rust"],"type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"example":{"discords":{"users":7715842},"servers":{"count":3213},"messages":{"count":34127072,"users":1168671},"identifiers":{"count":2598227,"users":635863},"cheaters":{"count":298224},"tickets":{"count":1255618,"users":441691},"expose":{"count":0,"users":0},"anticheat":{"bans":335405}},"schema":{"$ref":"#/components/schemas/Stats"}}},"description":"The metrics.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}},"description":"`games` is malformed (not a list of names) or names more than 200 games. Error code: `bad_request`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"No API key was sent (v3 reads the key from the Authorization header only). Error code: `no_key`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}},"description":"The key is unknown, paused or expired. Error codes: `key_unknown`, `key_paused`, `key_expired`.","headers":{"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}},"description":"A reseller request conflicts with an earlier request. Error code: `conflict`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}},"description":"Rate limit exceeded or usage quota used up. Retry-After says when. Error codes: `rate_limited`, `quota_exceeded`.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalError"}}},"description":"Internal error. Rare: the key could not be verified at that moment. A lookup itself never answers with a server error. Error code: `internal`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"}}},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnavailableError"}}},"description":"A dependency (the database) is unavailable; retry later. Also, with `games`: the memory copies the filtered figures are counted over are not complete yet (a start, or a copy being read again) - ask again after the `Retry-After` seconds. Not billed. Error code: `upstream_unavailable`.","headers":{"X-Quota-Limit":{"$ref":"#/components/headers/X-Quota-Limit"},"X-Quota-Remaining":{"$ref":"#/components/headers/X-Quota-Remaining"},"X-Quota-Reset":{"$ref":"#/components/headers/X-Quota-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}},"security":[{"apiKey":[]}],"summary":"Database metrics","tags":["Meta"],"x-auth":"any","x-cost":1}},"/v3/health":{"get":{"description":"No key, costs nothing, not counted.","operationId":"health","parameters":[{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"example":{"status":"ok"},"schema":{"$ref":"#/components/schemas/Health"}}},"description":"The API is up.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeError"}}},"description":"The request body exceeds the size limit for this endpoint. Error code: `payload_too_large`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedMediaTypeError"}}},"description":"The request body uses an unsupported encoding or charset. Error code: `unsupported_media_type`.","headers":{"Cache-Control":{"$ref":"#/components/headers/Cache-Control"},"X-Request-Cost":{"$ref":"#/components/headers/X-Request-Cost"},"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}}}},"security":[],"summary":"Liveness probe","tags":["Meta"],"x-auth":"none","x-cost":0}}},"components":{"parameters":{"RequestId":{"description":"Your own request id, echoed back in the X-Request-Id response header and in the error envelope; otherwise one is generated. 8-128 characters of `[A-Za-z0-9._-]`.","in":"header","name":"X-Request-Id","required":false,"schema":{"pattern":"^[A-Za-z0-9._-]{8,128}$","type":"string"}},"UseCache":{"in":"header","name":"X-Use-Cache","required":false,"schema":{"enum":["true","false"],"type":"string"}}},"schemas":{"Discord":{"additionalProperties":false,"properties":{"id":{"type":"string"},"username":{"description":"Nullable by contract; in the current data always set.","type":["string","null"]},"avatarUrl":{"description":"The user's own avatar. Nullable by contract; in the current data always set.","type":["string","null"]},"servers":{"description":"Never empty on a 200 (no servers means 404).","items":{"$ref":"#/components/schemas/DiscordServer"},"minItems":1,"type":"array"}},"required":["id","username","avatarUrl","servers"],"type":"object"},"DiscordServer":{"additionalProperties":false,"description":"One server a user was seen in. Also the element of the `discord` check in `POST /v3/masscheck`.","properties":{"serverId":{"type":["string","null"]},"serverName":{"type":["string","null"]},"iconUrl":{"description":"The server's icon. `null` when none is known (about one server in three).","type":["string","null"]},"lastSeenAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the user was last seen in this server (see the field semantics in the prose documentation). Always present; `null` only when no time is known."},"roles":{"description":"May be empty: seen in the server, no roles recorded.","items":{"$ref":"#/components/schemas/DiscordRole"},"type":"array"},"games":{"description":"Every game the server is mapped to, sorted. Empty only when the server is mapped to no game. Not narrowed by a `?games=` filter (the filter picks the servers).","items":{"type":"string"},"type":"array"}},"required":["serverId","serverName","iconUrl","lastSeenAt","roles","games"],"type":"object"},"DiscordRole":{"additionalProperties":false,"properties":{"roleId":{"type":["string","null"]},"roleName":{"type":["string","null"]},"lastSeenAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the user was last seen holding the role. Never later than the server's `lastSeenAt`. `null` only when no time is known."}},"required":["roleId","roleName","lastSeenAt"],"type":"object"},"BadRequestError":{"additionalProperties":false,"description":"Malformed request. The uniform v3 error envelope for HTTP 400.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["bad_request"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"UnauthorizedError":{"additionalProperties":false,"description":"No credentials. The uniform v3 error envelope for HTTP 401.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["no_key"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"ForbiddenError":{"additionalProperties":false,"description":"Credentials rejected. The uniform v3 error envelope for HTTP 403.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["key_unknown","key_paused","key_expired","no_permission"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"NotFoundError":{"additionalProperties":false,"description":"Nothing found. The uniform v3 error envelope for HTTP 404.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["not_found"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"ConflictError":{"additionalProperties":false,"description":"The request conflicts with an earlier request. The uniform v3 error envelope for HTTP 409.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["conflict"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"PayloadTooLargeError":{"additionalProperties":false,"description":"Request body too large. The uniform v3 error envelope for HTTP 413.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["payload_too_large"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"UnsupportedMediaTypeError":{"additionalProperties":false,"description":"Unsupported request body encoding or charset. The uniform v3 error envelope for HTTP 415.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["unsupported_media_type"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"TooManyRequestsError":{"additionalProperties":false,"description":"A limit was reached. The uniform v3 error envelope for HTTP 429.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["rate_limited","quota_exceeded"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"InternalError":{"additionalProperties":false,"description":"Internal error. The uniform v3 error envelope for HTTP 500.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["internal"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"UnavailableError":{"additionalProperties":false,"description":"A dependency is unavailable; retry later. The uniform v3 error envelope for HTTP 503.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable and stable - branch on this, not on the message.","enum":["upstream_unavailable"],"type":"string"},"message":{"description":"Human-facing text; may change.","type":"string"},"requestId":{"description":"Equals the X-Request-Id response header. Quote it when reporting an issue.","type":"string"}},"required":["code","message","requestId"],"type":"object"}},"required":["error"],"type":"object"},"Cheater":{"additionalProperties":false,"properties":{"id":{"type":"string"},"found":{"description":"Reasons found. May be empty by contract.","items":{"type":"string"},"type":"array"},"details":{"description":"May be empty by contract (for example after a games filter removes every entry).","items":{"$ref":"#/components/schemas/CheaterDetail"},"type":"array"}},"required":["id","found","details"],"type":"object"},"CheaterDetail":{"additionalProperties":false,"properties":{"reason":{"type":["string","null"]},"type":{"type":["string","null"]},"server":{"type":["string","null"]},"games":{"description":"The games this detection belongs to: taken from the detection itself when it carries them (rare), otherwise resolved from the server it was seen in. Empty only when that server is mapped to no game.","items":{"type":"string"},"type":"array"},"found":{"type":["string","null"]},"detectedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the detection was recorded. Not a \"last seen\" time."}},"required":["reason","type","server","games","found","detectedAt"],"type":"object"},"Identifier":{"additionalProperties":false,"properties":{"identifiers":{"$ref":"#/components/schemas/IdentifierMap"}},"required":["identifiers"],"type":"object"},"IdentifierMap":{"additionalProperties":false,"description":"Identifier values by type. Only types that carry values appear (the key is absent otherwise); a key that exists is always a non-empty array. Also the value of the `identifier` check in `POST /v3/masscheck`.","properties":{"discord":{"items":{"type":"string"},"minItems":1,"type":"array"},"steam":{"items":{"type":"string"},"minItems":1,"type":"array"},"license":{"items":{"type":"string"},"minItems":1,"type":"array"},"license2":{"items":{"type":"string"},"minItems":1,"type":"array"},"fivem":{"items":{"type":"string"},"minItems":1,"type":"array"},"xbox":{"items":{"type":"string"},"minItems":1,"type":"array"},"live":{"items":{"type":"string"},"minItems":1,"type":"array"}},"type":"object"},"GameData":{"items":{"additionalProperties":false,"properties":{"game":{"pattern":"^[a-z0-9][a-z0-9_-]{0,63}$","type":"string"},"data":{"$ref":"#/components/schemas/GameDataDetail"}},"required":["game","data"],"type":"object"},"maxItems":256,"type":"array"},"GameDataDetail":{"additionalProperties":false,"properties":{"version":{"const":1,"type":"number"},"identifier":{"additionalProperties":false,"properties":{"type":{"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},"records":{"items":{"$ref":"#/components/schemas/GameDataRecord"},"type":"array"},"sources":{"items":{"$ref":"#/components/schemas/GameDataSource"},"type":"array"},"connections":{"$ref":"#/components/schemas/GameDataConnections"}},"required":["version","identifier","records","sources","connections"],"type":"object"},"GameDataRecord":{"additionalProperties":false,"properties":{"sourceId":{"type":"string"},"sourceName":{"type":"string"},"sourceUrl":{"type":["string","null"]},"gameId":{"type":"string"},"gameName":{"type":"string"},"playerId":{"type":"string"},"scope":{"additionalProperties":false,"properties":{"kind":{"enum":["global","community","server"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"}},"required":["kind","id","label"],"type":"object"},"period":{"additionalProperties":false,"properties":{"from":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"to":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}},"required":["from","to"],"type":"object"},"metrics":{"$ref":"#/components/schemas/GameDataMetric"},"coverage":{"$ref":"#/components/schemas/GameDataCoverage"},"observedAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"stale":{"type":"boolean"},"lastSeenAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"measurement":{"anyOf":[{"enum":["sampled-presence","reported-session"],"type":"string"},{"type":"null"}],"description":"How `metrics.playSeconds` was obtained: `reported-session` is measured from the join and leave times a server reported, `sampled-presence` counts time between bounded presence samples, `null` is a provider value."}},"required":["sourceId","sourceName","sourceUrl","gameId","gameName","playerId","scope","period","metrics","observedAt","updatedAt","stale","lastSeenAt","measurement"],"type":"object"},"GameDataMetric":{"additionalProperties":false,"properties":{"playSeconds":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}]},"kills":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]},"deaths":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]},"kd":{"anyOf":[{"minimum":0,"type":"number"},{"type":"null"}]}},"required":["playSeconds","kills","deaths","kd"],"type":"object"},"GameDataCoverage":{"additionalProperties":false,"description":"Provenance and actual coverage. period.from/to are actual bounds; plannedEnd is a schedule only. Only a verified public operator mapping supplies canonicalServerId. A null canonical identity, aggregate/global coverage, private identity or missing legacy metadata cannot prove independent server coverage. family is provenance, never additive identity.","properties":{"kind":{"enum":["unknown","server","aggregate","global"],"type":"string"},"family":{"type":["string","null"]},"periodKind":{"enum":["unknown","interval","season","all-time"],"type":"string"},"seasonId":{"type":["string","null"]},"precision":{"enum":["unknown","exact","estimated"],"type":"string"},"plannedEnd":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"canonicalServerId":{"anyOf":[{"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","type":"string"},{"type":"null"}]}},"required":["kind","family","periodKind","seasonId","precision","plannedEnd","canonicalServerId"],"type":"object"},"GameDataSource":{"additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"gameId":{"type":"string"},"url":{"type":["string","null"]},"status":{"enum":["ok","not_found","not_configured","partial","error","stale"],"type":"string"},"checkedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lastSuccessAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"import":{"anyOf":[{"additionalProperties":false,"properties":{"state":{"enum":["idle","running","complete","partial","error"],"type":"string"},"cursor":{"type":["string","null"]},"completion":{"$ref":"#/components/schemas/GameDataImportCompletion"},"processed":{"minimum":0,"type":"integer"}},"required":["state","cursor","processed"],"type":"object"},{"type":"null"}]},"error":{"type":["string","null"]}},"required":["id","name","gameId","url","status","checkedAt","lastSuccessAt","import","error"],"type":"object"},"GameDataImportCompletion":{"additionalProperties":false,"properties":{"kind":{"enum":["full","top-n","partial","empty","unknown"],"type":"string"},"received":{"minimum":0,"type":"integer"},"expected":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]}},"required":["kind","received","expected"],"type":"object"},"GameDataConnections":{"additionalProperties":false,"properties":{"status":{"enum":["verified","missing","unavailable","conflict","removed","unknown"],"type":"string"},"checkedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"links":{"items":{"additionalProperties":false,"properties":{"discordId":{"maxLength":20,"type":"string"},"steamId":{"pattern":"^[1-9][0-9]{16}$","type":"string"},"source":{"enum":["discord-oauth","server-identifiers","legacy-graph"],"type":"string"},"verified":{"type":"boolean"},"status":{"enum":["active","removed","conflict"],"type":"string"},"checkedAt":{"format":"date-time","type":"string"},"sourceId":{"type":"string"}},"required":["discordId","steamId","source","verified","status","checkedAt","sourceId"],"type":"object"},"type":"array"}},"required":["status","checkedAt","links"],"type":"object"},"Tickets":{"additionalProperties":false,"properties":{"id":{"description":"The Discord id that was looked up.","examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"},"tickets":{"description":"Never empty on a 200 (no tickets means 404).","items":{"$ref":"#/components/schemas/Ticket"},"minItems":1,"type":"array"}},"required":["id","tickets"],"type":"object"},"Ticket":{"additionalProperties":false,"properties":{"id":{"type":["string","null"]},"guildId":{"type":["string","null"]},"guildName":{"type":["string","null"]},"games":{"description":"Every game the server is mapped to, sorted. Empty only when the server is mapped to no game. Not narrowed by a `?games=` filter (the filter picks the rows).","items":{"type":"string"},"type":"array"},"channelId":{"type":["string","null"]},"channelNames":{"description":"May be empty; a single stored name is normalized into an array.","items":{"type":"string"},"type":"array"},"createdAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}},"required":["id","guildId","guildName","games","channelId","channelNames","createdAt"],"type":"object"},"Messages":{"additionalProperties":false,"properties":{"id":{"description":"The Discord id that was looked up.","examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"},"url":{"anyOf":[{"pattern":"^https:\\/\\/[a-z0-9.-]+\\/messages\\/[A-Za-z0-9_.-]+$","type":"string"},{"type":"null"}],"description":"An expiring message viewer link (default 24 hours). Custom API domains use the reseller’s verified message viewer domain. `null` on an empty follow-up page or when no viewer link is available."},"messages":{"description":"Newest first. Non-empty on the first page (none means 404); may be empty on a follow-up page whose cursor sits at the end.","items":{"$ref":"#/components/schemas/Message"},"type":"array"},"pagination":{"$ref":"#/components/schemas/MessagesPagination"}},"required":["id","url","messages","pagination"],"type":"object"},"Message":{"additionalProperties":false,"properties":{"id":{"type":["string","null"]},"serverId":{"type":["string","null"]},"serverName":{"type":["string","null"]},"games":{"description":"Every game the server is mapped to, sorted. Empty only when the server is mapped to no game. Not narrowed by a `?games=` filter (the filter picks the rows).","items":{"type":"string"},"type":"array"},"channelId":{"type":["string","null"]},"channelName":{"type":["string","null"]},"content":{"description":"May be the empty string. Attachments are separate (v1/v2 concatenated them).","type":"string"},"attachments":{"description":"May be empty.","items":{"type":"string"},"type":"array"},"timestamp":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}},"required":["id","serverId","serverName","games","channelId","channelName","content","attachments","timestamp"],"type":"object"},"MessagesPagination":{"additionalProperties":false,"properties":{"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"const":"all","type":"string"}],"description":"What was actually applied: the page size, or `\"all\"` when no `?limit=` was sent."},"nextCursor":{"description":"`null` = no further page. Set even without `?limit=` once the 100 000 ceiling is reached.","type":["string","null"]}},"required":["limit","nextCursor"],"type":"object"},"ExposeList":{"additionalProperties":false,"properties":{"id":{"description":"The Discord id that was looked up.","examples":["137524095053987840"],"pattern":"^[1-9]\\d{4,19}$","type":"string"},"entries":{"description":"Never empty on a 200 (none means 404).","items":{"$ref":"#/components/schemas/ExposeEntry"},"minItems":1,"type":"array"}},"required":["id","entries"],"type":"object"},"ExposeEntry":{"additionalProperties":false,"properties":{"id":{"type":["string","null"]},"guildId":{"type":["string","null"]},"guildName":{"type":["string","null"]},"channelId":{"type":["string","null"]},"channelName":{"type":["string","null"]},"content":{"type":["string","null"]},"attachments":{"items":{"type":"string"},"type":"array"},"users":{"description":"The users mentioned. A scalar stored value is wrapped into an array.","items":{"type":"string"},"type":"array"},"games":{"items":{"type":"string"},"type":"array"},"timestamp":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}},"required":["id","guildId","guildName","channelId","channelName","content","attachments","users","games","timestamp"],"type":"object"},"MasscheckRequest":{"description":"Body of POST /v3/masscheck.","properties":{"ids":{"description":"Identifiers to look up; non-Discord forms are supported only by gamedata, 1-1000. Strings only. An id that is not a valid Discord id is not an error here: it simply has no data.","items":{"minLength":1,"type":"string"},"maxItems":1000,"minItems":1,"type":"array"},"checks":{"description":"The checks to run: `discord`, `identifier`, `cheater`, `ticket`, `messages`, `expose`, `gamedata` (opt-in). At least one must be `true`. Each check needs its own permission; a check the key may not run is not an error - it is listed in `skipped` and not billed.","properties":{"discord":{"type":"boolean"},"identifier":{"type":"boolean"},"cheater":{"type":"boolean"},"ticket":{"type":"boolean"},"messages":{"type":"boolean"},"expose":{"type":"boolean"},"gamedata":{"type":"boolean"}},"type":"object"},"games":{"description":"Optional game filter, applied to every check. Game Data uses provider game IDs independently of the Discord server catalog; at most 40 names of 1-64 letters, digits, underscores or hyphens. Unknown Game Data games return an empty array.","items":{"type":"string"},"type":"array"},"messageLimit":{"anyOf":[{"minimum":1,"type":"integer"},{"const":"all","type":"string"}],"description":"Cap on the messages returned per id (then `truncated` is `true` when more exist). Default: all of them, within the batch budget. Does not change the cost."}},"required":["ids","checks"],"type":"object"},"MasscheckResponse":{"additionalProperties":false,"properties":{"cost":{"description":"Units actually billed (`0` for a master key). Equals `X-Request-Cost`.","minimum":0,"type":"integer"},"count":{"description":"Number of ids processed.","minimum":0,"type":"integer"},"requested":{"description":"The checks that were asked for (valid names only).","items":{"enum":["discord","identifier","cheater","ticket","messages","expose","gamedata"],"type":"string"},"type":"array"},"delivered":{"description":"The checks that were run. May be empty.","items":{"enum":["discord","identifier","cheater","ticket","messages","expose","gamedata"],"type":"string"},"type":"array"},"skipped":{"description":"The requested checks the key may not read. Never an error inside the data.","items":{"enum":["discord","identifier","cheater","ticket","messages","expose","gamedata"],"type":"string"},"type":"array"},"results":{"additionalProperties":{"$ref":"#/components/schemas/MasscheckResult"},"description":"One entry per requested id, including unknown ones. Hidden ids look exactly like ids with no data.","propertyNames":{"type":"string"},"type":"object"}},"required":["cost","count","requested","delivered","skipped","results"],"type":"object"},"MasscheckResult":{"additionalProperties":false,"description":"The result for one id. Only the delivered checks are present.","properties":{"discord":{"description":"The `servers` of `GET /v3/discords/{id}`; `[]` when the id has no data.","items":{"$ref":"#/components/schemas/DiscordServer"},"type":"array"},"identifier":{"anyOf":[{"$ref":"#/components/schemas/IdentifierMap"},{"type":"null"}],"description":"The `identifiers` object of `GET /v3/identifier/{id}`; `null` when the id has no data."},"cheater":{"anyOf":[{"$ref":"#/components/schemas/CheaterRecord"},{"type":"null"}],"description":"`{ found, details }` of `GET /v3/cheater/{id}`; `null` when the id has no record."},"ticket":{"description":"The `tickets` of `GET /v3/tickets/{id}`; `[]` when none.","items":{"$ref":"#/components/schemas/Ticket"},"type":"array"},"messages":{"anyOf":[{"$ref":"#/components/schemas/MasscheckMessages"},{"type":"null"}],"description":"`{ url, messages, truncated }`; `null` when the id has no messages."},"gamedata":{"anyOf":[{"$ref":"#/components/schemas/GameData"},{"$ref":"#/components/schemas/GameDataBatchFailure"}],"description":"Explicitly requested game groups; same shape as GET /v3/gamedata. Uses persistent records only, no provider fetch in a batch; errors remain explicit. Requires identifier permission, always rechecks privacy and is not response-cached."},"expose":{"description":"The `entries` of `GET /v3/expose/{id}`; `[]` when none.","items":{"$ref":"#/components/schemas/ExposeEntry"},"type":"array"}},"type":"object"},"CheaterRecord":{"additionalProperties":false,"properties":{"found":{"description":"Reasons found. May be empty by contract.","items":{"type":"string"},"type":"array"},"details":{"description":"May be empty by contract (for example after a games filter removes every entry).","items":{"$ref":"#/components/schemas/CheaterDetail"},"type":"array"}},"required":["found","details"],"type":"object"},"MasscheckMessages":{"additionalProperties":false,"properties":{"url":{"anyOf":[{"pattern":"^https:\\/\\/[a-z0-9.-]+\\/messages\\/[A-Za-z0-9_.-]+$","type":"string"},{"type":"null"}],"description":"An expiring message viewer link. Custom API domains use the reseller’s verified message viewer domain. `null` when no viewer link is available."},"messages":{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},"truncated":{"description":"`true` when this id has more messages than were returned - because of `messageLimit`, or because the batch's shared budget ran out. Fetch the rest through `GET /v3/messages/{id}`.","type":"boolean"}},"required":["url","messages","truncated"],"type":"object"},"GameDataBatchFailure":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"const":"upstream_unavailable","type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"}},"required":["error"],"type":"object"},"Games":{"additionalProperties":false,"properties":{"count":{"description":"How many names are in `games`.","minimum":0,"type":"integer"},"total":{"description":"How many games exist.","minimum":0,"type":"integer"},"games":{"description":"`generic_*` first (in usage order), then the rest ranked by tracked-server usage.","items":{"type":"string"},"type":"array"}},"required":["count","total","games"],"type":"object"},"KeyInfo":{"additionalProperties":false,"properties":{"keyId":{"description":"The key's stable id; the literal `\"master\"` for the env master key. The key itself is never echoed.","type":["string","number"]},"master":{"type":"boolean"},"perms":{"additionalProperties":false,"description":"All six permission names, always present (a master key shows all `true`).","properties":{"discord":{"type":"boolean"},"identifier":{"type":"boolean"},"cheater":{"type":"boolean"},"ticket":{"type":"boolean"},"messages":{"type":"boolean"},"expose":{"type":"boolean"}},"required":["discord","identifier","cheater","ticket","messages","expose"],"type":"object"},"paused":{"type":"boolean"},"expiresAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"`null` = never expires."},"rateLimit":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"const":"unlimited","type":"string"}],"description":"Requests per minute, or `\"unlimited\"`."},"quota":{"anyOf":[{"$ref":"#/components/schemas/KeyQuota"},{"type":"null"}],"description":"`null` = no quota (unlimited) or a master key. Read as it stands at the request: once `resetAt` has passed, the ended window no longer counts (`used` 0, `remaining` the full `limit`, `resetAt` the end of the running window)."},"cache":{"$ref":"#/components/schemas/CacheSetting"}},"required":["keyId","master","perms","paused","expiresAt","rateLimit","quota","cache"],"type":"object"},"KeyQuota":{"additionalProperties":false,"properties":{"limit":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]},"used":{"minimum":0,"type":"integer"},"remaining":{"minimum":0,"type":"integer"},"windowMs":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]},"resetAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}},"required":["limit","used","remaining","windowMs","resetAt"],"type":"object"},"CacheSetting":{"additionalProperties":false,"properties":{"useCache":{"description":"Whether the response cache is this key's default: when `true`, a request uses the cache unless it sends `X-Use-Cache: false`. `false` unless the key set it.","type":"boolean"}},"required":["useCache"],"type":"object"},"Stats":{"additionalProperties":false,"description":"Database metrics, from a 60-second cache. The groups overlap by design - do not add them up. A metric is `0` when it is zero or when nothing has been counted yet; there is no `null` anywhere in this response.","properties":{"discords":{"additionalProperties":false,"properties":{"users":{"description":"Tracked Discord users. (Its records are users, so there is no separate count.)","minimum":0,"type":"integer"}},"required":["users"],"type":"object"},"servers":{"additionalProperties":false,"properties":{"count":{"description":"Tracked Discord servers.","minimum":0,"type":"integer"}},"required":["count"],"type":"object"},"messages":{"additionalProperties":false,"properties":{"count":{"description":"Captured messages.","minimum":0,"type":"integer"},"users":{"description":"Users who appear in them.","minimum":0,"type":"integer"}},"required":["count","users"],"type":"object"},"identifiers":{"additionalProperties":false,"properties":{"count":{"description":"Known identifiers in total.","minimum":0,"type":"integer"},"users":{"description":"Users those identifiers belong to.","minimum":0,"type":"integer"}},"required":["count","users"],"type":"object"},"cheaters":{"additionalProperties":false,"properties":{"count":{"description":"Cheat-customer records.","minimum":0,"type":"integer"}},"required":["count"],"type":"object"},"tickets":{"additionalProperties":false,"properties":{"count":{"description":"Captured tickets.","minimum":0,"type":"integer"},"users":{"description":"Users who appear in them.","minimum":0,"type":"integer"}},"required":["count","users"],"type":"object"},"expose":{"additionalProperties":false,"properties":{"count":{"description":"Expose entries.","minimum":0,"type":"integer"},"users":{"description":"Users mentioned in them.","minimum":0,"type":"integer"}},"required":["count","users"],"type":"object"},"anticheat":{"additionalProperties":false,"properties":{"bans":{"description":"Anticheat bans.","minimum":0,"type":"integer"}},"required":["bans"],"type":"object"}},"required":["discords","servers","messages","identifiers","cheaters","tickets","expose","anticheat"],"type":"object"},"Health":{"additionalProperties":false,"properties":{"status":{"const":"ok","type":"string"}},"required":["status"],"type":"object"}},"headers":{"Age":{"description":"Seconds since the answer was computed: `0` on a MISS or BYPASS, up to 3600 on a HIT. For a masscheck, the age of its oldest cached piece. Sent together with X-Cache.","schema":{"pattern":"^\\d+$","type":"string"}},"X-Cache":{"description":"Only when the response cache is in play (X-Use-Cache: true, or the key made it its default). HIT: served from the cache, billed 0. MISS: computed (and kept). BYPASS: the default of the key is on and this request skipped the cache with X-Use-Cache: false (computed, billed, and its fresh answer replaces the stored one). With the default off, X-Use-Cache: false sends no X-Cache at all. A masscheck is a HIT only when every id x check came from the cache.","schema":{"enum":["HIT","MISS","BYPASS"],"type":"string"}},"X-Quota-Limit":{"description":"Windowed usage quota: a number, or \"unlimited\" (master key). Absent for a key without a usage quota and on endpoints that cost nothing.","schema":{"pattern":"^(\\d+|unlimited)$","type":"string"}},"X-Quota-Remaining":{"description":"Units left in the current quota window: a number, or \"unlimited\".","schema":{"pattern":"^(\\d+|unlimited)$","type":"string"}},"X-Quota-Reset":{"description":"Unix seconds at which the quota window resets. Absent when unlimited.","schema":{"pattern":"^\\d+$","type":"string"}},"X-RateLimit-Limit":{"description":"Requests per minute: a number, or the string \"unlimited\". Not sent on the liveness probe, on a 401/403, or when the FiveM partner key is used.","schema":{"pattern":"^(\\d+|unlimited)$","type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute: a number, or \"unlimited\".","schema":{"pattern":"^(\\d+|unlimited)$","type":"string"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the per-minute window resets. Absent when unlimited.","schema":{"pattern":"^\\d+$","type":"string"}},"X-Request-Cost":{"description":"Units this request billed. A 404 carries its cost, every other error carries 0, a master key always carries 0.","schema":{"pattern":"^\\d+$","type":"string"}},"X-Request-Id":{"description":"Request id. A client-supplied X-Request-Id (8-128 chars of [A-Za-z0-9._-]) is echoed, otherwise one is generated.","schema":{"pattern":"^[A-Za-z0-9._-]{8,128}$","type":"string"}},"Cache-Control":{"description":"Always \"no-store\" on errors and on the liveness probe.","schema":{"const":"no-store","type":"string"}},"WWW-Authenticate":{"description":"Bearer authentication challenge sent with each HTTP 401.","schema":{"const":"Bearer","type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying. Sent on 429 and may be sent on 503.","schema":{"pattern":"^\\d+$","type":"string"}}},"securitySchemes":{"apiKey":{"description":"An API key in the Authorization header: `Authorization: Bearer <key>`.","scheme":"bearer","type":"http"}}}}}