List sets
List the sets within one product line, including catalog counts and slugs for narrowing searches.
/v1/categories/{category}/setscurl --request GET \ --url 'https://pokepos-market-api.vercel.app/v1/categories/pokemon/sets' \ --header 'Authorization: Bearer YOUR_API_KEY'{ "source": "tcgplayer-public-site", "category": "pokemon", "totalProducts": 1000, "coveredBySets": 900, "sets": [ { "name": "30th Celebration", "slug": "30th-celebration", "count": 100 } ]}Parameters
Pass path parameters in the URL and query parameters after ?.
categorystringrequiredpathProduct line slug returned by the categories route, such as pokemon. Example: pokemon.
Response object
Sets and source counts for the product line. The root schema is SetList.
sourcestringName of the market data source.
categorystringProduct line or category for this result.
totalProductsintegerNumber of products in the category.
coveredBySetsintegerProducts represented by the returned set list.
setsSet[]Sets found within this product line.
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.
Status codes
Sets and source counts for the product line.
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.