> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Zalando API

> Search Zalando and read its product pages as JSON: ranked products with prices and brands, and each product's price, stock, images and options.

Search Zalando (zalando.de) and read its product pages through the async task API. Send `COMMERCE_SERP` with `site` `zalando` to get the products a search shows, in the store's order, or `COMMERCE_PRODUCT` with a product's `url` to read that product. A completed search or product page costs **0.5 credits**.

## Search

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "COMMERCE_SERP", "payload": { "site": "zalando", "query": "nike", "limit": 3 } }'
```

Submit the task, then poll `GET /v1/async/task/{id}` or receive its webhook. See [Async tasks](https://docs.querying.ai/concepts/async-tasks.md).

### Parameters

* `site`: Required. `zalando`.
* `query`: Required. The search query, 1-500 characters.
* `limit`: Optional integer from 1 to 40, default 20.
* `country`: Optional. Defaults to `DE`, the store's country. Any other country is rejected with `422 REGION_UNSUPPORTED`.

Only the payload fields listed above are accepted. Omit `include`: even `include: {}` returns `422 VALIDATION_ERROR` on `payload.include` before credits are held.

### Response example

```json theme={"theme":"css-variables"}
{
  "site": "zalando",
  "query": "nike",
  "country": "DE",
  "returnedCount": 3,
  "products": [
    {
      "rank": 1,
      "productId": "N1244D06L-A11",
      "title": "EVERYDAY CUSH CREW 3 PACK UNISEX - Sportsocken - white/black",
      "url": "https://www.zalando.de/nike-performance-everyday-cush-crew-3-pack-sportsocken-whiteblack-n1244d06l-a11.html",
      "price": 15.95,
      "currency": "EUR",
      "brand": "Nike Performance",
      "imageUrl": "https://img01.ztat.net/article/spp-media-p1/61af5ef973313caa84bd0eab4448c480/fa7bc32354504183b91b4485f5b1a515.jpg?imwidth=400"
    },
    {
      "rank": 2,
      "productId": "N1244D06O-A11",
      "title": "EVERYDAY CUSH CREW UNISEX 6 PACK  - Sportsocken - white/black",
      "url": "https://www.zalando.de/nike-performance-everyday-cush-crew-6-pack-sportsocken-whiteblack-n1244d06o-a11.html",
      "price": 24.95,
      "currency": "EUR",
      "brand": "Nike Performance",
      "imageUrl": "https://img01.ztat.net/article/spp-media-p1/e24ad250e41232c4a42b081331c2fcd7/e00b72951afb48ff8b42756e760f4252.jpg?imwidth=400"
    },
    {
      "rank": 3,
      "productId": "NI111A0XD-A11",
      "title": "AIR FORCE 1 07 - Low-Top-Sneaker - white",
      "url": "https://www.zalando.de/nike-sportswear-air-force-1-sneaker-low-white-ni111a0xd-a11.html",
      "price": 119.95,
      "currency": "EUR",
      "brand": "Nike Sportswear",
      "imageUrl": "https://img01.ztat.net/article/spp-media-p1/54ebff14c74f4e55a760de6f09436896/99693223863b4d87871e6aada1547495.jpg?imwidth=400&filter=packshot"
    }
  ]
}
```

### Result fields

* `site`, `query` and `country` echo the request. `returnedCount` is the number of entries in `products`.
* Each product includes `rank`, `productId`, `title` and `url`. `productId` is the store's own product ID. `rank` follows the store's default order, and listings the store marks as sponsored are left out.
* `price`, `imageUrl` and `brand` appear when the results page shows them. `price` is a number in the product's `currency` (ISO 4217); when sizes are priced apart, it is the lowest one.
* Zalando shows no ratings or review counts.
* Each search returns products from the store's first results page, which lists up to 24 products.

## Product page

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "COMMERCE_PRODUCT", "payload": { "url": "https://www.zalando.de/nike-performance-everyday-cush-crew-3-pack-sportsocken-whiteblack-n1244d06l-a11.html" } }'
```

### Parameters

* `url`: Required. A product page on Zalando, up to 2,048 characters: `zalando.de/{name}-{sku}.html`. Product `url` values from a search work as they are. Parameters the result does not depend on, such as tracking codes, are dropped before the page is read.
* `country`: Optional. Defaults to `DE`, the page's country. Any other country is rejected with `422 REGION_UNSUPPORTED`.

Only the payload fields listed above are accepted. Omit `include`: even `include: {}` returns `422 VALIDATION_ERROR` on `payload.include` before credits are held.

### Response example

```json theme={"theme":"css-variables"}
{
  "site": "zalando",
  "country": "DE",
  "url": "https://www.zalando.de/nike-performance-everyday-cush-crew-3-pack-sportsocken-whiteblack-n1244d06l-a11.html",
  "productId": "N1244D06L-A11",
  "title": "EVERYDAY CUSH CREW 3 PACK UNISEX - Sportsocken - white/black",
  "brand": "Nike Performance",
  "price": 15.95,
  "currency": "EUR",
  "inStock": true,
  "images": [
    "https://img01.ztat.net/article/spp-media-p1/61af5ef973313caa84bd0eab4448c480/fa7bc32354504183b91b4485f5b1a515.jpg",
    "https://img01.ztat.net/article/spp-media-p1/480f49870743376eb712dd9cf34db2ca/d10b4cdbbab64d4eb2c7319457506442.jpg?filter=packshot"
  ],
  "description": "Nike Performance EVERYDAY CUSH CREW 3 PACK UNISEX - Sportsocken - white/black für 15,95 € (2026-11-18) Gratisversand für die meisten Bestellungen*",
  "options": [{ "name": "Size", "values": ["34-38", "38-42", "42-46", "46-50"] }],
  "categories": ["Damen", "Sport", "Bekleidung", "Socken"]
}
```

### Result fields

* `site`, `country`, `url` and `productId` identify the page. `url` is the page that was read, and `productId` matches the one a search returns.
* `title` is always present. `brand`, `price`, `currency`, `inStock`, `images`, `description`, `options` and `categories` appear when the page shows them.
* `price` is what a shopper pays as the page first shows it, before coupons and delivery, in `currency` (ISO 4217). `inStock` is the product's stock status.
* `images` lists up to 30 photos from the product's gallery, in page order.
* `description` is plain text with one line per paragraph, up to 10,000 characters; text that appears only inside images is not included. `description` is the short summary the store publishes for search engines.
* `options` lists up to 20 choices such as size or color, each with up to 100 `values`; the other fields describe the choice the page opens on. `categories` runs from the broadest category to the narrowest, up to 10 levels.

## Errors and billing

* A search that returns no products ends as a failed task.
* A product page the store answers with 404 or 410, such as a removed product, ends the task with `PAGE_UNAVAILABLE`, and the message carries the store's answer. When the store refuses the read with 403, 412, 429 or 435, the task waits and asks again for up to 6 minutes. Other failed reads, and a refusal that lasts longer, end with `ENGINE_NO_RESULT`.
* Only completed tasks are charged: 0.5 credits for a search or a product page.

## Related

* [All Commerce stores](https://docs.querying.ai/engines/overview.md#commerce)
* [Credits and limits](https://docs.querying.ai/concepts/credits-and-limits.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.