Category tree
List the product categories of one storefront with their ids and local titles.
Loading / 加载中…
Back Market API · E-commerce & marketplace data
The Back Market API offers four calls: a list of supported storefronts, a category tree per market, a filtered product search and the seller offers for a single product, with grade, stock and warranty on every offer.
JSON in, a structured response out. Every public gateway endpoint uses POST.
List the product categories of one storefront with their ids and local titles.
Read one product together with its seller offers, grades and prices.
List the storefronts with their hosts, locales and currencies.
Search or browse one storefront by keyword, grade, price and deal filters.
body.market chooses the storefront a call reads. The choice sets the catalogue, the price list, the currency of the prices and the language of the grade label.
Prices arrive in US dollars for us, in pounds for gb, in kronor for se, in yen for jp and in Australian dollars for au, and in euros for the other markets. Read the currency of each row before comparing figures from two markets. In the backmarket-markets list, status tells the supported storefronts apart from the others it names.
backmarket-categories reads the category tree a storefront shows in its own navigation. The top-level entries are broad groups such as Smartphones, Laptops, Tablets, Audio, Gaming and Household, and each one lists its child categories.
Every entry carries an id, a name and a title, the last written in the language of the selected market, and the child entries also carry an image. The id of a category is the value to send as body.category_id in a search, so one call tells you what a market sells before you query it. The result holds category data only and no product rows.
Each row in the products result of backmarket-search is one product listing, and these fields carry the figures a price comparison needs:
| Field | What it tells you |
|---|---|
price | the asking price of the offer |
price_display | the price string exactly as the storefront prints it |
stock | the stock the offer reports |
warranty_months | the length of the warranty in months |
seller_id | the numeric id of the seller |
colour_options | the colour options listed for the product |
The offers inside backmarket-detail use the same row layout, so code that reads search rows can read offers unchanged.
body.sort takes one of three orders, and each value is read from a separate index on the storefront's side, so the order is the storefront's own and is not re-sorted afterwards:
best_sellers: the storefront's default relevance and best-sales orderprice_asc: the cheapest rows firstprice_desc: the most expensive rows firstThe default is best_sellers, so a search without body.sort begins with the storefront's best-selling rows rather than its lowest prices. Turning body.include_facets off asks for a smaller response.
The same device carries a different price in each appearance grade, so body.grade names the grade by a market-independent number. The value premium is 9, the top appearance grade, excellent is 10, very_good is 11 and good is 12, the most affordable grade.
The wording a storefront prints for a value changes between markets and comes back separately as grade_label: value 12 reads Gut on the German storefront, Fair on the American one and Buono on the Italian one. Filter and compare on grade and grade_value, and show grade_label to people.
backmarket-detail takes a body.product_id and returns a product object with the title, brand, model, colour, category and the storage summary in specs_summary, plus the colours in colour_options. The product also carries its rating with the rating_count behind it, the price_new_reference and Back Market's own scores for repairability, camera, performance, screen and longevity.
price_min_display gives the lowest price among the offers in the form the storefront prints it. grades_available, sellers_count, offers_count, price_min and price_max summarise those offers, so a single call shows the price step between grades.
Back Market is an online marketplace for refurbished electronics, founded in Paris in 2014. It does not refurbish devices itself: sellers list their items on the platform, so supply and demand meet in one place. Back Market distinguishes refurbished devices, which go through professional restoration and quality checks, from used devices that are sold as they are.
POST /api/v1/backmarket/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).body.page_size takes 1 to 100 rows.body.price_min and body.price_max start at 0 and are read in the currency of the selected market.backmarket-detail refuses a product id that is not on sale in the chosen market instead of returning an empty result.Set body.market to one of 15 codes: de, us, gb, it, nl, be, at, pt, fi, ie, gr, sk, se, jp or au, which are Germany, the United States, the United Kingdom, Italy, the Netherlands, Belgium, Austria, Portugal, Finland, Ireland, Greece, Slovakia, Sweden, Japan and Australia. The operation uses de when the input is left out, and country is accepted as an alternative name.
The product id is the UUID in the last path segment of a product page address, and every search row returns the same value as product_id. backmarket-detail also accepts the full product URL in body.product_id and takes the id out of it, while id and uuid are accepted as alternative names for the input.
Search the device with body.model or body.query and set body.sort to price_asc to put the lowest prices at the top within the chosen market. To compare sellers of one product, call backmarket-detail: its offers come cheapest first, so the first entry is the lowest price on offer. Add body.grade to the search to price one appearance grade at a time.
Call backmarket-detail for the product. Each entry of offers carries its own grade, grade_value, price and seller_id, and grades_available names the grades on sale, so grouping the offers by grade_value gives the price step between grades. Search rows carry the same grade fields, and body.grade restricts a search to one grade.
Combine body.colour, body.storage and body.brand with any other search filter. The colour is written as the storefront prints it in the market's language, such as Gold or Mitternacht on the German storefront, and color is accepted as an alternative name. Storage keeps its unit and a space, like 256 GB or 1 TB, and the brand is the lower-case manufacturer key, such as apple or lenovo.
Set body.deals_only to true to keep only products that carry a Back Market deal or a seller flash sale; the input defaults to false. In the rows, has_deal shows whether a deal applies and flash_sale_discount_pct carries the flash sale discount. discount_pct_vs_new compares the price with the new-retail reference, which sits in price_new_reference and its printed form price_new_reference_display.
Start body.page at 1 and raise it while every other input stays the same. body.page_size defaults to 24, and a larger value does not lift the row ceiling: a query reaches it after 42 pages at 24 rows, 20 pages at 50 rows or 10 pages at 100 rows. A page past the last one returns 0 rows instead of repeating the last page, so an empty page marks the end.
body.query is free text typed the way the storefront's search box takes it, such as iphone 13, macbook air m1 or galaxy s22, and q and keyword are accepted as alternative names. body.model matches a whole lower-case model name, so iphone 13 does not include iphone 13 pro. Use body.query for loose matching.