Card images are served through the Lorcast CDN. The CDN has no API rate limits and is hosted on a different domain:
*.lorcast.io
For example, the card images are found at: https://cards.lorcast.io
. However,
you should not assume that the URL structure or domain will stay the same
forever. Instead, use the card URIs returned from the API to locate the card
image.
The URIs each have a query parameter at the end that represent the timestamp the image was last updated. Images should update infrequently, most commonly once the full set has been spoiled and high definition images are acquired. If you are storing images locally, you can compare the query parameter or the entire URI.
The Card object has a key image_uris
which will contain the
URIs for the images. Lorcast has several different sizes and formats for each card.
Image | Size | Format | Description |
---|---|---|---|
full | 1468x2048 | JPG | The full size image of the card. |
large | 674x940 | AVIF | A large version of the card, suitable for primary usage in apps. |
normal | 488x681 | AVIF | A normal sized image of the card. |
small | 146x204 | AVIF | A small image, suitable for thumbnails. |
"image_uris": {
"digital": {
"small": "https://cards.lorcast.io/card/digital/small/crd_d9f3b86af85f48579ed9d0d7ce0de129.avif?1709690747",
"normal": "https://cards.lorcast.io/card/digital/normal/crd_d9f3b86af85f48579ed9d0d7ce0de129.avif?1709690747",
"large": "https://cards.lorcast.io/card/digital/large/crd_d9f3b86af85f48579ed9d0d7ce0de129.avif?1709690747"
}
}