GET /v1/public/search
operationId: searchPublicCatalog
Finds cards in the catalog by name. This is the entry point: every other operation takes an identifier that comes out of a search hit.
Important: matching is name-prefix only
Pass the card name and nothing else. The search matches on the start of the card name, so appending a card number, a set name or a year returns an empty list rather than a narrower one.
Searching for "Charizard" returns results. Searching for "Charizard 4/102" returns none.
To narrow to a specific printing, search the name alone and then pick the right hit out of the results by its setName, cardNumber, variant and finish.
Parameters
- q
- The card name. Minimum 2 characters. Required.
- limit
- Number of hits to return. Default 24, maximum 48.
Response
- hits[]
- The matches, best first. Each hit carries a card object plus the fields below.
- heroImagePath
- Path to a representative image of the card, when one exists.
- heroScanId
- Identifier of the collector scan that image came from, when one exists.
- Each hit contains a full card object. The fields of that object are listed under The card object below.