Skip to main content

Get a set

Fetch the details of a single set.

HTTP Request#

GET https://api.pokemontcg.io/v2/sets/<id>

URL Parameters#

ParameterDescription
idThe Id of the set

Body Parameters#

None

Query Parameters#

None

Code Samples#

card = Set.find('swsh1')

Sample Response#

{
"data": {
"id": "swsh1",
"name": "Sword & Shield",
"series": "Sword & Shield",
"printedTotal": 202,
"total": 216,
"legalities": {
"unlimited": "Legal",
"standard": "Legal",
"expanded": "Legal"
},
"ptcgoCode": "SSH",
"releaseDate": "2020/02/07",
"updatedAt": "2020/08/14 09:35:00",
"images": {
"symbol": "https://images.pokemontcg.io/swsh1/symbol.png",
"logo": "https://images.pokemontcg.io/swsh1/logo.png"
}
}
}