Filtering and pagination
Most list queries in the WikiParfum API share the same pagination, sorting and filtering parameters. This page describes them as they apply to the perfume list queries —findPerfumes, findPerfumesPublic and findPerfumeByIngredient.
Each query applies only the filters and sort options it supports; unsupported ones are ignored without an error.
recommendedPerfumes supports a subset — see Recommendations.Pagination
Pagination uses an offset-based pattern via thepage parameter, formatted as a string: "offset,limit".
The offset is zero-based. The first value is the starting position, the second is the number of results to return.
When
page is omitted, list queries return the first 20 results ("0,20"); recommendedPerfumes returns the first 10 ("0,10"). No maximum page size is enforced, so keep pages small.
Sorting
Use theorder_by parameter to control result ordering. The format is "field direction". Include the field you sort by in your selection — the examples below do.
The
price-asc and price-desc options sort by market classification (mass, prestige, niche) as a proxy for price tier, not by actual product price. Perfumes without a classification are placed last in both directions.The
customerPrice-asc and customerPrice-desc options sort by your catalog’s actual product prices. Perfumes without a price in your catalog are placed last.Requirements:- A customer API key — one linked to your catalog. With any other key the option is ignored without an error and the results come back unordered.
- Your Product Feed must include the
pricecolumn. - Use a dot (
.) as the decimal separator (e.g.,29.99). Comma-separated values (e.g.,29,99) will be converted automatically, but using dot format is recommended to avoid potential issues. - If a perfume has multiple EANs with different prices, the lowest price is used for sorting. When a customer price range is also set, the lowest price within that range is used.
The
customerPrice sorting options and the customerPriceRange filter are available on findPerfumes, findPerfumesPublic, recommendedPerfumes and findPerfumeByIngredient.The
popularity option ranks perfumes by their global view count from the previous calendar month across WikiParfum and the WikiParfum app. Perfumes without traffic data are placed at the end.The Filters input
TheFilters input type is passed as filters inside search. All filters you set are applied together (AND).
Gender
Filter by target gender.
Pass several values separated by commas to match any of them:
gender: "F,U".
Brand
Filter by brand slug or brand IDs.brand accepts several comma-separated slugs: brand: "chanel,dior".
brandsIds for multiple brands: brandsIds: "42,87,103".
Use excludedBrandsIds to exclude specific brands: excludedBrandsIds: "55,60".
Use subBrandsIds to restrict results to specific sub-brands: subBrandsIds: "12,34".
Public catalog only: sub-brand exclusion and per-brand allowlist
Two brand filters are applied byfindPerfumesPublic only. Every other query ignores them without an error.
Use excludedSubBrandsIds to hide whole sub-brands (product lines): excludedSubBrandsIds: "126,1014". Perfumes that have no sub-brand are never excluded.
Use allowedPerfumesIdsByBrand to restrict a brand to an explicit list of perfumes. Each entry names a brand and the perfume IDs allowed for it; perfumes of brands not listed are unaffected.
A request accepts at most 50 entries, and at most 1,000 perfume IDs per entry. Exceeding either limit fails with
ALLOWED_PERFUMES_LIMIT_EXCEEDED (HTTP 400) — see Error Handling.
Olfactive family
Filter by primary family, secondary family, or both. Select the matching family fields — see the table above.familiesIds also accepts groups separated by ;. In each group, the first ID is a primary family and the rest are secondary families: "3,7,9;5,2" matches perfumes with primary family 3 and secondary family 7 or 9, or primary family 5 and secondary family 2.
Market classification
Pass several values separated by commas to match any of them:
classification: "prestige,niche".
Intensity range
Filter by olfactive intensity using an inclusive min/max range. Both bounds are required; a single value is ignored.Customer price range
Filter by your catalog’s product prices using a min/max range."min,max" where both values are numeric and both bounds are inclusive. Perfumes without a price in your catalog are excluded from the results when this filter is applied.
This filter requires a customer API key and the
price column in your Product Feed. With any other key, or with a value that is not two finite numbers (for example "10" or "a,b"), the filter is ignored without an error and all perfumes are returned.If a perfume has multiple EANs with different prices, the perfume is included if any of its EANs falls within the range. Only the EANs within the range are then reported in eans and customerInfo, and used for customerPrice sorting.Discontinued products
"no" excludes discontinued perfumes. It is the only value applied: any other value, including "yes", returns discontinued and active perfumes alike.
Release date
Filter by release year or year-month.Region and country
Restrict results to perfumes whose brand is distributed in specific regions. Regions are set per brand, not per perfume. Selectregion in your query when using these filters.
europe, usa_canada, asia, africa or world. Ask your ScentXP account manager for the full list.
Alternatively, pass ISO country codes with countries. They are converted to the regions that contain them; if none of the codes matches a region, world is used.
countries is ignored when regions is also set. Use one or the other.Additional filters
withImage and showVariant apply to ingredient queries only; perfume queries ignore them. findPerfumes and findPerfumesPublic already exclude perfumes without an image.
