article_codestringобязательно
10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints.
https://api.sandbase.ai/v1/api/hm/size-guideReturn the H&M size guide shown on a product page: measurement tables (chest, waist, hip, inside leg, etc.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Return the H&M size guide shown on a product page: measurement tables (chest, waist, hip, inside leg, etc.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "hm/size-guide", "article_code": "1353272003"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
article_code | string | Yes | 10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints. |
locale | string | No | Storefront locale in <language>_<country> form controlling the language and size systems of the guide. Verified values: 'en_us' (US sizes, inch and cm) and 'ko_kr' (Korean text and KR sizes). Other H&M storefront locales |
Flat $0.03 per call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/hm/size-guide" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"locale": "en_us"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
article_codestringобязательно10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints.
localestringStorefront locale in <language>_<country> form controlling the language and size systems of the guide. Verified values: 'en_us' (US sizes, inch and cm) and 'ko_kr' (Korean text and KR sizes). Other H&M storefront locales are forwarded unverified.
По умолчанию: "en_us"
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
H&M Size GuideЭтот API H&M | $0.03 за запрос | JSON |
H&M | $0.03 за запрос | JSON |
H&M | $0.03 за запрос | JSON |
H&M | $0.03 за запрос | JSON |
H&M | $0.03 за запрос | JSON |
H&M | $0.03 за запрос | JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/hm/size-guide, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.03 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: article_code (string). Необязательные: locale (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).
Нет. H&M Size Guide работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API H&M.