Search Alternate products
Automatically search Alternate products on alternate.de. Search products on Alternate Germany (alternate.de, the German store) by keywords, and get one page of results in the order the site gives for relevance: each product with its Alternate product id (Art.-Nr.), name, brand, variant line, link, image, price and currency (euros, VAT included), rating count, availability as the site shows it, and key specifications. A page has up to 24 results: pass page for the next ones, and use total to know how many pages there are. The site answers almost every search with products, close matches included. A page after the last one gives an empty list. When the site sends a search to another page (a brand or category page), redirectUrl gives that page.
Inputs
query requiredSearch words, as typed in the Alternate search box.
page optionalThe result page, from 1. Alternate shows up to 24 results on a page.
Default: 1Output
page requiredquery requiredtotal requiredThe number of results Alternate gives for the search.
products requiredlastResult requiredfirstResult requiredThe position of the first result of this page, from 1.
redirectUrl requiredThe page the site opened instead of a result list, when it sent the search elsewhere.
FAQ
Remove a product from the Alternate cart
Remove a product from the shopping cart of this browser on Alternate Germany (alternate.de, the German store), from its Alternate product id (Art.-Nr.) or product page link, whatever its quantity, as the cart page's delete button does. Returns removed and the cart after it: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. A product that is not in the cart gives removed false and the cart unchanged, not an error. Works as a guest, with no account.
Add a product to the Alternate cart
Add a product of Alternate Germany (alternate.de, the German store) to the shopping cart of this browser, from its Alternate product id (Art.-Nr.) or product page link, with a quantity, as the product page's add button does. Returns the product id and name, the units added, and the cart after the add: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account: lines already in the cart stay. Nothing is ordered or paid. An unknown product, or a product page with no add button, fails with an error that says so.
List Alternate cart items
List the shopping cart of this browser on Alternate Germany (alternate.de, the German store): each line with its product id (also its line id), name, quantity, unit price and line price in euros (VAT included), plus the item count, the items total (delivery not included) and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account. A browser that never had a cart gives an empty cart.
