Identify a card
Resolve a Pokémon name and collector number into ranked product candidates. Add a set hint when the same card appears in multiple printings.
/v1/identifyAlways let a user confirm the exact printing before applying a market price.
curl --request GET \ --url 'https://pokepos-market-api.vercel.app/v1/identify?q=Mew%20ex%2066&set=30th%20Celebration' \ --header 'Authorization: Bearer YOUR_API_KEY'{ "source": "tcgplayer-public-site", "query": "Mew ex 66", "parsed": { "name": "Mew ex", "cardNumber": "66", "setHint": "30th Celebration" }, "matchedSet": { "name": "30th Celebration", "slug": "30th-celebration", "count": 100 }, "searchedCount": 18, "totalSearchResults": 18, "truncated": false, "candidates": [ { "productId": 716465, "name": "Mew ex - 066/128", "cardNumber": "066/128", "matchScore": 440 } ]}Parameters
Pass path parameters in the URL and query parameters after ?.
qstringrequiredqueryCard or product text to match. A collector number can be included. Up to 120 characters. Example: Mew ex 66.
setstringqueryOptional set name or slug to narrow the search to one release. Up to 80 characters. Example: 30th Celebration.
limitintegerqueryMaximum number of results to include in this response. Range: 1–24. Default: 12.
Response object
Ranked candidate printings. The root schema is IdentifyResult.
sourcestringName of the market data source.
querystringOriginal or normalized search text.
parsedobjectName, number, and set hint parsed from the card query.
matchedSetSet | nullSet matched from the optional hint, if any.
searchedCountintegerNumber of products inspected while ranking matches.
totalSearchResultsintegerTotal catalog search hits before candidate ranking.
truncatedbooleanWhether candidate inspection stopped at its search cap.
candidatesProductSummary & object[]Ranked exact-printing candidates.
Related objects
Expand a type to inspect its fields.
Set3 fields
namestringDisplay name from the source catalog.
slugstringURL-safe identifier for a category or set.
countintegerNumber of catalog products in the set.
ProductSummary11 fields
productIdintegerNumeric ID for the exact catalog product.
namestringDisplay name from the source catalog.
categorystring | nullProduct line or category for this result.
setNamestring | nullValue returned by the market data source.
setIdinteger | nullValue returned by the market data source.
cardNumberstring | nullCollector number printed on the card.
raritystring | nullRarity label reported by the catalog.
sealedbooleanWhether the product is sealed rather than a single card.
marketPricenumber | nullUS dollars. Null means no observation is available.
lowestPricenumber | nullUS dollars. Null means no observation is available.
listingCountinteger | nullNumber of current listings, when reported.
Status codes
Ranked candidate printings.
Invalid parameter or request body.
An upstream market source is unavailable.
Errors use the error.code and error.message shape. Keep the x-request-id response header for support and tracing.