> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noteboxd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fragrance API Licensing, Bottle Images & EDL

> Commercial perfume API licensing terms, Standard Licence vs. Enterprise Embedded Data License (EDL), display-only perfume bottle image URLs, and HTTP 403 troubleshooting.

Usage of the Noteboxd **fragrance and perfume developer API** across all self-serve plans is governed by the **Standard Licence** in version `2.0` of the [Commercial API Terms](https://www.noteboxd.com/legal/api-terms). Permanent perfume database replication requires a negotiated **Enterprise Embedded Data License (EDL)**.

## Standard Licence vs. Enterprise EDL

| Capability | Standard Licence (self-serve plans) | Enterprise EDL (by contract) |
| - | - | - |
| Store bare Noteboxd `id` and `slug` values permanently | Yes | Yes |
| Cache fragrance profiles, notes, accords, scores, and reviews | Only within your [plan cache window](https://docs.noteboxd.com/concepts/caching-and-etags.md) | As set out in your signed order |
| Power discovery tools, filtering, and recommendations | Yes, over freshly cached API responses | Yes |
| Maintain a permanent local replica or search index of Noteboxd fields | No | Yes, up to contracted cap |
| Download, re-host, or mirror bottle photographs | No | No |
| Attribution waiver | Not included | Negotiable |

To ask about an Enterprise Embedded Data License (annual contracts starting from `$30,000/year`), email [api@noteboxd.com](mailto:api@noteboxd.com) or [sales@noteboxd.com](mailto:sales@noteboxd.com).

## Data sources, brand rights, and no affiliation

Noteboxd is an independent fragrance encyclopedia and community. We are **not** affiliated with, endorsed by, sponsored by, or acting on behalf of any fragrance brand or rights holder, and we do not hold direct brand licensing partnerships for product photography.

* **Where data and images come from:** Catalogue metadata and reference bottle imagery are compiled from publicly available brand websites, public reference sources, and community contributions for informational identification.
* **Scope of your API licence:** Your Noteboxd API subscription covers access to the Noteboxd API and Noteboxd's compiled dataset only. Noteboxd does not grant, and cannot sublicense, third-party copyrights, trademarks, trade dress, or brand image licences. You are responsible for assessing whether displaying brand names, marks, or product images complies with applicable law in your jurisdiction (and for obtaining direct brand permission where required).
* **Rights-holder takedowns:** We honour takedown requests at [legal@noteboxd.com](mailto:legal@noteboxd.com). If an image is removed or updated, signed `img.noteboxd.com` links ensure the change propagates cleanly.

## Bottle and entity image links

Catalogue responses return `imageUrl` values hosted on `https://img.noteboxd.com` across protected catalogue prefixes (`/f/`, `/f-nobg/`, `/f10/`, `/fm/`, `/b/`, `/b-nobg/`, `/pf/`, `/i/`).

Signed `img.noteboxd.com` links are display-only to prevent bulk scraping, keep image access aligned with active plans, and ensure rights-holder updates or takedowns propagate cleanly — not because Noteboxd claims copyright over brand bottle photography.

### Display-only rules

1. **Render directly in the client view:** Load `imageUrl` in a browser `<img>` element or mobile app image view using the exact URL returned by the API.
2. **Client caching is fine; server-side mirroring is not:** Standard browser HTTP caching and native mobile image caches (`NSURLCache`, `Glide`, `SDWebImage`) within the signed URL's lifetime are permitted. Self-serve plans do not permit downloading, scraping, mirroring, saving image binaries to your own S3/R2 bucket or CDN, or routing images through backend fetchers or server-side image optimizers.
3. **Keep `exp` and `sig` parameters intact:** Under v2 signed image links, URLs look like:

```text theme={null}
https://img.noteboxd.com/f/guerlain/shalimar-eau-de-toilette.webp?exp=1795478400&sig=...
```

Each signed link stays valid for your plan's static catalogue cache window (bucketed to UTC midnight so calls on the same UTC day return identical URLs). When refreshing via `GET` with `If-None-Match` on a later UTC day, unchanged records still receive the **50% unchanged-record discount** and return `200 OK` with fresh signed URLs and `X-Noteboxd-Revalidated: image-links-refreshed` so cached records never carry expired bottle images.

> [!TIP]
>
> If you use **Next.js**, either pass `unoptimized` on `<Image src={fragrance.imageUrl} unoptimized ... />` or use a custom `loader` that appends `&w=` (see below). Without one of these, the Next.js image optimizer fetches `img.noteboxd.com` server-side, which can trigger HTTP `403` edge restrictions and double-proxy traffic.

### Pre-sized image variants (`?w=`)

To load smaller thumbnails without proxying or re-hosting images on your own server, append `&w=<pixels>` to any signed `img.noteboxd.com` URL:

```text theme={null}
https://img.noteboxd.com/f/guerlain/shalimar-eau-de-toilette.webp?exp=1795478400&sig=...&w=320
```

* **Supported width buckets:** `160`, `320`, `640`, and `1024` pixels. Any positive integer `w` snaps up to the nearest bucket (capped at `1024`) with `fit=scale-down`, automatic WebP/AVIF negotiation, and transparent backgrounds preserved.
* **Signature compatibility:** `exp` and `sig` only sign the pathname and expiry timestamp, so appending `&w=...` keeps the signature valid.

Example Next.js custom loader:

```tsx theme={null}
"use client";

import Image, { type ImageLoaderProps } from "next/image";

const BUCKETS = [160, 320, 640, 1024];

function noteboxdImageLoader({ src, width }: ImageLoaderProps) {
  const bucket = BUCKETS.find((b) => b >= width) ?? 1024;
  const separator = src.includes("?") ? "&" : "?";
  return `${src}${separator}w=${bucket}`;
}

export function BottleImage({ src, alt }: { src: string; alt: string }) {
  return <Image loader={noteboxdImageLoader} src={src} alt={alt} width={320} height={320} />;
}
```

### Troubleshooting HTTP 403 on img.noteboxd.com

| Symptom | Cause | Resolution |
| - | - | - |
| Server-side fetch (`curl`, `python-requests`, `axios`, `node-fetch`, Next.js `/_next/image`) gets `403` | Edge security rules block automated CLI/server scraping against catalogue image assets. | Render `imageUrl` directly in the end user's browser or mobile client instead of fetching from your server. |
| JSON response `403 IMAGE_LINK_REJECTED` (`reason: "expired"`) | The `exp` timestamp on the signed URL has passed. | Refresh the fragrance, brand, note, or search response from `/v2` to obtain a newly signed URL. |
| JSON response `403 IMAGE_LINK_REJECTED` (`reason: "bad_signature"` or `"malformed"`) | Query parameters (`exp` or `sig`) were stripped, re-encoded, or modified. | Pass `imageUrl` verbatim as returned by the API without stripping query parameters. |
| JSON response `403 IMAGE_LINK_REJECTED` (`reason: "unsigned"`) | An unsigned third-party embed was requested after signed-URL enforcement. | Ensure URLs come from a `/v2` API response and include both `exp` and `sig`. |

## Attribution requirements

Where you display Noteboxd data under the Standard Licence, show a clear attribution credit next to the fragrance detail view or in your site credits or footer:

> Fragrance data provided by [Noteboxd](https://www.noteboxd.com)

Additional rules:

* **Enrichment (`POST /v2/fragrances/enrich`):** Preserve any attribution metadata returned in the payload.
* **Reviews (`GET /v2/fragrances/{id}/reviews` and `enrich`):** Display each review with its `author.username` and a link back to the fragrance page on `noteboxd.com`, as noted in each item's `attribution` field.
* **No implied endorsement:** Do not present your app or website as endorsed by or affiliated with Noteboxd.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.