Skip to content

Listings and search

View .mdllms.txt

Listings on sale, searched and filtered, and their photos. Generated from the OpenAPI spec. Each endpoint says which key it needs; see Authentication.

Method Path What it does
GET /v1/images/{id}/{file} Get a photo
GET /v1/listings Search listings on sale
GET /v1/listings/{id} Get a listing on sale
GET /v1/listings/{id}/similar Suggest listings like one (“You may also like”)

GET /v1/images/{id}/{file} · operation getImage

Public, for tags: no key needed. file is thumb.jpg, medium.jpg or large.jpg. Never changes, so it’s cached for a year.

Auth: None.

Parameters

Name In Type Notes
id * path string
file * path string one of thumb.jpg, medium.jpg, large.jpg

Responses: 200 OK · default a problem

GET /v1/listings · operation listListings

Every parameter is optional. q matches the title, catalogue terms (brand, designer…) and description, ignoring accents and matching word beginnings (“henn” finds Henningsen). Filters combine: term matches any of the terms given per kind (brand A or B, and designer C), attr matches any of the values given per attribute. Prices are compared across currencies at the day’s rate. facet adds counts for filters (how many would match with each brand, condition…), and when q finds nothing, suggestion is a corrected q that does (typos).

Auth: a secret or publishable key (Authorization: Bearer sk_… or pk_…)

Parameters

Name In Type Notes
limit query integer ≥ 1; ≤ 100; default 24
cursor query string next_cursor from the previous page
q query string Words to look for. max 200 chars
sort query string relevance (default with q), newest (default without), popular (most saved). one of relevance, newest, price_asc, price_desc, popular
category query string[] Categories, each with its subcategories; repeat for several (any of them)
location query string[] Stored at any of these marketplace locations (ids, from GET /v1/locations), or seller: still with the seller; repeat for several
term query string[] Catalogue term ids, e.g. brands; repeat for several
seller query string
attr query string[] key:value, e.g. condition:excellent; repeat for several
min_price query integer In minor units of currency. ≥ 0
max_price query integer In minor units of currency. ≥ 0
facet query string[] Count matches per value: term: (e.g. term:brand), attr: (e.g. attr:condition), category (category ids, each counting only its own listings) or location (location ids, and seller); each count leaves out that facet’s own filter
new_days query integer Only listings put on sale in the last this many days (“New in”); 0 or left out: any. ≥ 0; ≤ 365
ids query string[] Only these listings (e.g. a cart’s), in this order unless sort is given; repeat for several. Ids not on sale are left out. Pages like any search: set limit to get them all at once
currency query string Show prices in this currency too (display_price); one of the marketplace’s
fields query string full: every field; summary: only what a listing card shows (the ListingSummaryBody fields: id, seller_id, status, title, price, display_price, stock, category_id, terms without descriptions, attributes, custody, site, the main photo in images, favorited, published_at), which is quicker to load and much smaller. one of full, summary; default "full"

Responses: 200 SearchOutputBody · default a problem

GET /v1/listings/{id} · operation getListing

Listings not on sale are 404 here; sellers see theirs under /v1/me/listings.

Auth: a secret or publishable key (Authorization: Bearer sk_… or pk_…)

Parameters

Name In Type Notes
id * path string
currency query string Show prices in this currency too (display_price); one of the marketplace’s

Responses: 200 ListingBody · default a problem

Suggest listings like one (“You may also like”)

Section titled “Suggest listings like one (“You may also like”)”

GET /v1/listings/{id}/similar · operation listSimilarListings

Listings on sale like this one, best first: sharing its designer, brand or category, details (material, colour…), price range or title words, or saved by the same shoppers. No seller, brand or designer takes over the list while there are others to show, and near-equal matches are mixed per listing and per day, so the list stays the same on a reload and changes over time. The listing may be sold. reasons says why each was picked, by listing id. The matches are worked out at most every 15 minutes per listing; each answer still leaves out what has sold since and has current prices.

Auth: a secret or publishable key (Authorization: Bearer sk_… or pk_…)

Parameters

Name In Type Notes
id * path string
limit query integer ≥ 1; ≤ 24; default 8
currency query string Show prices in this currency too (display_price); one of the marketplace’s
fields query string full: every field; summary: only what a listing card shows (the ListingSummaryBody fields: id, seller_id, status, title, price, display_price, stock, category_id, terms without descriptions, attributes, custody, site, the main photo in images, favorited, published_at), which is quicker to load and much smaller. one of full, summary; default "full"

Responses: 200 SimilarOutputBody · default a problem

Fields marked * are always present in responses and required in requests.

Field Type Notes
facets FacetBody[] Counts per facet asked for with facet
items * ListingBody[]
next_cursor string
suggestion string When q found nothing: a corrected q that finds something (“chiar” → “chair”)
total * integer How many listings match
Field Type Notes
address LocationBody Seller and console only: the exact address it’s at now — the location’s once it’s stored at one, otherwise the seller’s
attribute_order * string[] Every key of attributes, in the order to show them
attributes * map of any The marketplace’s own fields
category_id string
closed_at string (date-time)
commission_code CommissionCodeBody The code the seller entered to lower the commission
commission_percent number (double) Console only: overrides the marketplace’s commission; absent means the default
created_at * string (date-time)
custody * string Where it is: at the seller’s, being collected, or stored. one of seller, collecting, stored
delivery * Delivery How the item can reach the buyer
description * string
display_price MoneyBody The price in the requested currency, converted at the day’s rate and rounded to its first three digits unless the marketplace wants it exact; checkout charges the same at the same rate
favorite_count * integer How many users have saved it
favorited boolean Whether the signed-in user has saved it (only with X-User-Session)
fulfilment * string Who moves it to the buyer. one of seller, marketplace
id * string
images * ImageBody[] In display order; the first is the main photo
locale * string The language the seller wrote in
location * LocationBody Where it is when it’s with the seller; buyers see only the country, postal code and city
offer MoneyBody The price the marketplace offers: a valuation (valuation_offered), or a new price for a listing on sale, which keeps its price until the seller answers
offer_note string A note with the offer
offer_schedule PriceStepBody[] The price drops offered with the price (valuation_offered)
price MoneyBody Base price, in the seller’s currency
price_schedule PriceStepBody[] The price falls in these steps while on sale
price_schedule_start string (date-time) When the price drops started counting (once on sale); their months count from here
published_at string (date-time)
review_note string Why the marketplace denied it (denied)
seller_blocked boolean The seller is blocked, so the listing is out of the shop
seller_id * string
seller_name string Console lists only: the seller’s name, else display name, else email
shipping_size string Prices delivery from the marketplace’s shipping table
site SiteRefBody The marketplace location it’s stored at or being collected to
status * string one of draft, pending_valuation, valuation_offered, pending_approval, published, closed, denied
stock * integer
stored_at string (date-time) Stored since
suggested_terms map of string Seller and console only: names the seller gave that aren’t in the catalogue yet, by kind, e.g. {“brand”: “Le Klint”}
terms * map of TermRefBody By kind, e.g. brand
title * string
updated_at * string (date-time)
wants_storage boolean The seller asked to have it collected and stored
Field Type Notes
items * ListingBody[]
reasons * map of string[] Why each was picked, by listing id: same_designer, same_brand, same_category, saved_together, similar_title, shared_details, similar_price
Field Type Notes
facet * string As asked for, e.g. term:brand, attr:condition, category or location
values * FacetValueBody[]
Field Type Notes
city string max 100 chars
country string ISO 3166-1 alpha-2, e.g. SE
latitude number (double) With longitude, where it is on a map (from GET /v1/places/{id}). ≥ -90; ≤ 90
line1 string The street address (seller and console only; needed to leave draft unless it’s stored at one of the marketplace’s locations). max 200 chars
line2 string Apartment, floor, entrance…. max 200 chars
longitude number (double) ≥ -180; ≤ 180
place_id string Google’s id for the address, when it was found with the address search. max 300 chars
postal_code string max 20 chars
Field Type Notes
code * string
percent_off * integer How much of the commission it takes off, in percent (25 makes a 30% commission 22.5%)
Field Type Notes
buyer_arranged boolean
pickup boolean
shipping Shipping
Field Type Notes
amount * integer In minor units: 125000 SEK is 1 250,00 kr. ≥ 0
currency * string ISO 4217, one of the marketplace’s
Field Type Notes
height integer
id * string
status * string Sizes exist once ready. one of processing, ready, failed
urls map of string thumb (400 px square), medium (800 px), large (1600 px); cacheable forever
width integer
Field Type Notes
amount * integer The new price, in minor units. ≥ 1
done boolean It has applied
months * integer Months after the schedule starts (the listing goes on sale, or the schedule changes while on sale). ≥ 1; ≤ 60
on string (date-time) When it applies (once on sale)
Field Type Notes
buyer_pickup boolean Buyers may collect purchases here
city string
id * string
kind * string one of showroom, warehouse
name * string
Field Type Notes
descriptions map of string About the brand, designer…, by locale (e.g. en, sv); on single listings only
id * string
name * string
slug * string
Field Type Notes
count * integer
value * string
Field Type Notes
additional_item_price integer ≥ 0
price integer For the first item; omit for “ask for a quote”. ≥ 0