Get an expansion

Returns a single expansion (set) by its identifier — name, code, release date, card and sealed-product counts, supported languages, logo and symbol URLs.

Authentication is required (any valid API key); no scope.

Path Parameters
  • expansionId
    required

    The expansion's identifier. Returned by GET /v1/games/{gameId}/expansions.

    • Type: number

      The expansion's identifier. Returned by GET /v1/games/{gameId}/expansions.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/expansions/{expansionId}
curl https://public-api.cardnexus.com/v1/expansions/42 \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": 42,
  "gameId": "mtg",
  "slug": "bloomburrow",
  "name": "Bloomburrow",
  "code": "BLB",
  "releaseDate": "2024-08-02T00:00:00.000Z",
  "cardCount": 261,
  "sealedProductCount": 7,
  "languages": [
    "en",
    "fr",
    "de",
    "it",
    "es",
    "ja",
    "ko",
    "zh-Hans"
  ],
  "logoUrl": "https://images.cardnexus.com/expansions/mtg/blb/logo.svg",
  "symbolUrl": "https://images.cardnexus.com/expansions/mtg/blb/symbol.svg"
}