SleevedSleeved Docs

Browse all cards (paginated)

Paginate through all card records for a game using cursor-based pagination for full index synchronization.

Returns a page of card records for a game. Designed for full index synchronization — iterate through pages using the cursor until cursor is null, at which point all records have been retrieved.

Full sync example:

# First page
curl "https://api.sleeved.gg/api/v1/games/digimon/cards?hitsPerPage=500" \
  -H "X-API-Key: slvd_live_your_key_here"

# Subsequent pages — pass the cursor from the previous response
curl "https://api.sleeved.gg/api/v1/games/digimon/cards?cursor=eyJwYWdlIjoxfQ==&hitsPerPage=500" \
  -H "X-API-Key: slvd_live_your_key_here"
GET
/games/{slug}/cards
X-API-Key<token>

Your Sleeved API key. Format: slvd_live_<hex>. Contact Sleeved to obtain a key.

In: header

Path Parameters

slugstring

Game identifier. Valid values: digimon, gundam, grand-archive, chrono-core.

Value in"digimon" | "gundam" | "grand-archive" | "chrono-core"

Query Parameters

cursor?string

Pagination cursor from the previous response. Omit on the first request.

hitsPerPage?integer

Number of records per page. Must be between 1 and 1000.

Default100
Range1 <= value <= 1000

Response Body

curl -X GET "https://api.sleeved.gg/api/v1/games/digimon/cards?cursor=string&hitsPerPage=100"
{
  "data": {
    "hits": [
      {
        "id": "BT1-001",
        "name": "Koromon",
        "gameId": "digimon",
        "type": "Digimon",
        "color": "Red",
        "level": 2
      }
    ],
    "cursor": "eyJwYWdlIjoxfQ==",
    "totalHits": 4821
  }
}

{
  "error": "hitsPerPage must be an integer between 1 and 1000"
}

{
  "error": "API key required"
}

{
  "error": "Game not found"
}
{
  "error": "Rate limit exceeded"
}
{
  "error": "Internal server error"
}