Skip to main content
POST
/
api
/
zalando
/
products
/
related
/zalando/products/related
curl --request POST \
  --url https://api.anysite.io/api/zalando/products/related \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@zalando_related_product",
    "name": "<string>",
    "brand": "<string>",
    "brand_alias": "<string>",
    "price": 123,
    "list_price": 123,
    "discount_percentage": 123,
    "currency": "<string>",
    "image": "<string>",
    "is_in_stock": true,
    "gender": "<string>",
    "is_sponsored": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Zalando product URL (a canonical product page address ending in -{config-sku}.html)

Minimum string length: 1
Example:

"https://www.zalando.de/nike-sportswear-court-borough-recraft-unisex-sneaker-low-white-ni116d0lr-a15.html"

count
integer
required

Max number of related products to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
reason
enum<string>
required
Available options:
cross_sell,
same_brand,
similar,
sponsored
@type
string
default:@zalando_related_product
name
string | null
brand
string | null
brand_alias
string | null
price
number | null
list_price
number | null
discount_percentage
number | null
currency
string | null
image
string | null
is_in_stock
boolean | null
gender
string | null
is_sponsored
boolean
default:false