Kroger store locator
Stores of Kroger or a sister banner near a ZIP, a city or address, or coordinates, nearest first (up to 50): store id, number and facility id, name, banner, full address, coordinates, distance, phone, time zone, open status, store hours, pharmacy phone and hours, departments, fulfillment options (pickup, delivery, in store), online services and store page link. Give zip, q or lat and lon.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
zip | string | 5-digit US ZIP. Example: 45202 |
q | string | A city and state or an address, e.g. Cincinnati, OH, instead of zip. |
lat | number | Latitude, with lon, instead of zip. |
lon | number | Longitude, with lat. |
radius | integer | Search radius in miles (1-100, default 50). |
open_24_hours | boolean | true: only stores open 24 hours. |
department | string | Only stores with this department or service, e.g. Pharmacy, Fuel Center, Starbucks (matched against departments[].name). |
limit | integer | Stores to return (1-50, default 50). |
banner | kroger | ralphs | fredmeyer | kingsoopers | smiths | frys | qfc | harristeeter | dillons | marianos | picknsave | metromarket | citymarket | bakers | gerbes | jaycfoods | payless | food4less | foodsco | Store banner (default kroger). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/kroger/v1/locations?zip=45202" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/kroger/v1/locations",
params={"zip": "45202"},
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/kroger/v1/locations");
url.searchParams.set("zip", "45202");
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).