Get Developer Ticket Stats
A call to API_GetTicketData
in this manner will retrieve ticket stats for a developer, targeted by that developer's site username.
HTTP Request
GET
https://retroachievements.org/API/API_GetTicketData.php?u=Hexadigital
Query Parameters
You must query the developer by either their username or their ULID. Please note the username is not considered a stable value. As of 2025, users can change their usernames. Initially querying by username is a good way to fetch a ULID.
Name | Required? | Description |
---|---|---|
y | Yes | Your web API key. |
u | The target developer's username. | |
i | The target developer's ULID. |
Client Library
ts
import { buildAuthorization, getTicketData } from "@retroachievements/api";
// First, build your authorization object.
const username = "<your username on RA>";
const webApiKey = "<your web API key>";
const authorization = buildAuthorization({ username, webApiKey });
// Then, make the API call.
const developerTicketStats = await getTicketData(authorization, {
username: "Hexadigital",
});
kotlin
val credentials = RetroCredentials("<username>", "<web api key>")
val api: RetroInterface = RetroClient(credentials).api
val response: NetworkResponse<GetDeveloperTicketStats.Response, ErrorResponse> = api.getDeveloperTicketStats(
username = "xelnia"
)
if (response is NetworkResponse.Success) {
// handle the data
val developerTicketStats: GetDeveloperTicketStats.Response = response.body
} else if (response is NetworkResponse.Error) {
// if the server returns an error it be found here
val errorResponse: ErrorResponse? = response.body
// if the api (locally) had an internal error, it'll be found here
val internalError: Throwable? = response.error
}
Response
json
{
"User": "MockUser",
"ULID": "00003EMFWR7XB8SDPEHB3K56ZQ",
"Open": 0,
"Closed": 17,
"Resolved": 27,
"Total": 44,
"URL": "https://retroachievements.org/user/MockUser/tickets"
}
json
{
"user": "MockUser",
"ulid": "00003EMFWR7XB8SDPEHB3K56ZQ",
"open": 0,
"closed": 17,
"resolved": 27,
"total": 44,
"url": "https://retroachievements.org/user/MockUser/tickets"
}