GET /sets/:code

Supported formats: json

Returns a Set
with the given set code.
The code can be either the code or the mtgo_code for the set.

Parameter Type Atn Details
:code String The three or four-letter set code.
format String Optional The data format to return. This method only supports json.
pretty Boolean Optional If true, the returned JSON will be prettified. Avoid using for production code.

Example Requests

Retrieve the Mercadian Masques set.

GET https://api.scryfall.com/sets/mmq