REWE store search
REWE supermarkets near a postcode, town or street: store id, name, operating company, street, postcode, town, whether it offers pickup, whether it is open now with the opening note, and links to its store page and its offers page. Use a store's id with /rewe/v1/offers. 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
| name | type | description |
|---|---|---|
qrequired | string | Postcode, town or street. Example: 50667 |
pickup_only | true | false | true for stores with pickup service only. |
limit | integer | Stores per page, 1-50 (default 10). |
page | integer | Page number. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/rewe/v1/markets?q=50667" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/rewe/v1/markets",
params={"q": "50667"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/rewe/v1/markets");
url.searchParams.set("q", "50667");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); 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": "50667","page": 1,"total": 18,"count": 10,"markets": [{"id": "1940281","name": "REWE Armin Lenzen oHG","company": "REWE Armin Lenzen OHG","street": "Hohe Str. 30a","postcode": "50667","city": "Köln / Altstadt","pickup": false,"open_state": "OPEN","open_status": "Geöffnet","open_info": "bis 00:00 Uhr","url": "https://www.rewe.de/marktseite/koeln-altstadt/1940281/rewe-markt-hohe-str-30a/","offers_url": "https://www.rewe.de/angebote/koeln-altstadt/1940281/rewe-hohe-str-30a/","distance_m": null},{"id": "3200008","name": "REWE","company": "REWE Kazim Üzüm oHG","street": "Neumarkt 35-37","postcode": "50667","city": "Köln","pickup": true,"open_state": "OPEN","open_status": "Geöffnet","open_info": "bis 22:00 Uhr","url": "https://www.rewe.de/marktseite/koeln/3200008/rewe-markt-neumarkt-35-37/","offers_url": "https://www.rewe.de/angebote/koeln/3200008/rewe-neumarkt-35-37/","distance_m": null},"… 8 more"],"next_page": 2,"cached": false,"credits_used": 1}