H&M

List H&M countries and languages

List the countries H&M sells in, with their region and the languages of each site.

GET/v1/hm/countries
1credit
x-api-keystringheader

API key (`sfk_...`)

Response fields
19

Endpoint-specific response payload.

datalookupStatus
string

Always `found`.

one of: found, not_found

datatotalCount
integer

Countries listed.

Every H&M country.

datacountries[]code
string

Two-letter country code, e.g. `GB`.

datacountries[]name
string

Country name in English.

datacountries[]region
stringnullable

Region, e.g. `Europe`.

Languages the country's site comes in.

datacountries[]languages[]code
string

Two-letter language code, e.g. `fr`.

datacountries[]languages[]locale
string

H&M's name for the site, e.g. `fr_ch`.

datacountries[]languages[]label
stringnullable

The site's name as H&M shows it, e.g. `Suisse`.

datacountries[]languages[]onlineStore
booleannullable

Whether H&M runs an online store in this language, so categories and search work for it; null when it could not be checked.

datacountries[]onlineStore
booleannullable

Whether H&M runs an online store in this country in any language; null when it could not be checked.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/hm/countries" \
  -H "x-api-key: YOUR_API_KEY"

Responses

The countries and languages H&M sells in.