/pcpartpicker/products/filters

POST /api/pcpartpicker/products/filters

Price: 10 credits

List the filter groups a PCPartPicker category publishes: every option group with its selectable labels, every numeric group with its unit and the lowest and highest values currently in the catalogue, and the orderings the category offers.

How to use it

Read this before filtering a category with /pcpartpicker/products/search: the group names and option labels are category-specific, so what CPUs call Socket and Core Family has no counterpart under video cards. A group with `kind` values goes into that endpoint's `filters` by `name` plus the option `label`; a group with `kind` range goes into `ranges` by `name` with bounds in the `unit` shown here, where the literal unit `currency` means whole units of the region's money and an absent unit means a plain count; the group named Sort lists what `sort` accepts. A category can publish more than one group under the same `name` and `kind`, such as two option groups both named Color; pass the option `label` and the search endpoint resolves it against whichever of those groups actually offers it, so every label listed here is usable. Combining labels that only exist in different such duplicate groups is rejected with a 422 naming both groups' options, since duplicates can describe genuinely different things, such as a Power Supply group of model names versus one of Yes/No. `is_common` marks the options PCPartPicker shows without expanding the group — the rest are equally valid.

Parameters

Request body

Response

Errors

Response headers