Reef AI: ask for any data. Try it
Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the toppreise.ch API page →
E-commerce & Marketplaces

toppreise.ch API & Scraper

toppreise.ch is Switzerland's price comparison site.

6 actionsLive JSON1,000 free credits$0.67–$1.50 / 1,000 creditsMCP-ready
Get a free keyOpen in playground

🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.

This API reads it as JSON, in Swiss francs, logged out. `search` takes product words, an EAN / GTIN or manufacturer part number, a category id or both and returns three kinds of rows: catalogue products (lowest price, lowest price including shipping, number of offers, best availability), product series, a model line with its variants nested inside, each with its own id, and shop offers toppreise lists without a catalogue product (shop, price, shipping, total). Brand, shop and availability filters take the ids from `filters`, which lists the brands, shops, series and sub-categories toppreise offers for a search with their hit counts. `offers` returns every shop for one product in one call, up to 96: shop and shop id, offer title, item price, shipping, total including shipping, availability, shop rating and number of ratings, payment methods and the cheapest-price badges; used offers come back apart with their condition. `price_history` is toppreise's own daily chart: the lowest item price and the lowest price including shipping per day. `product` adds the GTIN codes, manufacturer part numbers, category path, series and the spec sheet.

Reference

What a toppreise.ch field actually contains

Fields that read differently from how they look. Every row was measured against live toppreise.ch pages on 2026-10-15.

FieldWhat it holds
row_typeproduct, series or offer (0.2.0: a shop offer toppreise has not matched to a catalogue product; it has offer_id, shop, price, shipping and total_price, and product_id null). A product row has product_id (the number after -p in its URL), a series row has series_id and a variants list of product rows. product_id goes into product, offers and price_history; series_id into series. 8 of 8 product ids and 3 of 3 series ids came back as the same record.
price_min, price_min_incl_shippingThe lowest item price and the lowest price including shipping toppreise prints on the card, in CHF. They equalled the product page's lowest price and the cheapest offer's total on 8 of 8 products (an iPhone case: 31.90 item, 36.80 with shipping).
offers[].total_pricetoppreise's price including shipping for the shop's cheapest payment method. On 54 of 56 offer rows it was item price plus shipping; on the other 2 a payment discount or fee applies (397.10 + 0.00 shipping, total 385.20 with a 3% prepayment discount). price_difference shows that amount and total_has_adjustment marks the row.
used_offersSecond-hand offers toppreise lists on the same product. condition is the grade the shop states (for example akzeptabel), or Occasion when it states none; condition_stated tells which. They are often cheaper than the cheapest new offer (257.30 against 284.35 for one coffee machine) and are never mixed into offers or price_min.
offers[].availability_codetoppreise's delivery class: 1 in stock at the shop's own warehouse, 2 from a supplier or foreign warehouse, 3 within a week, 4 within two weeks, 5 within four weeks, 6 delivery date announced, 7 on request, 9 no information. availability is that class in English; availability_text is the site's German wording (ab eigenem Lager verfügbar).
shop_rating, shop_rating_countThe shop's rating on toppreise.ch and how many ratings it has (5.4 from 2,770).
total, total_cappedThe number of hits toppreise prints, shop offers included ("Sony XM5": 52 = 9 products + 43 offers). In the popularity order a series counts every variant but takes one row, so the rows over all pages can be fewer; last_page is toppreise's own page count. It stops at 10,000 ("more than 10'000"); total_capped is then true. Sorting by price lists every product separately, so the same search counts 1,245 hits by price and 1,115 by popularity, where series are grouped.
price_history.points[]One point per day: price (lowest item price) and price_incl_shipping. The last point is yesterday's; current is today's price as the chart prints it, so the two can differ after a price change. A day toppreise recorded no price is kept with null prices and gap true (one such day on a Midea PortaSplit, 2026-06-25).

Prices are in Swiss francs as toppreise.ch prints them. The same offer lists came back identical from three different network locations (38 of 38 row comparisons).

Live example

Real request and response JSON

Captured from the indexed primary action, search, on .

Captured request
{
  "method": "POST",
  "url": "https://api.reefapi.com/toppreise/v1/search",
  "headers": {
    "x-api-key": "$REEF_KEY",
    "content-type": "application/json"
  },
  "body": {
    "query": "kaffeevollautomat"
  }
}
Captured response
{
  "ok": true,
  "meta": {
    "api": "toppreise",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": 1864.7,
    "record_count": 24,
    "cache_hit": false
  },
  "data": {
    "query": "kaffeevollautomat",
    "category_id": null,
    "sort": "popularity",
    "page": 1,
    "page_size": 24,
    "total": 1247,
    "total_capped": false,
    "total_is_exact": true,
    "last_page": 52,
    "has_more": true,
    "page_beyond_last": false,
    "no_result": false,
    "filters_applied": {
      "brand_id": null,
      "shop_id": null,
      "availability": null
    },
    "filter_echo": null,
    "listing_url": "https://www.toppreise.ch/produktsuche?q=kaffeevollautomat",
    "rows": [
      {
        "row_type": "series",
        "series_id": "64949",
        "title": "DELONGHI Magnifica Start",
        "brand": "DELONGHI",
        "features": "Vollautomat • Druck: 15 bar, Leistung: 1450 W, Wassertank: 1.8 L, Bohnenbehälter: 250 g, Milchaufschäumer",
        "url": "https://www.toppreise.ch/produktserie/Magnifica_Start-pc-s64949",
        "variant_count_shown": 2,
        "price_min_incl_shipping": 249.95,
        "currency": "CHF",
        "variants": [
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          },
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          }
        ]
      },
      {
        "row_type": "series",
        "series_id": "41301",
        "title": "DELONGHI Dinamica Plus",
        "brand": "DELONGHI",
        "features": "Vollautomat • Leistung: 1450 W, Wassertank: 1.8 L, Bohnenbehälter: 300 g, Milchaufschäumer, Milchbehälter, Heisswasserfunktion",
        "url": "https://www.toppreise.ch/produktserie/Dinamica_Plus-pc-s41301",
        "variant_count_shown": 3,
        "price_min_incl_shipping": 446.35,
        "currency": "CHF",
        "variants": [
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          },
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          },
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          }
        ]
      },
      {
        "row_type": "series",
        "series_id": "43271",
        "title": "PHILIPS 2200 series",
        "brand": "PHILIPS",
        "features": "Vollautomat • Druck: 15 bar, Leistung: 1500 W, Wassertank: 1.8 L, Bohnenbehälter: 275 g, Milchaufschäumer, Heisswasserfunktion • Wasserfilter",
        "url": "https://www.toppreise.ch/produktserie/2200_series-pc-s43271",
        "variant_count_shown": 2,
        "price_min_incl_shipping": 207.05,
        "currency": "CHF",
        "variants": [
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          },
          {
            "row_type": "[trimmed-depth]",
            "product_id": "[trimmed-depth]",
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "category_slug": "[trimmed-depth]",
            "image": "[trimmed-depth]",
            "offer_count": "[trimmed-depth]",
            "price_min": "[trimmed-depth]",
            "price_min_incl_shipping": "[trimmed-depth]",
            "best_availability_code": "[trimmed-depth]",
            "best_availability": "[trimmed-depth]",
            "currency": "[trimmed-depth]"
          }
        ]
      }
    ]
  }
}
Actions

What the toppreise.ch API does

ActionDescriptionConcrete use caseKey params
searchKeyword, identifier (EAN / GTIN / part number) or category search on toppreise.ch (Switzerland, CHF). Rows are catalogue products (lowest price, lowest price incl. shipping, number of offers, availability), product series (`row_type: series`, a model line with its variants nested) and shop offers toppreise lists without a catalogue product (`row_type: offer`: shop, price, shipping, total). `total` is toppreise's hit count, which includes those offers; in the popularity order a series counts each variant but takes one row, so rows over all pages can be fewer than `total`; in the price orders catalogue products come first, then shop offers, each block in price order. Filter by brand, shop and availability (ids from the `filters` action), sort by price, name, availability or popularity, 24 rows per page. Give `query`, `category_id` or both.Pricing teams call search to get keyword, identifier (EAN / GTIN / part number) or category search on toppreise.ch (Switzerlan….none
filtersThe filter facets toppreise offers for a search: brands, shops, product series and sub-categories with their ids and hit counts, the price steps and the exact hit count. Use the ids as `brand_id` / `shop_id` / `category_id` in `search`.Marketplace operators call filters to get the filter facets toppreise offers for a search.query
productOne toppreise product: title, brand, GTIN/EAN codes, manufacturer part numbers, description, category path and id, series id, lowest and highest offer price (CHF), number of offers, spec sheet, and the first page of shop offers (up to 24, lowest total first) with used offers apart. A product with no current offer is returned with `has_offers: false`, `offer_count: 0` and null prices.Catalog enrichment teams call product to get one toppreise product.product_id
offersEvery shop's offer for one product (up to 96, ordered by toppreise's lowest total first): shop and shop id, offer title, price, shipping, total price incl. shipping for the cheapest payment method, the difference when discounts or fees apply, availability (English, with toppreise's German wording in `availability_text`), shop rating and rating count, payment methods (codes plus names), cheapest-price badges. Used ('Occasion') offers are returned apart in `used_offers`: `condition` is the shop's stated grade, or 'Occasion' when the shop states none.Retail analysts call offers to get every shop's offer for one product (up to 96, ordered by toppreise's lowest total first).product_id
price_historytoppreise's own daily price history for one product: the lowest item price and the lowest price incl. shipping per day (measured: since 2023-11 on a 2023 product), with the chart's own current, lowest and highest price. A day toppreise recorded no price is kept with null prices and `gap: true`, as the chart shows it.Pricing teams call price_history to get toppreise's own daily price history for one product.product_id
seriesOne toppreise product series (model line): its name and every variant product with lowest price, number of offers and availability.Marketplace operators call series to get one toppreise product series (model line).series_id
Code samples

Call search from your stack

curl -X POST https://api.reefapi.com/toppreise/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"kaffeevollautomat"}'
MCP one-liner
Ask your MCP-connected assistant: call reefapi.toppreise.search with {"query":"kaffeevollautomat"}.
Use cases

Who uses this API and why

  • Track every Swiss shop's CHF price, shipping and availability for a product list.
  • Read toppreise's daily price history to judge whether today's price is a good one.
  • Compare used offers with the cheapest new price for the same product.
  • Map a category with lowest prices, offer counts, GTINs and specs.
  • Find which shops carry a brand and at what price in Switzerland.
FAQ

Questions developers ask before integrating

Do I need a toppreise.ch account?

No. Everything is read logged out.

How many shops does offers return?

All of them up to 96 in one call, cheapest total first. A De'Longhi Magnifica Start had 30 shop offers on 2026-10-15, all 30 returned, plus used offers apart.

Is shipping included?

Every offer row has the item price, the shipping cost and the total. Search rows carry both the lowest item price and the lowest price including shipping.

Which search filters are there?

Brand, shop, availability and category, checked against the unfiltered count in the same run: "kaffeevollautomat" 1,115 hits → brand De'Longhi 25, shop digitec 323, in stock 270, deliverable within a week 824, category Vollautomaten 140. A brand or shop id toppreise does not offer for the search is refused, not ignored. There is no price-range filter.

Where do brand and shop ids come from?

From filters, for the same words: it lists every brand, shop, product series and sub-category toppreise offers, with ids and hit counts.

How far back does price_history go?

As far as toppreise keeps the product: a coffee machine listed since November 2023 had 1,072 daily points. time_range takes 1m, 3m, 6m, 1y or all.

What is a series?

toppreise groups variants of one model line (colours, bundles) into a series. Search rows of type series carry their variants; series returns all variants of one series.

How many pages can I read?

24 rows per page, up to page 100. has_more and last_page tell you where a result ends; a page past the last returns no rows and page_beyond_last true (toppreise itself would show page 1 again). "Sony XM5" by price: 24 + 24 + 4 rows = 52 hits, no row on two pages.

Can I look a product up by EAN or part number?

Yes, as query. 4048164116478 and the part number A023080 both returned the Midea PortaSplit (product 766217) on 2026-11-03; an EAN toppreise only knows from one shop returns that shop offer as the row.

What is the toppreise.ch API?

toppreise.ch API is a ReefAPI endpoint group for swiss price comparison in chf: every shop's price with shipping, used offers apart, the daily price history, gtins and specs. It returns live JSON through POST requests under /toppreise/v1.

Is the toppreise.ch API free to try?

Yes. ReefAPI starts with 1,000 free credits, no card required. toppreise.ch calls use the same shared credit balance as every other ReefAPI engine.

Do I need a toppreise.ch login or account?

No login to toppreise.ch is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the toppreise.ch data?

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the toppreise.ch API use?

toppreise.ch actions currently cost 2-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Questions developers ask about toppreise.ch data

From Stack Overflow, Reddit and search, answered with live calls on 3 Nov 2026.

Is there a Toppreise.ch API, or do I have to parse the search pages?▾

The only Toppreise API that shows up in public code is a closed one: the Toppreise example in Debian's jabber-querybot package says it needs access rights from the toppreise.ch administrators because access to that API is restricted. The open-source tools written since, such as the Rust toppreise-cli and the BudgetPilot expense app, read toppreise.ch's HTML search pages instead.

ReefAPI's Toppreise API returns toppreise.ch search results as JSON: search gives catalogue products, product series (a model line with its variants nested) and shop offers toppreise has not matched to a catalogue product, told apart by row_type, with the lowest CHF price, the lowest price including shipping and the number of shops. The product_id of a row feeds product, offers and price_history.

curl · search
curl -X POST https://api.reefapi.com/toppreise/v1/search \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"query":"Sony XM5"}'

Real response, 3 Nov 2026: 53 hits, page 1 of 2: 2 series, 2 products, 20 shop offers · series "SONY WH-1000XM5" from CHF 178.75 incl. shipping (SA version in black, 11 offers; black 199.00, 16 offers) · series "SONY WF-1000XM5" from 148.75 (black, 18 offers; silver 148.75, 14 offers; Smoky Pink 149.00, 7 offers)

How do I look up a Toppreise product by EAN or manufacturer part number?▾

Teams with a product list keyed on barcodes ask for this: a project on GitHub matching 755 articles, 751 of them with a barcode, recorded toppreise.ch answering its probe with HTTP 403.

ReefAPI's Toppreise API takes the EAN / GTIN or the manufacturer part number as query in search. A barcode query is flagged identifier_query: true, and when toppreise jumps straight to one product, exact_match_product_id names it; an EAN that toppreise only knows from one shop's listing comes back as that shop offer (row_type: offer). product then lists every GTIN and part number the product carries.

curl · search by EAN
curl -X POST https://api.reefapi.com/toppreise/v1/search \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"query":"4048164116478"}'

Real response, 3 Nov 2026: EAN 4048164116478: 1 row, product 766217 "MIDEA PortaSplit (A023080)", from CHF 1,348.95 incl. shipping, 5 offers, "in stock at the shop's own warehouse" · part number A023080: the same product, exact_match_product_id 766217

Toppreise doesn't show Digitec, Brack or Interdiscount for a product. How do I see which shops list it?▾

A Toppreise user on r/schwiiz asked in February 2026 why the Sony Bravia 8 II 65" (K-65XR8M2) was offered only by a few lesser-known shops, with Digitec, Brack and Interdiscount missing, and whether that was a bug.

ReefAPI's Toppreise API offers returns the product's shop list as toppreise.ch shows it at the moment of the call, up to 96 offers, cheapest total first, with each shop's name and shop_id. To check one retailer, take its id from filters (digitec is 757) and pass it as shop_id to search: you get only the products that shop sells on Toppreise.

curl · offers
curl -X POST https://api.reefapi.com/toppreise/v1/offers \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"804459"}'

Real response, 3 Nov 2026: "SONY Bravia 8 II OLED K-65XR8M2" · 4 offers: azone.ch 2,290.00 CHF (rating 5.9, 1,338 ratings) · Hubacher HiFi 2,290.00 · fnac.ch 2,299.00 · ep-online.ch 2,399.00 · search "Sony Bravia 8 II" with shop_id 757 (digitec): 6 products, the Bravia 8 II not among them

Foletti and orderflow.ch are often the cheapest on Toppreise. How do I compare their shop ratings with Digitec's?▾

Swiss buyers ask this on r/askswitzerland and r/Switzerland before ordering: one wanted a Pixel 10 Pro where Foletti and mobiledevice.ch came out about 90 francs below Digitec, another weighing a motherboard from orderflow.ch, a shop they had never heard of, went by its more than 450 reviews on toppreise.ch, and a reply about nettoshop.ch pointed to its almost 30,000 Toppreise ratings.

ReefAPI's Toppreise API offers puts those facts in one row per shop: price, shipping, total, the shop's Toppreise shop_rating and shop_rating_count, its payment methods by name, and its availability, which separates stock in the shop's own warehouse from stock at a supplier or abroad (in English in availability, in toppreise's own German in availability_text). Used (Occasion) offers come back apart in used_offers.

curl · offers
curl -X POST https://api.reefapi.com/toppreise/v1/offers \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"817204"}'

Real response, 3 Nov 2026: "GOOGLE Pixel 10 Pro, 128 GB, Obsidian" · 12 offers · Foletti Computer 578.40 CHF, rating 5.4 from 2,788, "available from a supplier / foreign warehouse" (ab Fremd-/Auslandslager verfügbar), PayPal, Twint, Visa … · orderflow.ch 609.85, 4.6 from 681 · digitec 673.00, 5.7 from 11,110, "in stock at the shop's own warehouse" · 1 used offer apart (mobilezone 549.00, condition Occasion)

Is the Toppreise lowest price with or without shipping, and why is a shop's total sometimes below its price?▾

A Toppreise userscript on GitHub showed a false "Aufschlag" (markup) badge on products at their all-time low, because it compared the shipping-inclusive prices on the listing cards with the product-only price history; the same script also had to fix its parser for prices with thousands separators.

ReefAPI's Toppreise API keeps both as numbers: search rows carry price_min and price_min_incl_shipping, and offers gives each shop's price, shipping and total_price for its cheapest payment method. When that payment method carries a discount or a fee, total_has_adjustment is true and price_difference holds the amount, which is how a total can end up below the item price.

curl · offers
curl -X POST https://api.reefapi.com/toppreise/v1/offers \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"898067"}'

Real response, 3 Nov 2026: "PETKIT Katzentoilette Purobot Crystal Duo, Selbstreinigend" · 19 offers · Buchmann price 183.70 CHF + 0 shipping → total_price 178.20 (price_difference -5.50, lowest total) · avento.shop 182.20 (lowest item price) · heimtiershop.ch 184.00 + 12.00 shipping = 196.00

Are there sale periods in Switzerland? How do I get Toppreise's price history (Preisverlauf) as data?▾

On r/askswitzerland a buyer who already checked Digitec and Toppreise asked whether PCs and laptops have sale periods apart from Black Friday, and on r/MideaPortaSplit a user posted the Toppreise price chart of the Midea PortaSplit as "Preisentwicklung in der Schweiz" when its lowest price had reached CHF 1,998.95 in July 2026.

ReefAPI's Toppreise API price_history returns the points behind that chart for a product id or toppreise.ch URL: one row per day with the lowest item price and the lowest price including shipping (the chart's Produktpreis and Versandpreis lines), for 1m, 3m, 6m, 1y or all, plus the chart's own current, lowest and highest price.

curl · price_history
curl -X POST https://api.reefapi.com/toppreise/v1/price_history \
  -H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
  -d '{"product_id":"766217","time_range":"all"}'

Real response, 3 Nov 2026: "MIDEA PortaSplit (A023080)" · 902 daily points since 2024-05-15 · lowest 799.00 CHF (2025-11-16) · highest 2,999.95 (2026-07-06) · 1,998.95 on 2026-07-24 · current 1,250.00

How do I get an alert from my own script when a Toppreise price drops?▾

Developers have built this on GitHub since 2016: tp-stalker is a Java tool "to track prices on Toppreise.ch", and Toppreise-Notifier (2020) posts a product id and a checksum to toppreise's chart_both.php and sends a Pushbullet note when the last price of an LG TV changes. On r/Switzerland, the top reply to a new Digitec price tracker pointed out that toppreise.ch already tracks prices for free.

With ReefAPI, call the Toppreise API's offers on a schedule: the first row is the lowest total including shipping in toppreise's own order, with the shop's name, so the alert can say where to buy.

python · run from cron
import pathlib, requests

PRODUCT_ID = "692648"  # SONY WH-1000XM5, Schwarz
state = pathlib.Path("last_price.txt")

r = requests.post("https://api.reefapi.com/toppreise/v1/offers",
                  headers={"x-api-key": REEF_KEY}, json={"product_id": PRODUCT_ID})
best = r.json()["data"]["offers"][0]  # toppreise's order: lowest total first
now = best["total_price"]
before = float(state.read_text()) if state.exists() else None
if before is None or now < before:
    print(f"{best['shop']}: CHF {now} incl. shipping (was {before})")
state.write_text(str(now))

Real response, 3 Nov 2026: first run: "digistore.ch: CHF 199 incl. shipping (was None)" · 16 offers, Media Markt, digitec and Galaxus also at 199.00 · second run at the same price: no message

docs / toppreise

toppreise.ch

Swiss price comparison in CHF: every shop's price with shipping, used offers apart, the daily price history, GTINs and specs.

base /toppreise/v16 endpoints
post/toppreise/v1/filters2 credits

The filter facets toppreise offers for a search: brands, shops, product series and sub-categories with their ids and hit counts, the price steps and the exact hit count. Use the ids as `brand_id` / `shop_id` / `category_id` in `search`.

ParameterAllowed / rangeDescription
queryrequired—Search words.
Try in playground →
post/toppreise/v1/product3 credits

One toppreise product: title, brand, GTIN/EAN codes, manufacturer part numbers, description, category path and id, series id, lowest and highest offer price (CHF), number of offers, spec sheet, and the first page of shop offers (up to 24, lowest total first) with used offers apart. A product with no current offer is returned with `has_offers: false`, `offer_count: 0` and null prices.

ParameterAllowed / rangeDescription
product_idrequired—toppreise product id: the number after '-p' in a product URL (…/DELONGHI-ECAM220-60-B-Magnifica-Start-p749259 → 749259), or `product_id` of a search row. A full product URL is accepted too.
Try in playground →
post/toppreise/v1/offers3 credits

Every shop's offer for one product (up to 96, ordered by toppreise's lowest total first): shop and shop id, offer title, price, shipping, total price incl. shipping for the cheapest payment method, the difference when discounts or fees apply, availability (English, with toppreise's German wording in `availability_text`), shop rating and rating count, payment methods (codes plus names), cheapest-price badges. Used ('Occasion') offers are returned apart in `used_offers`: `condition` is the shop's stated grade, or 'Occasion' when the shop states none.

ParameterAllowed / rangeDescription
product_idrequired—toppreise product id: the number after '-p' in a product URL (…/DELONGHI-ECAM220-60-B-Magnifica-Start-p749259 → 749259), or `product_id` of a search row. A full product URL is accepted too.
Try in playground →
post/toppreise/v1/price_history3 credits

toppreise's own daily price history for one product: the lowest item price and the lowest price incl. shipping per day (measured: since 2023-11 on a 2023 product), with the chart's own current, lowest and highest price. A day toppreise recorded no price is kept with null prices and `gap: true`, as the chart shows it.

ParameterAllowed / rangeDescription
product_idrequired—toppreise product id: the number after '-p' in a product URL (…/DELONGHI-ECAM220-60-B-Magnifica-Start-p749259 → 749259), or `product_id` of a search row. A full product URL is accepted too.
time_range = 1yoptional1m · 3m · 6m · 1y · allHow far back.
Try in playground →
post/toppreise/v1/series3 credits

One toppreise product series (model line): its name and every variant product with lowest price, number of offers and availability.

ParameterAllowed / rangeDescription
series_idrequired—Series id: `series_id` of a search row or the number after '-pc-s' in a series URL.
Try in playground →
Built for volume
5M+ requests a day

Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.

Missing a source?
We build it

Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.

Support
2 minute median reply

Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.

One key, one balance
Every API included

No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.

Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.