Reef AI: ask for any data. Try it
toppreise.ch API

Every Swiss shop's price for a product, with shipping and its daily price history

success rate
96.7%
endpoints
6
credits per call
2–3
Measured on live customer calls,

toppreise.ch is Switzerland's price comparison site.

POST/toppreise/v1/search
Real result, captured Oct 15, 20263 of 24
titleprice_min_incl_shippingrow_typebrand
DELONGHI Magnifica Start249.95 CHFseriesDELONGHI
DELONGHI Dinamica Plus446.35 CHFseriesDELONGHI
PHILIPS 2200 series207.05 CHFseriesPHILIPS
6 active endpoints, on 2 and 3 credit tiers.search · filters · product · offers · price_history · seriesDetails ↓OpenAPI 3.0 spec ↗

3 credits per call≈ $3/1,000 calls1,000 free credits, no card

Get a free API key
Try it live

Run the call yourself, on the real endpoint

Change a parameter and press Try it. The response on the right is what your code will receive.

toppreise.ch API

5 of 6 endpoints, ready to run

View docs ↗

Find products, product series and shop offers by keyword, EAN, part number or category

3 credits0 required · 2 optional
POST/toppreise/v1/search
idle
// Press "Try it" and this pane shows exactly what the
// live site returned this second — including an empty
// result, if that is the truth. No key, no account.

Try every endpoint in the playground

Endpoints

What toppreise.ch endpoints does ReefAPI ship?

6 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

  • search

    3 cr

    Keyword, identifier (EAN / GTIN / part number) or category search on toppreise.ch (Switzerlan…

    required
    —
    optional
    —
  • filters

    2 cr

    The filter facets toppreise offers for a search.

    required
    query
    optional
    —
  • product

    3 cr

    One toppreise product.

    required
    product_id
    optional
    —
  • offers

    3 cr

    Every shop's offer for one product (up to 96, ordered by toppreise's lowest total first).

    required
    product_id
    optional
    —
  • price_history

    3 cr

    toppreise's own daily price history for one product.

    required
    product_id
    optional
    —
  • series

    3 cr

    One toppreise product series (model line).

    required
    series_id
    optional
    —

Every parameter, every allowed value →

Missing a toppreise.ch endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
How it works

How the toppreise.ch API works

toppreise.ch is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

Authenticate01
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 799 engines.

Call02
POST /toppreise/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

Pay03
2 or 3 credits per call

Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.

Read04
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Recipe

From a keyword to every Swiss shop's price and the price curve

Search toppreise.ch, narrow it with brand or shop ids, then read the offer lists and price history.

01filters?query=kaffeevollautomat
GET/toppreise/v1/filters?query=kaffeevollautomat

Brands, shops, product series and sub-categories toppreise offers for the words, with ids and hit counts.

02search?query=kaffeevollautomat&brand_id=421&sort=price_asc
GET/toppreise/v1/search?query=kaffeevollautomat&brand_id=421&sort=price_asc

Products, series and unmatched shop offers (row_type) with the lowest price, lowest price including shipping, number of offers and availability.

03offers?product_id=<product_id>
GET/toppreise/v1/offers?product_id=<product_id>

Every shop: price, shipping, total, availability, shop rating and payment methods, used offers apart.

04price_history?product_id=<product_id>&time_range=1y
GET/toppreise/v1/price_history?product_id=<product_id>&time_range=1y

The daily lowest item price and lowest price including shipping, with today's, the lowest and the highest price.

A dated CHF price feed per product: the lowest price, every competing Swiss shop with shipping and total, and how today's price compares with the past year.

request
curl -X POST https://api.reefapi.com/toppreise/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"kaffeevollautomat"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "toppreise",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}
Fields

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).

Coverage

toppreise.ch coverage, measured

Every number below was read from live toppreise.ch pages on 2026-10-15, in two runs of 60 calls each.

Market

Switzerland, Swiss francs. "kaffeevollautomat" matched 1,115 hits, the Vollautomaten category 153, Smartphones 4,601; broad words such as "iphone 17" stop at the site's 10,000 cap.

Filters that bite

"kaffeevollautomat" 1,115 hits → brand De'Longhi 25 (24 of 24 rows on the page De'Longhi), shop digitec 323, in stock 270, within a week 824, category Vollautomaten 140.

Price accuracy

The card's lowest price equalled the product page's lowest price on 8 of 8 products and the cheapest offer on 8 of 8; total equalled price plus shipping on 54 of 56 offer rows, the 2 others carry the payment discount as price_difference.

Price history

183 daily points for 6m on products listed long enough; the series' lowest and highest equalled the chart's printed lowest and highest on 8 of 8 products.

Paging

24 rows per page; three consecutive pages shared 0 rows ("Sony XM5" by price 2026-11-03: 24 + 24 + 4 = 52 hits); last_page is toppreise's own page count; pages stop at 100.

Limits

No price-range filter; offer lists in toppreise's own order (cheapest total first); shop detail pages and user reviews are not returned.

Use cases

What people build with toppreise.ch

The jobs this data is most often used for.

01

Track every Swiss shop's CHF price, shipping and availability for a product list.

02

Read toppreise's daily price history to judge whether today's price is a good one.

03

Compare used offers with the cheapest new price for the same product.

04

Map a category with lowest prices, offer counts, GTINs and specs.

6

endpoints

2/3

credits per call

Pricing

What toppreise.ch data costs

The cheapest call here is 2 credits, so $15/mo (Pro) buys 5,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

$0.67–$1.50 / 1,000 credits
Full pricing →
  • 1,000 free credits on signup, no card
  • One key, all 799 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire
no credit card1,000 free credits · instant API key · pay by card or crypto
Quickstart

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/toppreise/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"kaffeevollautomat"}'
python
import os
import requests

REEF_KEY = os.environ["REEF_KEY"]

r = requests.post(
    "https://api.reefapi.com/toppreise/v1/search",
    headers={"x-api-key": REEF_KEY},
    json={
        "query": "kaffeevollautomat"
    },
    timeout=90,
)
print(r.json()["data"])
From developers

Questions developers ask about toppreise.ch data

Collected from Stack Overflow, Reddit and search, and 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

FAQ

Have a question? We got answers.

The questions people actually ask before wiring up toppreise.ch.

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.

Contact

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 798 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-10-15.