curl -G "https://api.noteboxd.com/v2/fragrances/compare" \
-H "Authorization: Bearer $NOTEBOXD_API_KEY" \
--data-urlencode "a=creed/aventus" \
--data-urlencode "b=nishane/hacivat"
const url = new URL("https://api.noteboxd.com/v2/fragrances/compare");
url.searchParams.set("a", "creed/aventus");
url.searchParams.set("b", "nishane/hacivat");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.NOTEBOXD_API_KEY}` },
});
const { data } = await res.json();
import os, requests
res = requests.get(
"https://api.noteboxd.com/v2/fragrances/compare",
headers={"Authorization": f"Bearer {os.environ['NOTEBOXD_API_KEY']}"},
params={"a": "creed/aventus", "b": "nishane/hacivat"},
timeout=15,
)
res.raise_for_status()
comparison = res.json()["data"]["comparison"]
{
"data": {
"comparison": {
"a": {
"id": "cm_aventus",
"name": "Aventus",
"slug": "creed/aventus",
"card": {
"id": "cm_aventus",
"slug": "creed/aventus",
"name": "Aventus",
"imageUrl": "https://img.noteboxd.com/f/creed/aventus.webp?exp=1795478400&sig=...",
"concentration": "Eau de Parfum",
"launchYear": 2010,
"communityScore": 8.5,
"ratingCount": 920,
"cabinetCount": 640,
"brand": { "name": "Creed", "slug": "creed" },
"notes": []
}
},
"b": {
"id": "cm_hacivat",
"name": "Hacivat",
"slug": "nishane/hacivat",
"card": {
"id": "cm_hacivat",
"slug": "nishane/hacivat",
"name": "Hacivat",
"imageUrl": "https://img.noteboxd.com/f/nishane/hacivat.webp?exp=1795478400&sig=...",
"concentration": "Extrait de Parfum",
"launchYear": 2017,
"communityScore": 8.4,
"ratingCount": 510,
"cabinetCount": 310,
"brand": { "name": "Nishane", "slug": "nishane" },
"notes": []
}
},
"data": {
"sharedNotes": ["Bergamot", "Pineapple", "Oakmoss", "Patchouli"],
"sharedAccords": ["Fruity", "Woody", "Citrus"],
"sharedFamilies": ["CHYPRE"],
"distinctToA": { "notes": ["Birch", "Black Currant"], "accords": ["Smoky", "Leather"] },
"distinctToB": { "notes": ["Grapefruit", "Clearwood"], "accords": ["Mossy", "Earthy"] },
"scores": {
"a": { "community": 8.5, "critic": 8.7 },
"b": { "community": 8.4, "critic": 8.6 }
},
"audience": { "a": "Masculine", "b": "Unisex" }
},
"prose": {
"sharedCharacter": "Both open with crisp bergamot and juicy pineapple over a structured chypre-woody base.",
"differences": "Aventus leans smokier with birch and dark fruit, whereas Hacivat drives louder oakmoss and tart grapefruit.",
"whoSuits": "Pick Aventus for an easy-wearing smoky classic; choose Hacivat if you want denser projection and moss."
},
"degraded": false
}
}
}
Community & AI
Compare two fragrances (AI)
Compare two perfumes side by side with shared/distinct notes, accords, scores, and AI prose via the Noteboxd Perfume Developer API.
GET
/
v2
/
fragrances
/
compare
curl -G "https://api.noteboxd.com/v2/fragrances/compare" \
-H "Authorization: Bearer $NOTEBOXD_API_KEY" \
--data-urlencode "a=creed/aventus" \
--data-urlencode "b=nishane/hacivat"
const url = new URL("https://api.noteboxd.com/v2/fragrances/compare");
url.searchParams.set("a", "creed/aventus");
url.searchParams.set("b", "nishane/hacivat");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.NOTEBOXD_API_KEY}` },
});
const { data } = await res.json();
import os, requests
res = requests.get(
"https://api.noteboxd.com/v2/fragrances/compare",
headers={"Authorization": f"Bearer {os.environ['NOTEBOXD_API_KEY']}"},
params={"a": "creed/aventus", "b": "nishane/hacivat"},
timeout=15,
)
res.raise_for_status()
comparison = res.json()["data"]["comparison"]
{
"data": {
"comparison": {
"a": {
"id": "cm_aventus",
"name": "Aventus",
"slug": "creed/aventus",
"card": {
"id": "cm_aventus",
"slug": "creed/aventus",
"name": "Aventus",
"imageUrl": "https://img.noteboxd.com/f/creed/aventus.webp?exp=1795478400&sig=...",
"concentration": "Eau de Parfum",
"launchYear": 2010,
"communityScore": 8.5,
"ratingCount": 920,
"cabinetCount": 640,
"brand": { "name": "Creed", "slug": "creed" },
"notes": []
}
},
"b": {
"id": "cm_hacivat",
"name": "Hacivat",
"slug": "nishane/hacivat",
"card": {
"id": "cm_hacivat",
"slug": "nishane/hacivat",
"name": "Hacivat",
"imageUrl": "https://img.noteboxd.com/f/nishane/hacivat.webp?exp=1795478400&sig=...",
"concentration": "Extrait de Parfum",
"launchYear": 2017,
"communityScore": 8.4,
"ratingCount": 510,
"cabinetCount": 310,
"brand": { "name": "Nishane", "slug": "nishane" },
"notes": []
}
},
"data": {
"sharedNotes": ["Bergamot", "Pineapple", "Oakmoss", "Patchouli"],
"sharedAccords": ["Fruity", "Woody", "Citrus"],
"sharedFamilies": ["CHYPRE"],
"distinctToA": { "notes": ["Birch", "Black Currant"], "accords": ["Smoky", "Leather"] },
"distinctToB": { "notes": ["Grapefruit", "Clearwood"], "accords": ["Mossy", "Earthy"] },
"scores": {
"a": { "community": 8.5, "critic": 8.7 },
"b": { "community": 8.4, "critic": 8.6 }
},
"audience": { "a": "Masculine", "b": "Unisex" }
},
"prose": {
"sharedCharacter": "Both open with crisp bergamot and juicy pineapple over a structured chypre-woody base.",
"differences": "Aventus leans smokier with birch and dark fruit, whereas Hacivat drives louder oakmoss and tart grapefruit.",
"whoSuits": "Pick Aventus for an easy-wearing smoky classic; choose Hacivat if you want denser projection and moss."
},
"degraded": false
}
}
}
Compares two fragrances (
a and b), returning deterministic note, accord, family, score, and audience overlaps alongside three AI-written comparison sections.
If the model step times out or fails, prose returns null with degraded: true, while the deterministic data object remains complete. Passing the same fragrance for a and b returns 400 INVALID_QUERY.
| Price | $0.060 per call |
Unchanged If-None-Match | Yes (50% off: $0.030) |
| Cache window | 24 hours (86400s) |
| Plans | Paid plans only (PRO, PAYG, STARTER, GROWTH, SCALE, ENTERPRISE, or granted credits) |
| Monthly AI limit | Pro and plan allowances cover AI calls up to 25% of monthly allowance value; excess requires granted credits or prepaid balance (429 AI_BUDGET_EXCEEDED). |
| Distinct quota | Counts both a and b toward daily and 30-day distinct fragrance quotas |
Query parameters
Response
Show Comparison envelope
Show Comparison envelope
Show Comparison payload fields
Show Comparison payload fields
Deterministic comparison:
sharedNotes, sharedAccords, sharedFamilies, distinctToA ({ notes, accords }), distinctToB ({ notes, accords }), scores ({ a: { community, critic }, b: { community, critic } }), and audience ({ a, b }).curl -G "https://api.noteboxd.com/v2/fragrances/compare" \
-H "Authorization: Bearer $NOTEBOXD_API_KEY" \
--data-urlencode "a=creed/aventus" \
--data-urlencode "b=nishane/hacivat"
const url = new URL("https://api.noteboxd.com/v2/fragrances/compare");
url.searchParams.set("a", "creed/aventus");
url.searchParams.set("b", "nishane/hacivat");
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.NOTEBOXD_API_KEY}` },
});
const { data } = await res.json();
import os, requests
res = requests.get(
"https://api.noteboxd.com/v2/fragrances/compare",
headers={"Authorization": f"Bearer {os.environ['NOTEBOXD_API_KEY']}"},
params={"a": "creed/aventus", "b": "nishane/hacivat"},
timeout=15,
)
res.raise_for_status()
comparison = res.json()["data"]["comparison"]
{
"data": {
"comparison": {
"a": {
"id": "cm_aventus",
"name": "Aventus",
"slug": "creed/aventus",
"card": {
"id": "cm_aventus",
"slug": "creed/aventus",
"name": "Aventus",
"imageUrl": "https://img.noteboxd.com/f/creed/aventus.webp?exp=1795478400&sig=...",
"concentration": "Eau de Parfum",
"launchYear": 2010,
"communityScore": 8.5,
"ratingCount": 920,
"cabinetCount": 640,
"brand": { "name": "Creed", "slug": "creed" },
"notes": []
}
},
"b": {
"id": "cm_hacivat",
"name": "Hacivat",
"slug": "nishane/hacivat",
"card": {
"id": "cm_hacivat",
"slug": "nishane/hacivat",
"name": "Hacivat",
"imageUrl": "https://img.noteboxd.com/f/nishane/hacivat.webp?exp=1795478400&sig=...",
"concentration": "Extrait de Parfum",
"launchYear": 2017,
"communityScore": 8.4,
"ratingCount": 510,
"cabinetCount": 310,
"brand": { "name": "Nishane", "slug": "nishane" },
"notes": []
}
},
"data": {
"sharedNotes": ["Bergamot", "Pineapple", "Oakmoss", "Patchouli"],
"sharedAccords": ["Fruity", "Woody", "Citrus"],
"sharedFamilies": ["CHYPRE"],
"distinctToA": { "notes": ["Birch", "Black Currant"], "accords": ["Smoky", "Leather"] },
"distinctToB": { "notes": ["Grapefruit", "Clearwood"], "accords": ["Mossy", "Earthy"] },
"scores": {
"a": { "community": 8.5, "critic": 8.7 },
"b": { "community": 8.4, "critic": 8.6 }
},
"audience": { "a": "Masculine", "b": "Unisex" }
},
"prose": {
"sharedCharacter": "Both open with crisp bergamot and juicy pineapple over a structured chypre-woody base.",
"differences": "Aventus leans smokier with birch and dark fruit, whereas Hacivat drives louder oakmoss and tart grapefruit.",
"whoSuits": "Pick Aventus for an easy-wearing smoky classic; choose Hacivat if you want denser projection and moss."
},
"degraded": false
}
}
}