Endpoint Playground
Test Crawlora's Get an H&M product's related items API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/hm/product/<product_id>/related" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| product_id (path) | string | Yes | Numeric H&M product id, from a listing/search result's id field |
{
"code": 200,
"data": {
"fetched_at": "sample",
"lists": [
{
"label": "sample",
"products": [
{
"availability": "sample",
"brand": "sample",
"category_code": "sample",
"colors": [
{
"article_id": "sample-id",
"color_code": "sample",
"image_url": "https://example.com/resource",
"name": "sample",
"url": "https://example.com/resource"
}
],
"coming_soon": true,
"currency": "sample",
"formatted_price": "sample",
"id": "sample-id",
"image_url": "https://example.com/resource",
"model_image_url": "https://example.com/resource",
"name": "sample",
"new_arrival": true,
"price": 1.23,
"sizes": [
{
"id": "sample-id",
"label": "sample",
"stock": 1
}
],
"url": "https://example.com/resource"
}
]
}
],
"product_id": "sample-id",
"source_url": "https://example.com/resource"
},
"msg": "OK"
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns every product-detail recommendation list H&M's own app shows for one product (which lists are present genuinely varies by product -- for example "more from series" and "style with" appear only when the product has one, while "alternatives" and "upsell" are more consistently present). An unrecognized product_id returns a well-formed empty result rather than an error.
{
"code": 200,
"data": {
"fetched_at": "sample",
"lists": [
{
"label": "sample",
"products": [
{
"availability": "sample",
"brand": "sample",
"category_code": "sample",
"colors": [
{
"article_id": "sample-id",
"color_code": "sample",
"image_url": "https://example.com/resource",
"name": "sample",
"url": "https://example.com/resource"
}
],
"coming_soon": true,
"currency": "sample",
"formatted_price": "sample",
"id": "sample-id",
"image_url": "https://example.com/resource",
"model_image_url": "https://example.com/resource",
"name": "sample",
"new_arrival": true,
"price": 1.23,
"sizes": [
{
"id": "sample-id",
"label": "sample",
"stock": 1
}
],
"url": "https://example.com/resource"
}
]
}
],
"product_id": "sample-id",
"source_url": "https://example.com/resource"
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/hm/product/<product_id>/related" \
-H "x-api-key: $CRAWLORA_API_KEY"