Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIZalando

    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.

    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; what a run costs is in Usage and units.

    Inputs

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

    Inputs of zalando.search
    FieldTypeDescription
    querystringWords 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"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".
    urlstringInstead 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.
    pageintegerThe 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.

    Record fields of zalando.search
    FieldTypeNotes
    positionintegerThe product's place in the whole catalogue in Zalando's order, from 1: 85 is the first product of page 2.
    pageintegerThe catalogue page the product is on, from 1.
    skustringZalando's code of the product in this colour, e.g. OS322T0PD-M11: the end of its page's address.
    namestringThe product's name as the card writes it, with the kind of product and the colour.
    brandstring or nullThe brand.
    urlstringThe product's page.
    pricenumber or nullThe price the card shows, a sale price where there is one.
    original_pricenumber or nullThe price before the reduction, where the card shows one beside the sale price.
    currencystring or nullThe currency of the prices, e.g. GBP, EUR.
    flagsarray of stringThe labels on the card as the site writes them, e.g. New, Bestseller, or the size of a reduction.
    sizesarray of stringThe sizes the card lists as available.
    imagestring or nullThe card's picture.
    total_resultsinteger or nullHow many products the catalogue holds in all, the same on every record of a run.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    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/"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("zalando.search", {
        "url": "https://www.zalando.co.uk/mens-clothing-jackets/",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("zalando.search", {
      url: "https://www.zalando.co.uk/mens-clothing-jackets/",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "zalando.search", map[string]any{"url": "https://www.zalando.co.uk/mens-clothing-jackets/"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("zalando.search", Map.of("url", "https://www.zalando.co.uk/mens-clothing-jackets/"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run zalando.search --input url=https://www.zalando.co.uk/mens-clothing-jackets/

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Zalando scrapers are in their own section there.