Search or list products (EAN-grouped, lowest price first)

Each product appears once, at the lowest price among stores that currently have it in stock (or the lowest listed price if it is sold out everywhere). listing_count is the number of stores carrying the product (including sold out); offer_count is the number with it in stock right now. For a barcode query (see q), offer_count counts the store listings with that barcode, including sold-out ones, and listing_count is not set.

get/api/products

Request

  • Base URL: https://api.glowjakt.se
  • URL: https://api.glowjakt.se/api/products
  • Auth: none required

Query parameters

qstring

Free-text search (product, brand, type). A query of only digits (spaces and hyphens allowed) with 8-14 digits is first looked up as a barcode: EAN-8, EAN-13, UPC-A or GTIN-14, leading zeros optional, no check-digit validation. A match returns that product regardless of other filters and pagination. Without a match, a query of exactly 8 or 13 digits returns no products and any other digit query is treated as free text. For a barcode match, offer_count counts the store listings with that barcode, including sold-out ones, and listing_count is not set.

category'skincare' | 'makeup' | 'haircare' | 'fragrance' | 'nails' | 'body' | 'accessories'
max_pricenumber

Max price in the market's local currency.

key_ingredientstring

Only products containing any of these key-ingredient groups (slugs from /api/ingredients, comma-separated = OR). E.g. "retinol" or "retinol,niacinamide".

exclude_ingredientstring

Exclude products containing any of these key-ingredient groups (comma-separated). E.g. "fragrance" or "sls,silicones" for targeted free-from filtering.

exclude_controversialboolean

If true, exclude products containing any commonly-avoided ingredient (fragrance, parabens, silicones, SLS, mineral oil, formaldehyde, phenoxyethanol, propylene glycol, alcohol denat). Shortcut for exclude_ingredient with all 9 Controversial slugs.

sizeinteger

Results per page (default 20).

pageinteger
attributestring

Brand-level ethics/values filter (merges third-party certifications and the brand's own claims per bucket). Slugs: vegansk, djurtestfri, ekologisk, skonsam, hallbar. Comma-separated = AND. See /api/attributes for localized names and counts.

Response

Paged product list

totalinteger
pageinteger
sizeinteger

Changes

No recorded changes to this operation across all 1 revision of this API.