Skip to main content
GET
Hm Categories
Read the navigation tree embedded in H&M’s public US site. This endpoint takes no query parameters; it currently returns the en_us market only. categories preserves the source department hierarchy. Each node has its source id, name, children, tracking label and path. Clickable entries have kind: "link", a relative href and absolute url. Group headings have kind: "group" with null links. hidden and inactive retain the source flags; missing flags remain null. total_nodes includes links and headings throughout the returned tree. Promotional categories may change between fetches. This is reference taxonomy, not a product listing or stock report. The store locator’s navigation does not supply the separate stores endpoint. Source identity, market, unique node IDs, tree depth and response size are validated. Malformed or blocked pages return an error without net SocialQuery charge. Cached responses and idempotent replays are free. SocialQuery retrieves this public HTML through its configured Firecrawl provider, using a fresh basic scrape. Direct requests from Vercel failed the initial production check and are not used by the deployed adapter. Source trial capacity remains finite.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Response

Live H&M US website navigation tree, preserving department hierarchy, non-clickable group headings, tracking labels, and source hidden/inactive flags. No query parameters; only en_us is available. Promotional links may change. This returns reference taxonomy, not product listings or stock. Invalid, blocked or incomplete source structure fails without net customer charge.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.