Skip to content

About

Zalando Scraper API by Piloterr: product, search data from Zalando as structured JSON. Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zalando Scraper API by Piloterr – scrape Zalando data as JSON

Zalando Scraper API

Discord Get API key API docs License: MIT

The Piloterr Zalando Scraper API lets you extract public data from Zalando as clean, structured JSON — no proxies, headless browsers or HTML parsing to maintain. Endpoints available in production:

  • Zalando Product API — Read a Zalando product page.
  • Zalando Search API — Search a Zalando country shop.

Use it for price monitoring, assortment tracking, competitor analysis, product research or catalog enrichment.

Endpoint Path Credits What you get
Zalando Product API /v2/zalando/product 1 Read a Zalando product page. The shop and the currency follow the URL host.
Zalando Search API /v2/zalando/search 1 Search a Zalando country shop. region is the host suffix (at, be, bg, ch, co.uk, cz, de, dk, ee, es, fi, fr, gr, hr, hu, ie, it, lt, lu, lv, nl, no, pl, pt, ro, se, si, sk). A keyword opens that shop. A full URL keeps its host.

Table of contents

How it works

  1. Create a free Piloterr account and copy your API key from the dashboard.
  2. Send a GET (or POST) request to https://api.piloterr.com/v2/... with the header x-api-key: YOUR_API_KEY.
  3. Receive structured JSON — Piloterr handles rendering, proxies, retries and parsing.
export PILOTERR_API_KEY="your-api-key"
pip install requests        # Python
# TypeScript: Node.js 18+ (native fetch), run with `npx tsx file.ts`

Every endpoint accepts both GET (query string) and POST (JSON body with the same fields).

Zalando Product API

Read a Zalando product page. The shop and the currency follow the URL host.

GET | POST https://api.piloterr.com/v2/zalando/product · 1 credit per request · Full reference

Request parameters

Parameter Type Required Description
query string ✅ Zalando product URL ending in .html. The shop and the currency follow the host.
return_page_source boolean — Return the page HTML instead of the parsed product.

Python example

import json
import os
import requests

response = requests.get(
    "https://api.piloterr.com/v2/zalando/product",
    headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
    params={
        "query": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html",
    },
    timeout=120,
)
response.raise_for_status()
data = response.json()

print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])

TypeScript example

type ZalandoProduct = {
  id?: string;
  url?: string;
  name?: string;
  brand?: string;
  color?: string;
  image?: string;
  price?: number;
  currency?: string;
  variants?: {
    sku?: string;
    size?: string;
    price?: number;
    in_stock?: boolean;
    price_display?: string;
    compare_at_price?: number;
    compare_at_price_display?: string;
  }[];
  price_display?: string;
  compare_at_price?: number;
  compare_at_price_display?: string;
};

const params = new URLSearchParams({
  "query": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html",
});

const response = await fetch(`https://api.piloterr.com/v2/zalando/product?${params}`, {
  headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);

const data = (await response.json()) as ZalandoProduct;

console.log(JSON.stringify(data, null, 2).slice(0, 2000));
POST variant
POST https://api.piloterr.com/v2/zalando/product
x-api-key: YOUR_API_KEY
Content-Type: application/json

{"query": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html"}

Output example

Example response from the API reference, abridged — real values depend on the page you scrape.

{
  "id": "NI112N022-A11",
  "url": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html",
  "name": "AIR FORCE 1 07 - Baskets basses - white",
  "brand": "Nike Sportswear",
  "color": "white",
  "image": "https://img01.ztat.net/article/spp-media-p1/ee262a4679a847f9bc32bf3433bb8cad/d43ed158aec14def8d94397b24152911.jpg?imwidth=1800&filter=pac…",
  "price": 83.95,
  "currency": "EUR",
  "variants": [
    {
      "sku": "NI112N022-A110060000",
      "size": "38.5",
      "price": 83.95,
      "in_stock": true,
      "price_display": "83,95 €",
      "compare_at_price": 119.95,
      "compare_at_price_display": "119,95 €"
    },
    {
      "sku": "NI112N022-A110160000",
      "size": "50.5",
      "price": 119.99,
      "in_stock": true,
      "price_display": "119,99 €"
    }
  ],
  "price_display": "83,95 €",
  "compare_at_price": 119.95,
  "compare_at_price_display": "119,95 €"
}

Response fields

Field Type Description
id string
url string
name string
brand string
color string
image string
price number
currency string
variants[] object[]
variants[].sku string
variants[].size string
variants[].price number
variants[].in_stock boolean
variants[].price_display string
variants[].compare_at_price number
variants[].compare_at_price_display string
price_display string
compare_at_price number
compare_at_price_display string

Zalando Search API

Search a Zalando country shop. region is the host suffix (at, be, bg, ch, co.uk, cz, de, dk, ee, es, fi, fr, gr, hr, hu, ie, it, lt, lu, lv, nl, no, pl, pt, ro, se, si, sk). A keyword opens that shop. A full URL keeps its host.

GET | POST https://api.piloterr.com/v2/zalando/search · 1 credit per request · Full reference

Request parameters

Parameter Type Required Description
query string ✅ Keyword or Zalando catalogue URL. A keyword is searched on the region shop. A full URL keeps its host. .co.uk /catalogue/ is read as /catalog/.
region string — Host suffix of the Zalando shop. A keyword opens www.zalando.{region} on that shop's catalogue path. A full URL keeps its host. One of at, be, bg, ch, co.uk, cz, de, dk, ee, es, fi, fr, gr, hr, hu, ie, it, lt, lu, lv, nl…
page number — Page number, starting at 1. Sent as p.
return_page_source boolean — Return the page HTML instead of the parsed results.

Python example

import json
import os
import requests

response = requests.get(
    "https://api.piloterr.com/v2/zalando/search",
    headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
    params={
        "query": "nike",
    },
    timeout=120,
)
response.raise_for_status()
data = response.json()

print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])

TypeScript example

type ZalandoSearch = {
  results?: {
    id?: string;
    url?: string;
    name?: string;
    brand?: string;
    image?: string;
    price?: number;
    currency?: string;
    price_display?: string;
    compare_at_price?: number;
    compare_at_price_display?: string;
  }[];
  pagination?: {
    next?: string;
    page?: number;
    per_page?: number;
    total_pages?: number;
    total_results?: number;
  };
};

const params = new URLSearchParams({
  "query": "nike",
});

const response = await fetch(`https://api.piloterr.com/v2/zalando/search?${params}`, {
  headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);

const data = (await response.json()) as ZalandoSearch;

console.log(JSON.stringify(data, null, 2).slice(0, 2000));
POST variant
POST https://api.piloterr.com/v2/zalando/search
x-api-key: YOUR_API_KEY
Content-Type: application/json

{"query": "nike"}

Output example

Example response from the API reference, abridged — real values depend on the page you scrape.

{
  "results": [
    {
      "id": "N1244D06L-A11",
      "url": "https://www.zalando.fr/nike-performance-everyday-cush-crew-3-pack-chaussettes-de-sport-whiteblack-n1244d06l-a11.html",
      "name": "EVERYDAY CUSH CREW 3 PACK UNISEX - Chaussettes de sport - white/black",
      "brand": "Nike Performance",
      "image": "https://img01.ztat.net/article/spp-media-p1/61af5ef973313caa84bd0eab4448c480/fa7bc32354504183b91b4485f5b1a515.jpg?imwidth=400",
      "price": 12,
      "currency": "EUR",
      "price_display": "12,00 €",
      "compare_at_price": 14.95,
      "compare_at_price_display": "14,95 €"
    },
    {
      "id": "NI112N022-A11",
      "url": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html",
      "name": "AIR FORCE 1 07 - Baskets basses - white",
      "brand": "Nike Sportswear",
      "price": 83.95,
      "currency": "EUR",
      "price_display": "83,95 €",
      "compare_at_price": 119.95,
      "compare_at_price_display": "119,95 €"
    }
  ],
  "pagination": {
    "next": "https://www.zalando.fr/nike/?p=2",
    "page": 1,
    "per_page": 24,
    "total_pages": 151,
    "total_results": 12634
  }
}

Response fields

Field Type Description
results[] object[]
results[].id string
results[].url string
results[].name string
results[].brand string
results[].image string
results[].price integer
results[].currency string
results[].price_display string
results[].compare_at_price number
results[].compare_at_price_display string
pagination object
pagination.next string
pagination.page integer
pagination.per_page integer
pagination.total_pages integer
pagination.total_results integer

Code examples in other languages

Ready-to-run examples live in the examples/ folder. Each one reads your key from the PILOTERR_API_KEY environment variable.

Language Product Search
cURL (Bash) product search
PHP product search
C# product search
Go product search
Java product search
Ruby product search
Node.js product search

Practical use cases

  • Price monitoring — Track prices, promotions and availability over time to react to competitors.
  • Assortment & catalog tracking — Follow new products, delisted items and category changes.
  • Competitor analysis — Benchmark ranges, brands and positioning across retailers.
  • Product research — Spot best-sellers and trends from search results.
  • Catalog enrichment — Pull titles, images and attributes into your PIM or marketplace listings.

Why Piloterr?

  • No infrastructure — no proxies, headless browsers or CAPTCHA solving to run yourself.
  • Structured JSON — stable, documented fields instead of brittle HTML selectors.
  • Pay per request — transparent credit cost per endpoint, failed requests are retried for you.
  • One API key, hundreds of sources — Zalando plus many other e-commerce, search and company data endpoints in the Piloterr library.
  • Any language — plain HTTPS + JSON, with examples for Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby and Node.js.

FAQ

Is it legal to scrape Zalando?

Collecting publicly available data is generally allowed in many jurisdictions, but rules depend on your country, the data you collect and how you use it. Avoid personal data unless you have a lawful basis, respect the website's terms where they apply, and get legal advice for your specific use case. This is not legal advice.

Do I need proxies or a headless browser?

No. Piloterr handles rendering, proxy rotation and retries on its side. You only send an HTTPS request with your x-api-key header and receive JSON.

How much does a request cost?

Credits per call: /v2/zalando/product 1, /v2/zalando/search 1. See the Piloterr website for plans.

What data does the Zalando API return?

Each endpoint returns structured JSON: Zalando Product — id, url, name, brand, color, image; Zalando Search — results[], results[].id, results[].url, results[].name, results[].brand, results[].image.

How do I paginate Zalando results?

Use the page parameter and keep requesting while the response indicates more results.

Can I target a specific country or language?

Yes, use region — see the parameter tables above for accepted values.

Can I get the raw HTML instead of JSON?

Yes. Set return_page_source=true and the response becomes {"result": "..."} with the page source.

Which languages are supported?

Any language that can make an HTTP request. This README shows Python and TypeScript; the examples/ folder contains cURL, PHP, C#, Go, Java, Ruby and Node.js.

Official SDKs

Use Piloterr from your own language with a typed client:

SDK Package Install
Node.js @piloterr/sdk npm install @piloterr/sdk
Python piloterr pip install piloterr
Go piloterr-go go get github.com/piloterr/piloterr-go
.NET Piloterr dotnet add package Piloterr
Ruby piloterr gem install piloterr
PHP piloterr/sdk composer require piloterr/sdk
Java piloterr-java build from source, see its README
CLI @piloterr/cli npm install -g @piloterr/cli
MCP server @piloterr/mcp npx -y @piloterr/mcp

Related scrapers

Support


Piloterr
Built by Piloterr — web scraping APIs for e-commerce, search, real estate and more, one API key.

Zalando is a trademark of its respective owner. This repository is not affiliated with or endorsed by Zalando. Examples are released under the MIT license.

About

Zalando Scraper API by Piloterr: product, search data from Zalando as structured JSON. Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors