REWE online shop search

GET https://api.api.sh/rewe/v1/search
1 credit / call e-commerce try it in the playground →

Products of the REWE online shop for search words: product id, name, link, image and badges (organic, chilled, regional...), with the total, the page count, the categories and brands to narrow by. The shop shows prices only once a store is chosen; get a product's online price from /rewe/v1/product. Pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Part of the REWE API: 5 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
qrequired string Search words. Example: milch
category string Category slug from categories[].slug (e.g. frischmilch).
brand string Brand names from brands, comma separated.
page integer Page number (40 products per page).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/rewe/v1/search?q=milch" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"q": "milch","page": 1,"total": 3580,"pages": 90,"count": 40,"items": [{"id": "1042422","name": "Hemme Milch Frische Vollmilch 3,7% 1l","url": "https://www.rewe.de/shop/p/hemme-milch-frische-vollmilch-3-7-1l/1042422","image": "https://img.rewe-static.de/1042422/8646730_digital-image.png","badges": ["cool"],"sponsored": false,"price_note": "price depends on the chosen store"},{"id": "2235048","name": "Schwarzwaldmilch Bio Frische Vollmilch 3,8% 1l","url": "https://www.rewe.de/shop/p/schwarzwaldmilch-bio-frische-vollmilch-3-8-1l/2235048","image": "https://img.rewe-static.de/2235048/18946320_digital-image.png","badges": ["bio","cool"],"sponsored": false,"price_note": "price depends on the chosen store"},"… 38 more"],"next_page": 2,"applied_filters": {"category": null,"brand": []},"categories": [{"name": "Käse, Eier & Molkerei","slug": "kaese-eier-molkerei"},{"name": "Baby & Kind","slug": "baby-kind"},"… 20 more"],"brands": ["REWE Regional","REWE Beste Wahl","… 359 more"],"note": "The online shop shows prices only after a store is chosen; /rewe/v1/product returns a product's online price.","cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.