IKEA product
One IKEA product by link: item number, name, type, price and currency, availability, rating and count, description, category, colour, width/depth/height, designer, materials, care instructions, good-to-know notes, measurements, packages, colour and size options (each with item number, link and price), highlighted reviews and images. With stock=true (or store_id) also stock: online availability (home delivery, click and collect, stock level) and, per store in that market, store id, name, city, stock level, quantity, restock date and quantity, and aisle and bin.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
urlrequired | string | An ikea.com product link (/<country>/<language>/p/<name>-<item number>/). Example: https://www.ikea.com/us/en/p/sandsberg-chair-black-30605423/ |
stock | boolean | true: add stock (online and per-store availability with quantities, restock dates and aisle locations). |
store_id | string | Only this store's stock (a store_id from stock.stores, e.g. 026). Implies stock=true; 404 if the store has no record for the item. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/ikea/v1/product?url=https%3A%2F%2Fwww.ikea.com%2Fus%2Fen%2Fp%2Fsandsberg-chair-black-30605423%2F" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/ikea/v1/product",
params={"url": "https://www.ikea.com/us/en/p/sandsberg-chair-black-30605423/"},
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/ikea/v1/product");
url.searchParams.set("url", "https://www.ikea.com/us/en/p/sandsberg-chair-black-30605423/");
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).