# zalando.search

A page of Zalando's catalogue, for a search or a category on any of its country sites: each product's name, brand, prices, labels, sizes and picture.

Zalando search, one of the Zalando scrapers.

| | |
| --- | --- |
| Id | `zalando.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/zalando.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | no | Words to search for, e.g. `running shoes`. Limit: at least 1 characters, at most 200 characters. |
| `country` | "uk" \| "ie" \| "de" \| "at" \| "ch" \| "fr" \| "be" \| "nl" \| "it" \| "es" \| "pl" \| "cz" \| "se" \| "dk" \| "no" | no | The Zalando site to search, which sets the language, the currency and the range: uk, ie, de, at, ch, fr, be, nl, it, es, pl, cz, se, dk or no. Default: `"uk"`. |
| `url` | string | no | Instead of `query`: the address of a catalogue page on any Zalando site, e.g. https://www.zalando.co.uk/mens-clothing-jackets/, with its filters. Limit: at most 1000 characters. |
| `page` | integer | no | The catalogue page, from 1; the first, or the one `url` names, when not given. A page lists 84 products. Limit: 1 to 200. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | The product's place in the whole catalogue in Zalando's order, from 1: 85 is the first product of page 2. |
| `page` | integer | The catalogue page the product is on, from 1. |
| `sku` | string | Zalando's code of the product in this colour, e.g. `OS322T0PD-M11`: the end of its page's address. |
| `name` | string | The product's name as the card writes it, with the kind of product and the colour. |
| `brand` | string or null | The brand. |
| `url` | string | The product's page. |
| `price` | number or null | The price the card shows, a sale price where there is one. |
| `original_price` | number or null | The price before the reduction, where the card shows one beside the sale price. |
| `currency` | string or null | The currency of the prices, e.g. `GBP`, `EUR`. |
| `flags` | array of string | The labels on the card as the site writes them, e.g. `New`, `Bestseller`, or the size of a reduction. |
| `sizes` | array of string | The sizes the card lists as available. |
| `image` | string or null | The card's picture. |
| `total_results` | integer or null | How many products the catalogue holds in all, the same on every record of a run. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/zalando.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.zalando.co.uk/mens-clothing-jackets/"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "zalando.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.zalando.co.uk/mens-clothing-jackets/"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 5,
      "page": 1,
      "sku": "JA222T28R-K11",
      "name": "JJGALAXY PUFFER - Winter jacket - sky captain",
      "brand": "Jack & Jones",
      "url": "https://www.zalando.co.uk/jack-and-jones-jjgalaxy-puffer-winter-jacket-sky-captain-ja222t28r-k11.html",
      "price": 34.99,
      "original_price": null,
      "currency": "GBP",
      "flags": [
        "Top rated"
      ],
      "sizes": [
        "XS",
        "S",
        "L"
      ],
      "image": "https://img01.ztat.net/article/spp-media-p1/a7956b4ffe08432bbfd49def19812d69/777c49d803fb4fbfa5af49713201e30a.jpg?imwidth=500",
      "total_results": 6825,
      "fetched_at": "2026-11-19T18:18:55.362004Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `sizes`: 5 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Zalando scrapers](https://docs.enrichednow.com/results-and-statuses.md#zalando) are in their own section there.
