SleevedSleeved Docs

Browse all cards

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

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

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. Canonical list: packages/lib/src/games.ts (PUBLIC_API_GAME_SLUGS). Update that file and this enum together when adding a game.

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.

Default1
Range1 <= value <= 1000

Response Body

curl -X GET "https://api.sleeved.gg/v1/games/digimon/cards?cursor=&hitsPerPage=1"

{
  "data": {
    "hits": [
      {
        "id": "BT1-010",
        "cardNumber": "BT1-010",
        "objectID": "BT1-010",
        "name": {
          "english": "Agumon"
        },
        "color": [
          "Red"
        ],
        "cardType": "Digimon",
        "dp": 2000,
        "playCost": 3,
        "level": 3,
        "rarity": "R",
        "attribute": "Vaccine",
        "form": "Rookie",
        "type": "Reptile",
        "effect": "[On Play] Reveal 5 cards from the top of your deck. Add 1 Tamer card among them to your hand. Place the remaining cards at the bottom of your deck in any order.",
        "inheritedEffect": null,
        "securityEffect": null,
        "setId": "BT1",
        "setName": "RELEASE SPECIAL BOOSTER Ver.1.0 [BT01-03]",
        "cardImageUrl": "https://cdn.example.com/cards/digimon/BT1/BT1-010.webp",
        "timings": [
          "On Play"
        ],
        "hasAltArt": true,
        "cardArts": [
          {
            "id": "BT1-010",
            "type": "Base Art",
            "url": "https://cdn.example.com/cards/digimon/BT1/BT1-010.webp"
          }
        ]
      }
    ],
    "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"
}