Skip to content

Comments

A call to this endpoint returns comments of a specified kind: game, achievement, or user.

HTTP Request

GET

https://retroachievements.org/API/API_GetComments.php?t=1&i=1

Query Parameters

NameRequired?Description
yYesYour web API key.
tYesThe target comment kind: 1 (game), 2 (achievement), or 3 (user).
iSometimesThe target game or achievement ID (if type is 1 or 2). The target username (if type is 3). Required if type is 1 or 2.
cCount, number of records to return (default: 100, max: 500).
oOffset, number of entries to skip (default: 0).

Client Library

Not yet supported.

Response

json
[
    "Count": 4,
    "Total": 4,
    "Results": {
        "0": {
            "User": "PlayTester",
            "Submitted": "2024-07-31T11:22:23.000000Z",
            "CommentText": "Comment 1"
        },
        // ...
    }
]

Source

RepoURL
RAWebhttps://github.com/RetroAchievements/RAWeb/blob/master/public/API/API_GetComments.php

Released under the MIT license.