Products on Zara for keywords in one of 18 markets, with the site's section, price sort and facet filters. Each product: id, reference, name, section, family, price and old price (in the market's currency), availability, every colour with its own price, stock and images, link, main image and raw. facets lists the colour, size and category filters with counts; pass a facet's filter value back as filter. 24 per page; pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
name
type
description
qrequired
string
Keywords, e.g. dress. Example: dress
country
US | GB | CA | AU | IN | AE | SA | ES | DE | FR | IT | NL | PT | PL | TR | MX | BR | JP
Market: US (default), GB, CA, AU, IN, AE, SA, ES, DE, FR, IT, NL, PT, PL, TR, MX, BR, JP.
language
en | local
en (default) for English names, or local for the market's own language.
section
WOMAN | MAN | KID | HOME
WOMAN, MAN, KID or HOME.
sort
relevance | price_asc | price_desc
relevance (default), price_asc, price_desc.
filter
string
Facet filters from the response's facets[].values[].filter, comma-separated (up to 8), e.g. color_facet:black.
page
integer
Page number (up to 40). Pass next_page from the previous response.
import os, requests
res = requests.get(
"https://api.api.sh/zara/v1/search",
params={"q": "dress"},
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/zara/v1/search");
url.searchParams.set("q", "dress");
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).
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.