sets

Get a set

One set by code, slug or alternate id.

get/v1/sets/{code}

Request

  • Base URL: https://api.pokemontcgapi.com
  • URL: https://api.pokemontcgapi.com/v1/sets/{code}
  • Auth: API key in header X-Api-Key

Path parameters

codestring required

Set code (bs), slug (base) or alternate id (base1). All three resolve, because whatever you have stored is one of them and you should not have to work out which.

Query parameters

langstring

Locale for the set name. If a translation is unavailable, the original name is returned.

Headers

If-None-Matchstring

Send back the ETag you stored. The API returns a strong ETag on every catalogue response, and a 304 is a header exchange: no body, no database row read.

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.