billiger.de API workflow: from a keyword to a product id
The calls that read one product or offer start from an id, and a search is where that id comes from:
- Call
billiger-searchwithbody.queryset to search words or an EAN, for examplekaffeevollautomat delonghi. - Read
resultsand choose a row. Aproductrow givesproduct_id, abaseproductrow givesbaseproduct_idand anofferrow givesoffer_id. - Send a
product_idtobilliger-productfor the sheet, tobilliger-offersfor the shops or tobilliger-price-historyfor the series. Abaseproduct_idworks inbilliger-productandbilliger-offers.
Set body.row_types to products when only catalogue products are of interest, because an offer row has no product page and its id belongs to billiger-offer instead.
Compare shops by the price including shipping
To rank the shops by what a buyer pays, compare totals:
- Call
billiger-offerswithbody.product_idandbody.sortset tototal_price. - Read
shipping_costandtotal_pricein each row, andcheapest_total_pricefor the lowest total. - Check
total_price_source:printedmeans the total comes from the listing,price_plus_shippingthat it was worked out from the price and the shipping cost. - Add
body.in_stock_onlyto keep offers marked as immediately deliverable. - Repeat with
body.conditionset tousedto price used and refurbished offers beside the new ones.
body.max_offers sets how many shop rows come back, so a small value is enough when only the cheapest shop matters.
Read a price history and judge today's price
A price history answers whether today's price is a good one:
- Call
billiger-price-historywithbody.product_id; the window defaults to6m. - Compare
price_nowinproductwithlowest_in_range,median_in_rangeandhighest_in_range. - Read
price_assessmentfor billiger.de's verdict, which comes with thetypical_lowandtypical_highband. - Check
suspect_lowon the points before trusting a low, or readlowest_in_range_excluding_suspect, which leaves those single-day drops out. - Repeat with
body.time_rangeset toallfor the longest series and forshop_lines, the daily lines of the large marketplaces.
first_date and last_date show how far the series reaches, and count gives the number of points.
Check the cheapest offer against the price history
Two calls on the same product show whether the lowest offer is also a good price:
- Call
billiger-offerswithbody.product_idandbody.sortset toprice, then readcheapest_price. - Call
billiger-price-historyfor the samebody.product_idand readprice_now,median_in_rangeandlowest_in_range_excluding_suspect. - Compare the figures.
last_point_equals_price_nowinidentityshows whether the series ends at the current price, andprice_assessmentadds billiger.de's own verdict.
The offers call returns one row per shop, while the history follows the lowest price on each day of the chosen window, so the check sets a shop's figure against those daily lows.
Narrow a category listing with facet ids
Filters need ids, and the ids come from the facets of an earlier call:
- Call
billiger-categorywithbody.category_id, for example 3551, and readfacets.brandandfacets.shop. - Repeat the call with
body.brand_idset to a brand id such as 2451932 for De'Longhi, and addbody.price_minandbody.price_max. - Set
body.sorttoprice_ascto read the lowest prices first. - Raise
body.pagewhilehas_moreshows that another page follows.
For a keyword inside one category, call billiger-search with body.category_filter set to the id of a facets.category entry. body.shop_id, taken from facets.shop, limits the listing to the items one shop sells, so the same call can follow a single shop through the category.
Collect specs and EANs for a category
A catalogue needs one listing call and one product call per item:
- Call
billiger-categorywithbody.category_idandbody.page_sizeset to 96. - Note the id of each row in
results:product_idfor a catalogue product andbaseproduct_idfor a family. - Call
billiger-productwith that id asbody.product_idorbody.baseproduct_id, and storegtin,brand,specsandoverall_grade. - Raise
body.page, up to 50, whilehas_moreshows that another page follows, and repeat from step 2; the window is at most 50 pages of 96 rows.
The gtin returned by billiger-product is the EAN of the item, and specs and key_specs hold its spec entries, so one product call per item is enough to fill a catalogue row.
Expand a product family into its variants
A family id returns the family, and its variants carry their own ids:
- Call
billiger-productwithbody.baseproduct_id, for example 114326. - Read
variants: each entry has its ownproduct_id,gtinandsize, plus a price range. - Call
billiger-offerswith the samebody.baseproduct_idfor the offers of the family, or with oneproduct_idfor the offers of a single variant. - Call
billiger-price-historywith theproduct_idof a variant to read the series of that variant.
variant_count gives the number of variants to expect.
Pitfalls in billiger.de data
A few results depend on details that are easy to miss:
- In
billiger-search,totalcounts the view that was asked for, so eachbody.row_typesview has its own total. - A query that billiger.de turns into a category page sets
redirected_toinbilliger-searchand returns catalogue products only. - The
priceof aproductrow inbilliger-searchis its lowest price andoffer_countthe number of prices compared, so the price of one shop comes frombilliger-offers. - Ids that do not belong to the type of a search row are null, so check
row_typebefore readingproduct_idoroffer_id. billiger-price-historyreturns oneprice_assessmententry for each period, so pick the entry whosedaysmatches the window that matters to you.
How billiger.de works
billiger.de is a generalist price comparison portal for everyday goods such as electronics, household items, garden articles, fashion and sports equipment, suited to checking a street price. Past prices show whether a current deal is really cheap or whether the price was raised recently, and a price alert emails a shopper when a product reaches a chosen target price. billiger.de solutions is the retailer-facing side of the portal, where shops list their offers and can also reach shopping ads and a publisher network.
[
{
"body": {
"query": "kaffeevollautomat delonghi",
"row_types": "products",
"sort": "price_asc"
}
},
{
"body": {
"product_id": "3443116743"
}
},
{
"body": {
"product_id": "3443116743"
}
}
][
{
"body": {
"product_id": "3443116743",
"sort": "total_price",
"in_stock_only": true,
"max_offers": 20
}
},
{
"body": {
"product_id": "3443116743",
"sort": "total_price",
"condition": "used",
"max_offers": 20
}
}
][
{
"body": {
"product_id": "3443116743",
"time_range": "6m"
}
},
{
"body": {
"product_id": "3443116743",
"time_range": "all"
}
}
]{
"body": {
"category_id": "3551",
"brand_id": "2451932",
"price_min": 300,
"price_max": 500,
"sort": "price_asc",
"in_stock_only": true
}
}[
{
"body": {
"baseproduct_id": "114326"
}
},
{
"body": {
"baseproduct_id": "114326",
"sort": "total_price"
}
}
]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/billiger/billiger-category' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"category_id":"3551"}}'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.
billiger.de API overview and prices · Read the API reference · Try it in the playground