Unified search
Thesearch query provides full-text search across the WikiParfum catalog — perfumes, ingredients, brands, sub-brands, families, and perfumists — in a single call. Results are scored by relevance and grouped by entity type, making it ideal for building search-as-you-type experiences and omnibox interfaces.
Each result carries the entity
id, a relevance score and an optional extra object whose content depends on the entity type. Results do not include names or images: fetch the details with the entity queries, for example findPerfumes(search: { ids: "382,21130" }) for perfumes.
If the search service fails, the query returns one of the SEARCH_SERVICE_* error codes — see Error Handling.
Basic search
Filter by entity type
Use thetypes parameter to restrict results to specific entity types. This reduces payload size and improves response time when you only need one category.
Available search types
Search multiple types
Combine types to build focused search experiences — for example, searching perfumes and ingredients together for a discovery interface.Catalog-scoped search
Uselimit_catalog: true to restrict perfume results to the perfumes your integration’s access rules allow, limited to visible perfumes of visible brands — the same rules findPerfumes applies. Without it, results are not restricted to your integration.
- Only perfume results are scoped. Ingredient, family and perfumist results are not.
- If your access rules allow no perfume at all, every type comes back empty, with all totals at
0.

