Back Market API workflow: pick a market and a category
Start by fixing the market, because the prices, currencies and labels that follow depend on it.
- Call
backmarket-marketsto see the supported storefronts and their currencies. - Pick a market code and send it as
body.marketin each later call of the workflow. - Call
backmarket-categoriesfor that market and note theidof the category you want, such as Smartphone. - Pass that id as
body.category_idwhen you search.
The titles come back in the language of the market, so a picker that spans several markets reads the tree once per market.
Choose the call that answers your question
Each operation answers a different question, so start from the question you need answered:
backmarket-markets: which storefronts exist and which currency each one usesbackmarket-categories: which categories a market sells and whichideach one hasbackmarket-search: which product listings match a keyword and a set of filtersbackmarket-detail: which seller offers, grades and prices one product has
Only backmarket-search and backmarket-detail return product data; the other two return the market codes and category ids that become inputs of those calls.
Find a refurbished device with search filters
A search for one device model combines exact filters with a price window.
- Set
body.marketandbody.model, using the whole lower-case model name because a model filter does not include longer names such as iphone 13 pro. - Add
body.storagewritten with its unit and a space, for example 128 GB. - Add
body.gradewhen only one appearance grade is wanted. - Bound the price with
body.price_minandbody.price_max, read in the market's currency. - Set
body.sorttoprice_ascto read the cheapest rows first.
When the exact model name is not known, use body.query instead of body.model: it takes free text such as galaxy s22 and matches loosely.
Compare grades and sellers for one product
Once a search row looks right, open its offers.
- Copy the
product_idof the row. - Send it as
body.product_idtobackmarket-detail, together with the samebody.market. - Read
offers, which come cheapest first, and group them bygrade_value. - Compare the
price,stockandwarranty_monthsinside each group, and useseller_idto tell the sellers apart.
grades_available names the grades on sale and sellers_count shows how many sellers offer the product, so a ladder with few grades or few sellers is visible before the offers are read. price_min and price_max bracket the offer prices, which gives a quick price range before the offers are compared.
Compare one device across markets
Prices from two markets compare only after their currencies are accounted for.
- Run the same search once per market code, for example
de,gbandus. - Keep the
currencyof each row next to itsprice. - Compare
discount_pct_vs_newto see how far below the new-retail reference each offer sits in its own market.
Do not add or average figures from different markets, because euros, pounds and dollars are different units, and a price bound set for one market means something else in another. Spellings that follow a market's language, such as body.colour, and grade labels also change between markets, so leave language-dependent filters out of a cross-market request or translate them for each market.
Page through deals and price-sorted results
To page through a deal list or a price-sorted slice:
- Set
body.deals_onlyto true and addbody.category_idto keep the list to one category. - Choose
body.sortasprice_ascorprice_desc. - Start
body.pageat 1 and raise it while every other input stays the same, because a changed filter changes the pages. - Stop when a page returns 0 rows or when about 1000 rows have been read, the ceiling for one query.
A body.page_size of 100 reaches that ceiling in 10 pages and a size of 50 in 20 pages, while the default of 24 needs 42. Set body.include_facets to false for a smaller response.
Exact spellings for Back Market filters
Several filters expect the exact spelling that the storefront itself uses.
body.colourfollows the market's language, so Gold, Mitternacht and Sierrablau are German-storefront spellings, andcoloris accepted as an alternative namebody.brandandbody.modelare lower-case keys, such as apple and iphone 13body.gradetakes the names premium, excellent, very_good and good, not a printed label such as Gut or Buono
Use the numeric grade_value across markets, because it is market-independent while grade_label follows the language of the storefront.
How Back Market works
Back Market keeps a separate website for each country it serves, such as backmarket.de for Germany and backmarket.co.uk for the United Kingdom. It grades the appearance of smartphones, tablets, laptops, desktops and smartwatches as Premium, Excellent, Good or Fair, while other items get only Excellent or Good. Back Market says a grade describes how an item looks and not how it works, so grades differ in appearance and price.
Refurbished phones cost less than new ones and are seen as better for the environment, which are among the reasons people buy them. Back Market also works with the repair community iFixit on a campaign to make electronics last longer.
[
{
"body": {
"market": "de",
"model": "iphone 13",
"storage": "128 GB",
"sort": "price_asc",
"page_size": 5
}
},
{
"body": {
"market": "de",
"product_id": "ef5660d2-6883-4b81-b47d-86e5720687ef"
}
}
]{
"body": {
"market": "gb"
}
}{
"body": {
"market": "de",
"brand": "apple",
"model": "iphone 13",
"storage": "128 GB",
"grade": "excellent",
"price_min": 200,
"price_max": 500,
"sort": "price_asc",
"page": 1,
"page_size": 24
}
}{
"body": {
"market": "us",
"category_id": 2,
"deals_only": true,
"sort": "price_asc",
"page_size": 50,
"include_facets": false
}
}Server-side request template
This server-side template shows authentication and request identity using the first operation of this API. Choose the operation for your use case and check its current availability and price on the API page. After a timeout, resend the unchanged request with the same Idempotency-Key.
The gateway request is always POST.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/backmarket/backmarket-categories' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"market":"de"}}'Integration checklist
- The API key is stored in a server-side secret manager and never sent to a browser.
- Each request carries its own Idempotency-Key, kept until the request has a final answer.
- The integration reads ok and error.code and handles each error code as the error table describes.
- An uncertain POST is inspected using its original identity, never blindly repeated with a new one.
- The operation’s current availability and price have been checked on its API page.
Back Market API overview and prices · Read the API reference · Try it in the playground