Skip to main content
POST
/
api
/
itchio
/
collections
/itchio/collections
curl --request POST \
  --url https://api.anysite.io/api/itchio/collections \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "collection": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@itchio_collection",
    "alias": "<string>",
    "name": "<string>",
    "url": "<string>",
    "author": "<string>",
    "author_url": "<string>",
    "updated_at": "<string>",
    "games": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
collection
string
required

Collection id, {id}/{slug}, or a full collection URL (itch.io/c/{id}/{slug})

Minimum string length: 1
Examples:

"431"

"431/jotsons-list-of-cool-games"

"https://itch.io/c/431/jotsons-list"

count
integer
required

Max number of games to return from the collection

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_collection
alias
string | null
name
string | null
url
string | null
author
string | null
author_url
string | null
updated_at
string | null
games
ItchioCollectionGame · object[]