Skip to main content

Perfume data

Perfumes are the central entity in WikiParfum. Each perfume record includes rich metadata — brand, olfactive family, ingredients, perfumers, imagery, and more — enabling product pages, comparison tools, and enriched catalog experiences.

Retrieve a single perfume

Fetch a perfume by its unique ID, URL-friendly slug, or EAN barcode. Perfume queries — except findPerfumesPublic, described below — return only perfumes your integration can access: perfumes allowed by your integration’s access rules, whose perfume and brand are both visible. A single lookup for a perfume that does not exist, or is not available to your integration, fails with PERFUME_NOT_FOUND (HTTP 404) and returns null for the field — see Error Handling. When the requested lang has no translation, name, description and slug are returned in English.

By ID

By slug

Useful for SEO-friendly URLs and deep linking. The slug is matched in the requested lang first and then in English, so an English slug works with any lang.

By EAN

Look up a perfume using its barcode — ideal for scan-to-discover experiences. Pass the EAN as digits only. An EAN shorter than 13 digits is also tried zero-padded to 13 digits, and an EAN with a leading zero is also tried without it, so 12-digit UPC-A codes resolve as well.
You can also look up several EANs at once. The result has one entry per matched EAN, with the EAN as stored in WikiParfum in the ean field: a perfume appears once for each of its EANs you sent, and EANs that match nothing are left out. If none of the EANs match, the query fails with PERFUMES_NOT_FOUND (HTTP 404) instead of returning an empty list.

List and filter perfumes

Retrieve perfumes with text search, filters, sorting, and pagination. Filters, sort options and page sizes are described in Filtering & Pagination. search is a substring match, not a full-text index. It matches the perfume name (in the requested lang and in English), the brand name and the sub-brand name. Separate alternatives with |, for example "sauvage|bleu". findPerfumes only returns perfumes that have an image, a name and a slug.

Filter by brand

Filter by perfumist

Filter by perfumer with perfumist (an ID) or perfumistSlug. The slug is matched in the requested lang or in English.
A perfumist filter only works when the query also selects perfumers or perfumer. Without that selection the request fails with INTERNAL_SERVER_ERROR.
Get perfumes similar to one or more input perfumes, ranked by olfactive proximity. Pass at least one input: perfumes (comma-separated IDs) or perfumeEans (comma-separated EANs). See the Recommendations guide for result order, order_by values, caching and empty results.

By perfume ID

By EAN

Use EAN barcodes as input — ideal for scan-based or POS-integrated experiences where you have barcodes but not WikiParfum IDs.

With a user identifier

Pass a userId to attribute the request to an end user in ScentXP analytics. It does not change the results. To tailor recommendations to a user, send the perfumes from their history as input. See Sessions & User Identity and CRM & Personalization.

Custom recommendation rules

Use customRecommendation to control which brands or perfumes appear in results. Essential for retailers who need recommendations limited to their own assortment, or brands that want to exclude competitors.
Your integration’s access rules still apply, and including brands or perfumes they forbid fails the request. With customRecommendation enabled, pages after the first usually come back empty. See Custom recommendation rules.

Filtered recommendations

recommendedPerfumes applies a subset of the standard filters; the others are ignored without an error. gender also returns unisex perfumes. See Filtering results for the supported filters and the fields some of them require.

Browse all WikiParfum perfumes

The findPerfumesPublic query browses the perfumes WikiParfum publishes for public use: perfumes flagged as public, whose perfume and brand are visible. It is not limited by your integration’s access rules. It uses a reduced PerfumePublic type with fewer fields, making it ideal for browsing, discovery, and public-facing experiences. Like findPerfumes, it only returns perfumes that have an image, a name and a slug.
findPerfumes vs findPerfumesPublic: findPerfumes returns the perfumes your integration’s access rules allow, with the full Perfume type. ScentXP configures those rules for your integration. Your Product Feed supplies the prices, the eans narrowing and customerInfo. findPerfumesPublic ignores the access rules and returns published perfumes only, with a reduced field set.

PerfumePublic fields

The PerfumePublic type exposes a subset of the full Perfume type:

Input parameters

findPerfumesPublic accepts a PerfumesPublicSearch input with the following fields:

Key perfume fields

eans lists the barcodes WikiParfum knows for the perfume. When your integration has a Product Feed, the list is narrowed to the EANs in your catalog — but only when at least one EAN of the perfumes in the same response is in your catalog. Otherwise every known EAN is returned. This applies to both Perfume and PerfumePublic.