Endpoint Playground
Test Crawlora's Get H&M search-box suggestions 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/search/suggestions" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | No | Free-text search-box input; omit or leave empty for trending/popular searches instead |
{
"code": 200,
"data": {
"blocked": true,
"content_suggestions": [
{
"content_type": "sample",
"deep_link": "https://example.com/resource",
"image_url": "https://example.com/resource",
"link": "https://example.com/resource",
"title": "sample"
}
],
"fetched_at": "sample",
"phrase_suggestions": [
"sample"
],
"popular_searches": [
{
"content_type": "sample",
"deep_link": "https://example.com/resource",
"image_url": "https://example.com/resource",
"link": "https://example.com/resource",
"title": "sample"
}
],
"query": "sample",
"search_history": [
"sample"
],
"source_url": "https://example.com/resource",
"trending_searches": [
"sample"
]
},
"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 H&M's own search-box typeahead suggestions, sourced from the same credential-free app-backend host as hm-listing/hm-search. When query is given, returns spelling-complete phrase suggestions and merchandised content results. When query is omitted or empty, instead returns trending searches and popular-search shortcuts (phrase/content suggestions are both empty in that mode). search_history is part of the real upstream response but confirmed NOT session-scoped -- it returned the identical list across separate cookie-free requests, so treat it as fixed default content rather than a real per-caller history.
{
"code": 200,
"data": {
"blocked": true,
"content_suggestions": [
{
"content_type": "sample",
"deep_link": "https://example.com/resource",
"image_url": "https://example.com/resource",
"link": "https://example.com/resource",
"title": "sample"
}
],
"fetched_at": "sample",
"phrase_suggestions": [
"sample"
],
"popular_searches": [
{
"content_type": "sample",
"deep_link": "https://example.com/resource",
"image_url": "https://example.com/resource",
"link": "https://example.com/resource",
"title": "sample"
}
],
"query": "sample",
"search_history": [
"sample"
],
"source_url": "https://example.com/resource",
"trending_searches": [
"sample"
]
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/hm/search/suggestions" \
-H "x-api-key: $CRAWLORA_API_KEY"