Classic APIs
ClassicThumbnailsApi
gameThumbnailsFromIds

gameThumbnailsFromIds

Gets thumbnail for multiple thumbnail ids that belong to a specified universe.

Parameters

NameTypeDescription
universeIdIdentifierThe id of the universe to get the thumbnails from.
thumbnailIdsArrayNonEmptyIfConstThe ids of the thumbnails.
size?GameThumbnailSizeThe thumbnails size (formatted as {width}x{height}).
format?ThumbnailFormatSpecifies the format of the thumbnails.
isCircular?booleanDictates if the thumbnails should be masked by a circle.

Example

const { data: gameThumbnails } = await ClassicThumbnailsApi.gameThumbnailsFromIds({
  universeId: 1685831367,
  thumbnailIds: [5030792576],
}); 

Example Data

{
  "5030792576": {
    state: "Completed",
    imageUrl: "https://tr.rbxcdn.com/e997db8b4e41b08acb49b9d2bb021b23/768/432/Image/Png",
  },
} 

Endpoint

GET /v1/games/{universeId}/thumbnails