Skip to main content
POST
/
api
/
itchio
/
games
/
comments
/itchio/games/comments
curl --request POST \
  --url https://api.anysite.io/api/itchio/games/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "game": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@itchio_comment",
    "author": {
      "@type": "@itchio_comment_author",
      "username": "<string>",
      "name": "<string>",
      "image": "<string>"
    },
    "text": "<string>",
    "created_at": "<string>",
    "upvote_count": 123,
    "downvote_count": 123,
    "has_more_replies": false,
    "replies": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
game
string
required

Game page as {author}.itch.io/{slug} or a full game URL

Minimum string length: 1
Examples:

"hempuli.itch.io/baba-is-you"

"https://maddymakesgamesinc.itch.io/celeste"

count
integer
required

Max number of top-level comments to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@itchio_comment
author
ItchioCommentAuthor · object
text
string | null
created_at
string | null
upvote_count
integer | null
downvote_count
integer | null
has_more_replies
boolean
default:false
replies
Replies · array